Juju provisioner server error API mismatch after upgrading MAAS from 1.9 to 2.4.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth |
Bug Description
We have a site which has undergone an upgrade of the MAAS service from 1.9 series to 2.x series on xenial.
Once upgraded, we found that we had to reauthenticate to the maas CLI api with a new endpoint with a v2.0 URL due to this error:
ServerError: 410 GONE (The 1.0 API is no longer available. Please use API version 2.0.)
The URL went from http://
This is also coming out of the juju controller logs on machine-0 at a pace since we tried deploying two new machines.
When I attempt to juju update-cloud maas -f clouds.yaml --controller maas, I get the error:
juju update-cloud maas -f ./clouds.yaml --controller maas
ERROR updating controller cloud is not supported by this version of Juju.
My controller is at version 2.4.1, and my juju binary is 2.5.2 (snapped).
Is this update-cloud available in a later version of juju?
Is there a method we can use to update the api URL for the maas provider in the controller model?
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
This seems another case of https:/ /bugs.launchpad .net/juju/ +bug/1819456 where update-cloud is intended to fix but there's some final work going into making sure everything restarts and works appropriately.