hacluster install hook failure due to /usr/lib/stonith/plugins/external no such file or directory

Bug #1987443 reported by Corey Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack HA Cluster Charm
In Progress
Undecided
Unassigned

Bug Description

As seen in the jammy-yoga gate failure here:

https://review.opendev.org/c/openstack/charm-ceph-nfs/+/850169

hacluster gets install hook failure due to:

ubuntu@juju-347552-zaza-3a3cc9a0c174-5:/var/lib/juju/agents/unit-hacluster-1/charm$ /usr/bin/rsync -r --delete --executability files/ocf/maas/maas_stonith_plugin.py /usr/lib/stonith/plugins/external/maas
rsync: [Receiver] change_dir#3 "/usr/lib/stonith/plugins/external" failed: No such file or directory (2)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(825) [Receiver=3.2.3]

/usr/lib/stonith/plugins/external doesn't exist.

This is fixed by installing the cluster-glue package.

$ apt-file search /usr/lib/stonith/plugins/external
cluster-glue: /usr/lib/stonith/plugins/external/drac5
cluster-glue: /usr/lib/stonith/plugins/external/dracmc-telnet
cluster-glue: /usr/lib/stonith/plugins/external/ec2
cluster-glue: /usr/lib/stonith/plugins/external/hetzner
cluster-glue: /usr/lib/stonith/plugins/external/hmchttp
cluster-glue: /usr/lib/stonith/plugins/external/ibmrsa
cluster-glue: /usr/lib/stonith/plugins/external/ibmrsa-telnet
cluster-glue: /usr/lib/stonith/plugins/external/ipmi
cluster-glue: /usr/lib/stonith/plugins/external/ippower9258
cluster-glue: /usr/lib/stonith/plugins/external/kdumpcheck
cluster-glue: /usr/lib/stonith/plugins/external/libvirt
cluster-glue: /usr/lib/stonith/plugins/external/nut
cluster-glue: /usr/lib/stonith/plugins/external/rackpdu
cluster-glue: /usr/lib/stonith/plugins/external/riloe
cluster-glue: /usr/lib/stonith/plugins/external/ssh
cluster-glue: /usr/lib/stonith/plugins/external/vcenter
cluster-glue: /usr/lib/stonith/plugins/external/vmware
cluster-glue: /usr/lib/stonith/plugins/external/xen0
cluster-glue: /usr/lib/stonith/plugins/external/xen0-ha
sbd: /usr/lib/stonith/plugins/external/sbd

description: updated
Revision history for this message
Felipe Reyes (freyes) wrote :

this is a duplicate of https://bugs.launchpad.net/charm-hacluster/+bug/1971841 , we are trying to get this backported at https://review.opendev.org/c/openstack/charm-hacluster/+/852577

the bundle pointed out is using hacluster from 2.4/edge - https://review.opendev.org/c/openstack/charm-ceph-nfs/+/850169/12/tests/bundles/jammy-yoga.yaml#31 - since this is the master branch of ceph-nfs, it should be using latest/edge channels for all the charms, only stable git branches should be pulling from non-latest channels.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-hacluster (master)
Changed in charm-hacluster:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on charm-hacluster (master)

Change abandoned by "Corey Bryant <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/charm-hacluster/+/854278
Reason: Fixed in https://review.opendev.org/c/openstack/charm-hacluster/+/840905

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.