bootstrapping a controller on MAAS with multiple regiond endpoints
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
Currently the assumption is that there is a single hostname or IP address that can be used to access MAAS API - this endpoint is used both when a controller is bootstrapped and after bootstrap for machine provisioning.
https:/
In more complex scenarios MAAS region controllers can be placed into different VLANs and hence have endpoint IP addresses in different subnets - this prevents VIPs from being used as they require a shared layer 2 and a single subnet.
Multiple A records per hostname could be used in a DNS server but there is generally no health-checking for those kinds of setups which will result in guaranteed percentages of failures depending on the number of failed regiond endpoints.
It would be good if Juju supported multiple cloud endpoints per CloudSpec and pooled connections to them trying to use only the ones that respond.
https:/
In other words:
Currently: 1 endpoint ~ 1 control plane
Required: N endpoints ~ 1 control plane | for a single "cloud region"
Thanks this is definitely something we need to keep up with as MAAS scales that Juju is working well with it.