OpenStack cloud config supports CA Cert
Support for OpenStack cloud requiring a CA Cert is now available in the juju edge snap. Please try it out and let us know what you think.
Using
It’s just like using any other OpenStack cloud with juju, after providing one additional bit of information when you run juju add-cloud
: the filename of the ca certificate.
Example juju add-cloud
First source your novarc file, including the OS_CACERT environment variable. Then run juju add-cloud
, which will attempt to use some of the environment variables.
Cloud Types
lxd
maas
manual
oci
openstack
oracle
vsphere
Select cloud type: openstack
Enter a name for your openstack cloud: myopenstack
Enter the API endpoint url for the cloud [https://x.x.x.x:5000/v3]:
Enter the filename of the CA certificate to access OpenStack cloud (optional) [/home/ubuntu/cacert.pem]:
Auth Types
access-key
userpass
Select one or more auth types separated by commas: userpass
Enter region name: RegionOne
Enter the API endpoint url for the region [use cloud api url]:
Enter another region? (Y/n): n
Successfully read CA Certificate from /home/ubuntu/test_certs/cacert.pem
Cloud “myopenstack” successfully added
You may need to `juju add-credential myopenstack’ if your cloud needs additional credentials
Then you can bootstrap with ‘juju bootstrap myopenstack’