cannot migrate manual models
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
High
|
Unassigned |
Bug Description
There is no way to migrate from a manual cloud model to another controller.
With controllers A and B, deployed with manual clouds A and B, created a model on controller A, ran juju add-machine ssh:... and deployed a unit to machine 0 in the model. Errors when moving the new model from controller A to controller B:
machine-0: 21:40:32 ERROR juju.worker.
Attempting to add manual cloud A to controller B fails too:
$ juju add-cloud --controller three-three manual
Adding a cloud of type "manual" might not function correctly on this controller.
If you really want to do this, use --force.
$ juju add-cloud --controller three-three manual --force
Could not upload cloud to a controller: invalid cloud: empty auth-types not valid (not valid)
Manual clouds have empty auth-types: https:/
See https:/ /bugs.launchpad .net/juju/ +bug/1994522 for the setup required to bootstrap a manual cloud with juju 3.x