Comment 2 for bug 2028378

Revision history for this message
Felipe Reyes (freyes) wrote : Re: [Bug 2028378] [NEW] placement not loading CA if vault is deployed in HA configuration

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.

https://github.com/juju/charm-helpers/commit/c8f47207c1f1652ab2cbecaaad8a83b66f004e5e

The backports haven't landed yet in stable releases yet, but they will.