drydock/etc/drydock
Phil Sphicas 611e98de3f Use OOB driver creds for MAAS
During MAAS enlistment (and commissioning), an IPMI account (named
"maas" by default) is created on each node, which MAAS then uses for
power management.

This change allows MAAS to use the same credentials as the ones used by
the OOB driver, by overwriting the power parameters for the discovered
nodes. This includes the power type, so if the node is configured to use
Redfish, then Drydock will update a MAAS node discovered as IPMI to use
Redfish instead.

It also provides an option to instruct MAAS not to recreate IPMI
credentials during commissioning, which is passed through to the MAAS
API. Setting this to true is only supported in MAAS 2.7 or later [0].

The two maasdriver configuration options are introduced in drydock.conf,
along with their default values:

    [maasdriver]
    use_node_oob_params = false
    skip_bmc_config = false

These options do not prevent MAAS from creating the IPMI account during
enlistment - this would require addition MAAS customization.

0: 8842d0bfd3

Change-Id: I24d3bc3b1cc94907d73bc247de3fc06dd4750ab1
2021-07-30 16:39:06 +00:00
..
bootdata Add config generation to tox.ini 2017-08-21 14:35:56 -05:00
.gitignore Add config generation to tox.ini 2017-08-21 14:35:56 -05:00
drydock-config-generator.conf Update docs for developer overview 2018-06-01 14:50:05 -05:00
drydock-policy-generator.conf Update docs for developer overview 2018-06-01 14:50:05 -05:00
drydock.conf.sample Use OOB driver creds for MAAS 2021-07-30 16:39:06 +00:00
ks-api-paste.ini NoAuth filter for PasteDeploy 2017-11-27 10:12:19 -05:00
noauth-api-paste.ini NoAuth filter for PasteDeploy 2017-11-27 10:12:19 -05:00
policy.yaml.sample Catchup YAPF formatting 2018-09-26 08:57:51 -05:00