Applying the workaround above worked for me. Focal/Ussuri deployment.
Workaround :
juju ssh openstack-service-checks/0
sudo vi /var/lib/juju/agents/unit-openstack-service-checks-2/.venv/lib/python3.8/site-packages/certifi/core.py
#!/usr/bin/env python3
def where(): return "/etc/ssl/certs/ca-certificates.crt"
def contents(): with open(where()) as f: return f.read()
systemctl restart jujud-unit-openstack-service-checks-$N.service
Applying the workaround above worked for me. Focal/Ussuri deployment.
Workaround :
juju ssh openstack- service- checks/ 0
sudo vi /var/lib/ juju/agents/ unit-openstack- service- checks- 2/.venv/ lib/python3. 8/site- packages/ certifi/ core.py
#!/usr/bin/env python3
def where(): certs/ca- certificates. crt"
return "/etc/ssl/
def contents():
with open(where()) as f:
return f.read()
systemctl restart jujud-unit- openstack- service- checks- $N.service