Comment 7 for bug 1971841

Revision history for this message
Alan Baghumian (alanbach) wrote :

Was a charm including this fix ever released? I just encountered this exact same issue on Jammy:

2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 Traceback (most recent call last):
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 File "/var/lib/juju/agents/unit-ceph-dashboard-lb-hacluster-2/charm/hooks/install.real", line 763, in <module>
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 hooks.execute(sys.argv)
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 File "/var/lib/juju/agents/unit-ceph-dashboard-lb-hacluster-2/charm/charmhelpers/core/hookenv.py", line 962, in execute
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 self._hooks[hook_name]()
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 File "/var/lib/juju/agents/unit-ceph-dashboard-lb-hacluster-2/charm/hooks/install.real", line 171, in install
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 setup_ocf_files()
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 File "/var/lib/juju/agents/unit-ceph-dashboard-lb-hacluster-2/charm/hooks/utils.py", line 1143, in setup_ocf_files
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 rsync(
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 File "/var/lib/juju/agents/unit-ceph-dashboard-lb-hacluster-2/charm/charmhelpers/core/host.py", line 510, in rsync
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 return subprocess.check_output(cmd, stderr=subprocess.STDOUT).decode('UTF-8').strip()
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 File "/usr/lib/python3.10/subprocess.py", line 524, in run
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 raise CalledProcessError(retcode, process.args,
2023-07-25 00:40:29 WARNING unit.ceph-dashboard-lb-hacluster/2.install logger.go:60 subprocess.CalledProcessError: Command '['/usr/bin/rsync', '-r', '--delete', '--executability', 'files/ocf/maas/maas_stonith_plugin.py', '/usr/lib/stonith/plugins/external/maas']' returned non-zero exit status 3.
2023-07-25 00:40:29 ERROR juju.worker.uniter.operation runhook.go:140 hook "install" (via explicit, bespoke hook script) failed: exit status 1
2023-07-25 00:40:29 INFO juju.worker.uniter resolver.go:145 awaiting error resolution for "install" hook

ubuntu@juju-b096f0-88-lxd-1:~$ sudo dpkg -l | grep cluster-glue

ubuntu@juju-b096f0-88-lxd-1:~$ sudo dpkg -l | grep resource-agents
ii pacemaker-resource-agents 2.1.2-1ubuntu3.1 all cluster resource manager general resource agents
ii resource-agents-base 1:4.7.0-1ubuntu7.1 all Cluster Resource Agents curated by Ubuntu
ii resource-agents-common 1:4.7.0-1ubuntu7.1 amd64 Common files used by the Cluster Resource Agents

ubuntu@juju-b096f0-88-lxd-1:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Charm was deployed using:

$ juju deploy --series focal --channel 2.4/stable hacluster ceph-dashboard-lb-hacluster

The series parameter was forced by the fact that jammy is still not an option:

$ juju info hacluster
name: hacluster
publisher: OpenStack Charmers
summary: Corosync Cluster Engine - membership, messaging and quorum
description: |
  Corosync/Pacemaker
store-url: https://charmhub.io/hacluster
charm-id: BVNheXef1exOfCMnIeBV7KP901K2sXKM
supports: xenial, bionic, focal, groovy, hirsute, impish
subordinate: true
relations:
  provides:
    ha: hacluster
    nrpe-external-master: nrpe-external-master
  requires:
    juju-info: juju-info
    pacemaker-remote: pacemaker-remote
    peer-availability: juju-info
channels: |
  latest/stable: 83 2022-02-09 (83) 320kB
  latest/candidate: ↑
  latest/beta: ↑
  latest/edge: 118 2023-03-01 (118) 437kB
  2.4/stable: 120 2023-05-30 (120) 433kB
  2.4/candidate: ↑
  2.4/beta: ↑
  2.4/edge: ↑
  2.0.3/stable: 113 2022-10-04 (113) 430kB
  2.0.3/candidate: ↑
  2.0.3/beta: ↑
  2.0.3/edge: ↑
  1.1.18/stable: –
  1.1.18/candidate: –
  1.1.18/beta: –
  1.1.18/edge: 83 2022-03-04 (83) 320kB