Comment 35 for bug 1878548

Revision history for this message
Edward Hope-Morley (hopem) wrote :

Verified victoria-proposed with the following output:

$ apt-cache policy masakari-monitors-common
masakari-monitors-common:
  Installed: 10.0.0-0ubuntu1~cloud1
  Candidate: 10.0.0-0ubuntu1~cloud1
  Version table:
 *** 10.0.0-0ubuntu1~cloud1 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-proposed/victoria/main amd64 Packages
        100 /var/lib/dpkg/status
     9.0.0-0ubuntu0.20.04.1 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
     9.0.0~b3~git2020041013.e225e6d-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages

Tested fencing communication between a compute host and all masakari/corosync units e.g.

# do this on all masakari units
juju run -a masakari -- sudo iptables -I INPUT -p tcp -s 10.0.0.145 --sport 3121 -j REJECT

# then wait for compute host 10.0.0.145 to get rebooted
ubuntu@maas:~/stsstack-bundles/openstack$ openstack notification list
+--------------------------------------+----------------------------+--------+--------------+--------------------------------------+----------------------------------------------------------------------------+
| notification_uuid | generated_time | status | type | source_host_uuid | payload |
+--------------------------------------+----------------------------+--------+--------------+--------------------------------------+----------------------------------------------------------------------------+
| d8406e44-169e-4c70-b496-051827593c0e | 2023-12-02T14:12:35.000000 | new | COMPUTE_HOST | 6c48bfc2-0fd1-4f71-9392-986ab8e1b401 | {'event': 'STOPPED', 'cluster_status': 'OFFLINE', 'host_status': 'NORMAL'} |
+--------------------------------------+----------------------------+--------+--------------+--------------------------------------+----------------------------------------------------------------------------+

Only the single node was rebooted and no others.