stonith resources in a single node cluster are always stopped

Bug #1771648 reported by Michele Baldessari on 2018-05-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-pacemaker
Undecided
Michele Baldessari

Bug Description

On single node clusters puppet stonith should not create the location constraint to avoid the same host, otherwise the stonith resource will always be stopped:
Online: [ overcloud-controller-0 ]
RemoteOnline: [ overcloud-novacomputeiha-0 ]
GuestOnline: [ galera-bundle-0@overcloud-controller-0 rabbitmq-bundle-0@overcloud-controller-0 redis-bundle-0@overcloud-controller-0 ]

Full list of resources:

 overcloud-novacomputeiha-0 (ocf::pacemaker:remote): Started overcloud-controller-0
 Docker container: rabbitmq-bundle [192.168.24.1:8787/rhosp13/openstack-rabbitmq:pcmklatest]
   rabbitmq-bundle-0 (ocf::heartbeat:rabbitmq-cluster): Started overcloud-controller-0
 Docker container: galera-bundle [192.168.24.1:8787/rhosp13/openstack-mariadb:pcmklatest]
   galera-bundle-0 (ocf::heartbeat:galera): Master overcloud-controller-0
 Docker container: redis-bundle [192.168.24.1:8787/rhosp13/openstack-redis:pcmklatest]
   redis-bundle-0 (ocf::heartbeat:redis): Master overcloud-controller-0
 ip-192.168.24.10 (ocf::heartbeat:IPaddr2): Started overcloud-controller-0
 ip-10.0.0.101 (ocf::heartbeat:IPaddr2): Started overcloud-controller-0
 ip-172.17.1.14 (ocf::heartbeat:IPaddr2): Started overcloud-controller-0
 ip-172.17.1.12 (ocf::heartbeat:IPaddr2): Started overcloud-controller-0
 ip-172.17.3.18 (ocf::heartbeat:IPaddr2): Started overcloud-controller-0
 ip-172.17.4.14 (ocf::heartbeat:IPaddr2): Started overcloud-controller-0
 Docker container: haproxy-bundle [192.168.24.1:8787/rhosp13/openstack-haproxy:pcmklatest]
   haproxy-bundle-docker-0 (ocf::heartbeat:docker): Started overcloud-controller-0
 stonith-fence_compute-fence-nova (stonith:fence_compute): Stopped
 Clone Set: compute-unfence-trigger-clone [compute-unfence-trigger]
     Stopped: [ overcloud-controller-0 overcloud-novacomputeiha-0 ]
 nova-evacuate (ocf::openstack:NovaEvacuate): Started overcloud-controller-0
 stonith-fence_ipmilan-52540005a4af (stonith:fence_ipmilan): Stopped
 stonith-fence_ipmilan-525400116b29 (stonith:fence_ipmilan): Stopped

Changed in puppet-pacemaker:
assignee: nobody → Michele Baldessari (michele)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers