subprocess.CalledProcessError: Command '['/usr/bin/rsync', '-r', '--delete', '--executability', 'files/ocf/maas/maas_stonith_plugin.py', '/usr/li b/stonith/plugins/external/maas']' returned non-zero exit status 3.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack HA Cluster Charm |
Fix Committed
|
High
|
Unassigned |
Bug Description
When deploying hacluster on jammy the following error is raised when trying to install the stonith plugins:
unit-hacluster-0: 20:31:43 INFO unit.hacluster/
unit-hacluster-0: 20:31:43 INFO unit.hacluster/
unit-hacluster-0: 20:31:43 INFO unit.hacluster/
unit-hacluster-0: 20:31:43 INFO unit.hacluster/
unit-hacluster-0: 20:31:43 INFO unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
unit-hacluster-0: 20:31:43 WARNING unit.hacluster/
b/stonith/
Changed in charm-hacluster: | |
importance: | Undecided → High |
The directory /usr/lib/ stonith/ plugins/ external is not present in a jammy environment, while it is in a focal one, the directory is created by the installation of the package cluster-glue which gets pulled into the system when corosync and others are installed, here it is the apt log for a focal system
Commandline: apt-get --assume-yes --option= Dpkg::Options: :=--force- confold install crmsh corosync pacemaker ipmitool libmonitoring- plugin- perl python3- requests- oauthlib python3-libmaas 3-200:amd64 (3.4.0-1, automatic), resource- agents: amd64 (1:4.5. 0-2ubuntu2. 2, automatic), libcmap4:amd64 (3.0.3-2ubuntu2.1, automatic), libb-hooks- op-check- perl:amd64 (0.22-1build2, automatic), python3- argcomplete: amd64 (1.8.1-1.3ubuntu1, automatic), python3- async-timeout: amd64 (3.0.1-1, automatic), libmodule- runtime- perl:amd64 (0.016-1, automatic), libmath- calc-units- perl:amd64 (1.07-2, automatic), libparams- validate- perl:amd64 (1.29-3, automatic), python3- terminaltables: amd64 (3.1.0-3, automatic), libxml2-utils:amd64 (2.9.10+ dfsg-5ubuntu0. 20.04.2, automatic), openhpid:amd64 (3.8.0-2build4, automatic), pacemaker:amd64 (2.0.3-3ubuntu4.3), python3- parallax: amd64 (1.0.5-1, automatic), libqb-dev:amd64 (1.0.5-1, automatic), python3- macaroonbakery: amd64 (1.3.1-1, automatic), libfreeipmi17:amd64 (1.6.4-3ubuntu1.1, automatic), python3- pymongo- ext:amd64 (3.10.1-0ubuntu2, automatic), libtry- tiny-perl: amd64 (0.30-1, automatic), pacemaker- resource- agents: amd64 (2.0.3-3ubuntu4.3, automatic), libcib27:amd64 (2.0.3-3ubuntu4.3, automatic), libcrmcommon34: amd64 (2.0.3-3ubuntu4.3, automatic), libdevel- callchecker- perl:amd64 (0.008-1ubuntu1, automatic), python3- libmaas: amd64 (0.6.4-0ubuntu1), libquorum5:amd64 (3.0.3-2ubuntu2.1, automatic), python3- protobuf: amd64 (3.6.1.3-2ubuntu5, automatic), libsnmp-base:amd64 (5.8+dfsg- 2ubuntu2. 3, automatic), freeipmi- common: amd64 (1.6.4-3ubuntu1.1, automatic), libmodule- implementation- perl:amd64 (0.09-1, automatic), python3- colorclass: amd64 (2.2.0-2, automatic), liblrm2:amd64 (1.0.12-15, automatic), libcrmservice28 :amd64 (2.0.3-3ubuntu4.3, automatic), libqb0:amd64 (1.0.5-1, automatic), net-tools:amd64 (1.60+git201806 26.aebd88e- 1ubuntu1, automatic), python3- pymongo: amd64 (3.10.1-0ubuntu2, automatic), libdynaloader- functions- perl:amd64 (0.003-1, automatic), libstonithd26:amd64 (2.0.3-3ubuntu4.3, automatic), ipmitool:amd64 (1.8.18-8), libconfig- tiny-perl: amd64 (2.24-1, automatic), libplumb2:amd64 (1.0.12-15, automatic), libnet1:amd64 (1.1.6+ dfsg-3. 1build1, automatic), python3- requests- oauthlib: amd64 (1.0.0-1.1build1), libparams- classify- perl:amd64 (0.015-1build2, automatic), libsnmp35:amd64 (5.8+dfsg- 2ubuntu2. 3, automatic), libstatgrab10:amd64 (0.92-2, automatic), libplumbgpl2:amd64 (1.0.12-15, automatic), libsub- name-perl: amd64 (0.26-1, automatic), python3- multidict: amd64 (4.7.3-1build1, automatic), libvotequorum8: amd64 (3.0.3-2ubuntu2.1, automatic), libnl-3-200:amd64 (3.4.0-1, automatic), crmsh:amd64 (4.2.0-2ubuntu1), python3- bson-ext: amd64 (3.10.1-0ubuntu2, automatic), python3- aiohttp: amd64 (3.6.2-1build1, automatic), python3-yarl:amd64 (1.4.2-2...
Install: corosync:amd64 (3.0.3-2ubuntu2.1), libnozzle1:amd64 (1.15-1ubuntu1, automatic), libnl-route-