port series upgrade hook fails if unit is paused
Bug #1861660 reported by
Liam Young
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Swift Proxy Charm |
Fix Released
|
High
|
Liam Young |
Bug Description
Following the series upgrade guide *1 results in post-series-upgrade hook failure because the unit is paused.
The upgrade guide recommend pausing the non-leader units. When the series upgrade of these units completes it tries to start all the services but they are masked from the earlier pause so it fails. In addition it tries to start haproxy even if the charm is related to hacluster which means it should not be managing haproxy stopping and starting
Changed in charm-swift-proxy: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Liam Young (gnuoy) |
milestone: | none → 20.02 |
Changed in charm-swift-proxy: | |
status: | Confirmed → In Progress |
Changed in charm-swift-proxy: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/705396 /git.openstack. org/cgit/ openstack/ charm-swift- proxy/commit/ ?id=bbc0e3dcd31 cf7df9c28981578 f565b46da2ca61
Committed: https:/
Submitter: Zuul
Branch: master
commit bbc0e3dcd31cf7d f9c28981578f565 b46da2ca61
Author: Liam Young <email address hidden>
Date: Mon Feb 3 09:25:58 2020 +0000
Unmask services during post-series-upgrade
If a unit is paused then its services will not start during the series- upgrade hook. In addition exclude haproxy from the list
post-
of services to start if it is being managed by hacluster.
Closes-Bug: #1861660 0b50dcacd1940e9 1d3cff26298
Change-Id: I5f72f5507b9ed4