)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":38562,"name":"Richard Cruise","email":"rcruise@redhat.com","username":"rcruise"},"change_message_id":"f60bb255326aa3bab9d9e7be0e87e4b2aad279b7","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"e4d80dac_1ca0ae10","updated":"2025-11-13 14:58:53.000000000","message":"Copied the changes to Devstack and restarted Octavia Healthmonitor\n\nTested the changes in Devstack using the following steps\n\n1. Untag the amphora image so a failover will fail\n   - `openstack image unset --tag amphora amphora-x64-haproxy`\n2. SSH to an amphora and trigger a shutdown (NOTE: Failover via Openstack CLI will not log messages in Healthmonitor)\n   - `ssh -i /etc/octavia/.ssh/octavia_ssh_key ubuntu@192.168.0.61`\n   - `sudo shutdown now`\n3. Observe health monitor logs to ensure the correct messages were logged\n   - `sudo journalctl -lfu devstack@o-hm`\n4. Retag the amphora image and perform a manual failover to restore amphora\n   - `openstack image set --tag amphora amphora-x64-haproxy`\n   - `openstack loadbalancer failover lb2`\n\nExpected result: \n\n  - Log messages around Failed/Cancelled/Successful failovers were not logged\n\nActual result: \n\n  - As expected\n  - Interesting note, count of failed failovers never increased despite failover failing. This is probably a side effect of the statistics being misleading to begin with\n\nOriginal log output\n-------------------\n```\nNov 13 14:05:54 rcruise-dev1 octavia-health-manager[308677]: INFO octavia.controller.healthmanager.health_manager [-] Attempted 1 failovers of amphora\nNov 13 14:05:54 rcruise-dev1 octavia-health-manager[308677]: INFO octavia.controller.healthmanager.health_manager [-] Failed at 0 failovers of amphora\nNov 13 14:05:54 rcruise-dev1 octavia-health-manager[308677]: INFO octavia.controller.healthmanager.health_manager [-] Cancelled 0 failovers of amphora\nNov 13 14:05:54 rcruise-dev1 octavia-health-manager[308677]: INFO octavia.controller.healthmanager.health_manager [-] Successfully completed 1 failovers of amphora\n\n```\n\nUpdated log output\n------------------\n```\nNov 13 14:39:48 rcruise-dev1 octavia-health-manager[2566453]: INFO octavia.controller.healthmanager.health_manager [-] Attempted 1 failovers of amphora\n\n```","commit_id":"f82518e92db7928e57fb44f5b52a38515c99d05b"}]}
