Prepare Juju

To use MAAS as a backing cloud we need to:

  1. add MAAS to Juju

  2. give MAAS credentials to Juju

  3. create a Juju controller

The corresponding Juju commands are:

juju add-cloud
juju add-credential
juju bootstrap

The above will result in one MAAS node being provisioned.

Please see the Juju documentation for guidance: How to use MAAS with Juju. The above commands only give the general idea.

Assuming that the controller is called ‘maas-controller’, create a model called ‘openstack’ and give it the desired default series:

juju add-model -c maas-controller --config default-series=jammy openstack

Advance to the Deploy OpenStack page.