Charm incorrectly passes PosixPath('/etc/ceph/ceph-dashboard') as parameter to set-ssl-certificate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Dashboard Charm |
Incomplete
|
Undecided
|
Unassigned | ||
Quincy.2 |
New
|
Undecided
|
Unassigned | ||
Reef |
New
|
Undecided
|
Unassigned |
Bug Description
When running ./hooks/install or ./certificates-
Unit Workload Agent Machine Public address Ports Message
ceph-mon/0 active idle 1/lxd/1 10.0.1.107 Unit is ready and clustered
ceph-dashboard/1 error idle 10.0.1.107 hook failed: "certificates-
landscape-
logrotated/24 active idle 10.0.1.107 Unit is ready.
prometheus-
ubuntu-
I got error, as the charm code incorrectly passes the path to certificate as PosixPath object representation
root@juju-
...
subprocess.
crt')]' returned non-zero exit status 5.
The config is as follows:
ceph-dashboard:
bindings:
? ''
: oam-space
certificates: internal-space
channel: quincy/stable
charm: ceph-dashboard
options:
grafana-
The version of the charm is ceph-dashboard rev 50 in quincy/stable branch. Released on 7th Dec 2023.
Python version is Python 3.10.12.
Thanks @mastier1 for that report. Do you happen to have the full traceback around?
TIA