cannot migrate manual models

Bug #2048805 reported by Heather Lanigan
6
This bug affects 1 person
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.migrationmaster.cf9039 model data transfer failed, failed to import model into target controller: updating cloud credentials: cloud "manual" not found (not found)

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://github.com/juju/juju/blob/8a619331a7d4cb4baa2819e50fe7f76f5797f49b/provider/manual/credentials.go#L15

Revision history for this message
Heather Lanigan (hmlanigan) wrote :

See https://bugs.launchpad.net/juju/+bug/1994522 for the setup required to bootstrap a manual cloud with juju 3.x

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.