On Fri, 2023-07-21 at 14:10 +0000, Alexandru Petcu wrote:
>
> [...]
> File "/var/lib/juju/agents/unit-placement-9/.venv/lib/python3.10/site-
> packages/charmhelpers/contrib/hahelpers/cluster.py", line 265, in determine_api_port
> if https():
> File "/var/lib/juju/agents/unit-placement-9/.venv/lib/python3.10/site-
> packages/charmhelpers/contrib/hahelpers/cluster.py", line 228, in https
> cert_utils.get_requests_for_local_unit("certificates")
> File "/var/lib/juju/agents/unit-placement-9/.venv/lib/python3.10/site-
> packages/charmhelpers/contrib/openstack/cert_utils.py", line 424, in get_requests_for_local_unit
> 'ca': data['ca'],
> KeyError: 'ca'
We fixed recently bug 2028683 which I believe is the same issue described here.
On Fri, 2023-07-21 at 14:10 +0000, Alexandru Petcu wrote: juju/agents/ unit-placement- 9/.venv/ lib/python3. 10/site- charmhelpers/ contrib/ hahelpers/ cluster. py", line 265, in determine_api_port juju/agents/ unit-placement- 9/.venv/ lib/python3. 10/site- charmhelpers/ contrib/ hahelpers/ cluster. py", line 228, in https get_requests_ for_local_ unit("certifica tes") juju/agents/ unit-placement- 9/.venv/ lib/python3. 10/site- charmhelpers/ contrib/ openstack/ cert_utils. py", line 424, in get_requests_ for_local_ unit
>
> [...]
> File "/var/lib/
> packages/
> if https():
> File "/var/lib/
> packages/
> cert_utils.
> File "/var/lib/
> packages/
> 'ca': data['ca'],
> KeyError: 'ca'
We fixed recently bug 2028683 which I believe is the same issue described here.
https:/ /github. com/juju/ charm-helpers/ commit/ c8f47207c1f1652 ab2cbecaaad8a83 b66f004e5e
The backports haven't landed yet in stable releases yet, but they will.