[Bug 1825843] Fix merged to charm-ceph-radosgw (stable/19.04)

OpenStack Infra 1825843 at bugs.launchpad.net
Wed May 1 14:47:30 UTC 2019


Reviewed:  https://review.opendev.org/655913
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-radosgw/commit/?id=e034d5e18681fc2952093afe20a78d202ed5be62
Submitter: Zuul
Branch:    stable/19.04

commit e034d5e18681fc2952093afe20a78d202ed5be62
Author: Pete Vander Giessen <pete.vandergiessen at canonical.com>
Date:   Wed Apr 24 09:39:26 2019 -0400

    Fix spurious nagios alerts for radosgw service.
    
    Currently, when the charm tears down the default radosgw daemon in
    order to make way for per host daemons, it does not remove the nrpe
    check for the daemon. This PR fixes the issue.
    
    It also closes a gap where alerts for the per host daemons are not
    setup until a hook that happens to call update_nrpe_checks as a
    side-effect is run.
    
    Change-Id: I7621b9671b010a77bb3e94bdd1e80f45274c73e5
    Closes-Bug: #1825843
    (cherry picked from commit ff90c0f058073292739bab33309d700d9bcfc4c6)

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1825843

Title:
  systemd issues with bionic-rocky causing nagios alert and can't
  restart daemon

Status in OpenStack ceph-radosgw charm:
  Fix Committed
Status in ceph package in Ubuntu:
  Invalid

Bug description:
  During deployment of a bionic-rocky cloud on 19.04 charms, we are
  seeing an issue with the ceph-radosgw units related to the systemd
  service definition for radosgw.service.

  If you look through this pastebin, you'll notice that there is a
  running radosgw daemon and the local haproxy unit thinks all radosgw
  backend services are available (via nagios check), but systemd can't
  control radosgw properly (note that before a restart with systemd,
  systemd just showed the unit as loaded inactive, however, it now shows
  active exited, but that did not actually restart the radosgw service.

  https://pastebin.ubuntu.com/p/Pn3sQ3zHXx/

  charm: cs:ceph-radosgw-266
  cloud:bionic-rocky
   *** 13.2.4+dfsg1-0ubuntu0.18.10.1~cloud0 500
          500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky/main amd64 Packages

  ceph-radosgw/0                    active    idle   18/lxd/2  10.20.175.60    80/tcp                                   Unit is ready
    hacluster-radosgw/2             active    idle             10.20.175.60                                             Unit is ready and clustered
  ceph-radosgw/1                    active    idle   19/lxd/2  10.20.175.48    80/tcp                                   Unit is ready
    hacluster-radosgw/1             active    idle             10.20.175.48                                             Unit is ready and clustered
  ceph-radosgw/2*                   active    idle   20/lxd/2  10.20.175.25    80/tcp                                   Unit is ready
    hacluster-radosgw/0*            active    idle             10.20.175.25                                             Unit is ready and clustered

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceph-radosgw/+bug/1825843/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list