Pause action doesn't stop all services
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Designate Charm |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Running the "pause" action on designate units doesn't stop apache2 that listens on port 8991 which is used by haproxy to determine whether the service is up. As a result, haproxy on other units still ends up forwarding requests to the "paused" unit which results in errors and API unavailability, e.g. in the CLI client:
$ openstack zone list
Failed to contact the endpoint at https:/
Unknown
Steps to reproduce:
1. 3 designate units up and running, related to hacluster charm.
2. Pause one unit.
3. Send requests to designate VIP on port 9001 and observe haproxy.log on the unit with active VIP. It still tries to forward requests to the paused unit.
Workaround:
SSH into the paused unit and stop apache2:
$ sudo systemctl stop apache2
After that, haproxy on the remaining active units stops forwarding requests to the paused unit and the functionality is restored.
Channel: latest/stable
Revision: 60
Fix proposed to branch: master /review. opendev. org/c/openstack /charm- designate/ +/871841
Review: https:/