charm fails hook "update-status" due to failed "set-ssl-certificate" command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Dashboard Charm |
New
|
Undecided
|
Unassigned |
Bug Description
In test run https:/
maas 3.3.4-13189-
juju 3.1.6
fce-container-image ubuntu:jammy
openstack yoga
charms yoga/candidate
ceph quincy/candidate
charmed-kubernetes 1.28
ceph-dashboard quincy/stable
the testrun fails because ceph-dashboard is in error status:
=======
ceph-mon/0 active idle 0/lxd/2 10.244.41.5 Unit is ready and clustered
ceph-dashboard/2 error idle 10.244.41.5 hook failed: "update-status"
filebeat/47 active idle 10.244.41.5 Filebeat ready.
logrotated/46 active idle 10.244.41.5 Unit is ready.
nrpe/53 active idle 10.244.41.5 5666/tcp icmp Ready
prometheus-
telegraf/47 active idle 10.244.41.5 9103/tcp Monitoring ceph-mon/0 (source version/commit 23.07)
ubuntu-
=======
In the ceph-dashboard logs we see that the set-ssl-certificate command failed:
=======
2023-10-08 13:17:07 DEBUG unit.ceph-
2023-10-08 13:17:07 DEBUG unit.ceph-
2023-10-08 13:17:07 DEBUG unit.ceph-
2023-10-08 13:17:07 DEBUG unit.ceph-
2023-10-08 13:17:07 DEBUG unit.ceph-
2023-10-08 13:17:13 DEBUG unit.ceph-
Key True,
Certs: True
2023-10-08 13:17:13 DEBUG unit.ceph-
2023-10-08 13:17:14 DEBUG unit.ceph-
2023-10-08 13:17:15 DEBUG unit.ceph-
2023-10-08 13:17:15 DEBUG unit.ceph-
2023-10-08 13:17:15 DEBUG unit.ceph-
2023-10-08 13:17:15 DEBUG unit.ceph-
2023-10-08 13:17:16 WARNING unit.ceph-
2023-10-08 13:17:16 ERROR unit.ceph-
Traceback (most recent call last):
File "/var/lib/
main(
File "/var/lib/
framework.
File "/var/lib/
self._reemit()
File "/var/lib/
custom_
File "/var/lib/
self.
File "/var/lib/
self.
File "/var/lib/
ceph_
File "/var/lib/
subprocess.
File "/usr/lib/
raise CalledProcessEr
subprocess.
=======
The logs don't show extra context on why this command failed, but exit status 5 indicates some kind of permission denied.
All the configs and logs can be found here: https:/
tags: | added: cdo-qa foundations-engine |