I found that keystone was using https endpoint configured with the relatioon:
vault:certificates keystone:certificates
While gnocchi was using http endpoint. I have added the relation with vault with:
juju add-relation vault:certificates gnocchi:certificates
and now I am able to complete the ceilometer-upgraade action:
$ juju run-action ceilometer/0 ceilometer-upgrade --wait unit-ceilometer-0: UnitId: ceilometer/0 id: "32" results: Stdout: "lxc\n2020-12-03 10:44:14.825 139161 DEBUG ceilometer.cmd.storage [-] Upgrading Gnocchi resource types upgrade /usr/lib/python3/dist-packages/ceilometer/cmd/storage.py:42\e[00m\nlxc\nactive\n" outcome: success, ceilometer-upgrade completed. status: completed timing: completed: 2020-12-03 10:44:30 +0000 UTC enqueued: 2020-12-03 10:44:06 +0000 UTC started: 2020-12-03 10:44:06 +0000 UTC
I found that keystone was using https endpoint configured with the relatioon:
vault:certificates keystone: certificates
While gnocchi was using http endpoint. I have added the relation with vault with:
juju add-relation vault:certificates gnocchi: certificates
and now I am able to complete the ceilometer-upgraade action:
$ juju run-action ceilometer/0 ceilometer-upgrade --wait cmd.storage [-] python3/ dist-packages/ ceilometer/ cmd/storage. py:42\e[ 00m\nlxc\ nactive\ n"
unit-ceilometer-0:
UnitId: ceilometer/0
id: "32"
results:
Stdout: "lxc\n2020-12-03 10:44:14.825 139161 DEBUG ceilometer.
Upgrading Gnocchi resource types upgrade /usr/lib/
outcome: success, ceilometer-upgrade completed.
status: completed
timing:
completed: 2020-12-03 10:44:30 +0000 UTC
enqueued: 2020-12-03 10:44:06 +0000 UTC
started: 2020-12-03 10:44:06 +0000 UTC