sunbeam cluster join turns into Error with 'Bootstrapping': Snap: 'openstack-hypervisor'; command ['snap', 'set', ' openstack-hypervisor', '-t', 'rabbitmq.url=null'] failed with output = ''
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
Triaged
|
Medium
|
Unassigned | ||
Sunbeam Charms |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
$ snap list openstack
Name Version Rev Tracking Publisher Notes
openstack 2024.1 503 2024.1/edge canonical✓ -
It's eventually getting fine after some time so it shouldn't be critical, but it errors out during the join process. It looks like the charm tries to set "null" to rabbitmq.url and it tries to run the command even efore the snap to get ready to accept commands.
$ sunbeam cluster join --role control --role compute --role storage --token eyJuYW1lIjoic3V
$ juju status -m controller
...
openstack-
unit-openstack-
unit-openstack-
unit-openstack-
unit-openstack-
unit-openstack-
unit-openstack-
unit-openstack-
openstack-
unit-openstack-
File "/var/lib/
return subprocess.
File "/usr/lib/
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/
raise CalledProcessEr
subprocess.
$ sudo snap set openstack-
error: snap "openstack-
no longer affects: | sunbeam-charms |
Changed in snap-openstack: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in sunbeam-charms: | |
status: | Triaged → In Progress |
Changed in snap-openstack: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in sunbeam-charms: | |
status: | In Progress → Fix Committed |
$ juju show-status-log openstack- hypervisor/ 1 --days 1
...
16 May 2024 08:49:27Z juju-unit executing running start hook credentials- relation- changed hook ca-cert- relation- joined hook for cert-distributor/0 ca-cert- relation- changed hook for cert-distributor/0 relation- changed hook relation- joined hook for ovn-relay/0 relation- joined hook for nova/0 changed hook joined hook for rabbitmq/0 changed hook for rabbitmq/0 hypervisor' ; command ['snap', 'set', 'openstack- hypervisor' , '-t', 'rabbitmq. url=null' ] failed with output = '' relation- changed hook for nova/0 relation- changed hook for ovn-relay/0 relation- changed hook relation- changed hook relation- joined hook for cinder-ceph/0 relation- changed hook for cinder-ceph/0 credentials- relation- joined hook for keystone/0
16 May 2024 08:49:48Z juju-unit executing running identity-
16 May 2024 08:50:16Z juju-unit executing running receive-
16 May 2024 08:50:38Z juju-unit executing running receive-
16 May 2024 08:51:06Z juju-unit executing running nova-service-
16 May 2024 08:51:34Z juju-unit executing running ovsdb-cms-
16 May 2024 08:51:55Z juju-unit executing running nova-service-
16 May 2024 08:52:15Z juju-unit executing running amqp-relation-
16 May 2024 08:52:43Z juju-unit executing running amqp-relation-
16 May 2024 08:53:04Z juju-unit executing running amqp-relation-
16 May 2024 08:55:08Z workload blocked (workload) Error in charm (see logs): Snap: 'openstack-
16 May 2024 08:55:09Z juju-unit executing running nova-service-
16 May 2024 08:56:40Z juju-unit executing running ovsdb-cms-
16 May 2024 08:58:08Z juju-unit executing running ceph-access-
16 May 2024 08:59:49Z juju-unit executing running certificates-
16 May 2024 09:01:19Z juju-unit executing running ceph-access-
16 May 2024 09:01:40Z juju-unit executing running ceph-access-
16 May 2024 09:03:21Z juju-unit executing running identity-
16 May 2024 09:03:29Z workload active