The MAAS cloud and Juju

List of supported clouds > MAAS

This document describes details specific to using your existing MAAS cloud with Juju.

See more: MAAS

When using the MAAS cloud with Juju, it is important to keep in mind that it is a (1) machine cloud and (2) not some other cloud.

See more: Cloud differences in Juju

As the differences related to (1) are already documented generically in our Tutorial, How-to guides, and Reference docs, here we record just those that follow from (2).

Juju points of variation Notes for the MAAS cloud
setup (chronological order):
supported versions: Starting with juju v.3.0, versions of MAAS <2 are no longer supported.
requirements: TBA
definition: Cloud type: maas. You will need to provide your cloud API endpoint.

If you want to use a YAML file:

<user-defined cloud name>:
   type: maas
     - oauth1
   endpoint: <the endpoint>

definition: auth-type: oauth1, which requires you to provide your maas-oauth, i.e., your MAAS API key.
> See more: [MAAS `
notes on bootstrap:
other (alphabetical order:)
cloud-specific: TBA
conflicting: TBA
- allocate-public-ip :x:
- arch :white_check_mark:
Valid values: See cloud provider.
- container :white_check_mark:
- cores :white_check_mark:
- cpu-power :x:
- image-id :white_check_mark: (Starting with Juju 3.2)
Type: String.
Valid values: An image name from MAAS.
- instance-role :x:
- instance-type :x:
- mem :white_check_mark:
- root-disk :white_check_mark:
- root-disk-source :x:
- spaces :white_check_mark:
- tags :white_check_mark:
- virt-type :x:
- zones :white_check_mark:
<machine> TBA
subnet=... :x:
system-id=... :white_check_mark:
zone=... :white_check_mark:
If there’s no ‘=’ delimiter, assume it’s a node name.
RESOURCE (cloud)

Consistent naming, tagging, and the ability to add user-controlled tags to created instances.


Contributors (starting with January 2024): @jadonn

I believe --local is outdated

--local  (= false)
    DEPRECATED (use --client): Local operation only; controller not affected

Can it be updated?
Thank you.

1 Like

consider adding an example to this doc:

    type: maas
    auth-types: [oauth1]

I updated the example YAML config for the clouds configuration to use correctly formatted YAML. I had problems myself when trying to use the old example in the documentation.

1 Like

@jadonn Thanks! PS Adding you to the Contributors to this doc (bottom of the doc).

It’s my pleasure @tmihoc ! Thank you for adding me as a contributor!