How can I configure Juju for deployment on OpenStack?

I would like to test juju charms on trystack.org, however I have not found any docu, how to configure juju for the openstack API?


Solution 1:

First off you need juju and charm-tools, ensure you have the latest stable juju:

sudo apt install juju-core

Then you need to provide your OpenStack credentials files to Juju, assuming it's named credentials.yaml:

juju add-cloud <cloud name> <cloud definition file>

References:

  • Official Docs