Comment 18 for bug 1924816

Revision history for this message
Joe Guo (guoqiao) wrote :

Before charm release and upgrade, the easiest workaround I can think of so far:

On openstack-service-checks unit, modify the `certifi/core.py:where()` in venv to return system bundle and restart charm.

Example:

N=0
juju ssh openstack-service-checks/$N
sudo bash
N=0
cd /var/lib/juju/agents/unit-openstack-service-checks-$N/.venv/lib/python3.6/site-packages/certifi/
cp core.py core.py.orig
vim core.py

Just put this in:

    #!/usr/bin/env python3
    def where():
        return '/etc/ssl/certs/ca-certificates.crt'

restart:

    systemctl restart jujud-unit-openstack-service-checks-$N.service

Issue should self resolve in a few mins.