migration 2.9->3.1 failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
High
|
Joseph Phillips |
Bug Description
Migrate action failed with "migrating: aborted, removing model from target controller: validating, timed out waiting for agents to report"
However subsequent attempt says target model already exists but it does not
$ juju migrate openstack foundations-maas-3
Migration started with ID "dae5702a-
$ juju status|head
Model Controller Cloud/Region Version SLA Timestamp Notes
openstack foundations-maas maas_cloud/default 2.9.46 unsupported 13:22:47Z migrating: performing source prechecks
Model Controller Cloud/Region Version SLA Timestamp Notes
openstack foundations-maas maas_cloud/default 2.9.46 unsupported 13:24:51Z migrating: importing model into target controller
Model Controller Cloud/Region Version SLA Timestamp Notes
openstack foundations-maas maas_cloud/default 2.9.46 unsupported 13:25:03Z migrating: uploading model binaries into target controller
Model Controller Cloud/Region Version SLA Timestamp Notes
openstack foundations-maas maas_cloud/default 2.9.46 unsupported 13:26:56Z migrating: validating, waiting for agents to report back
Model Controller Cloud/Region Version SLA Timestamp Notes
openstack foundations-maas maas_cloud/default 2.9.46 unsupported 13:29:56Z migrating: validating, waiting for agents to report back: 483 succeeded, 400 still to report
Model Controller Cloud/Region Version SLA Timestamp Notes
openstack foundations-maas maas_cloud/default 2.9.46 unsupported 13:31:53Z migrating: validating, waiting for agents to report back: 624 succeeded, 259 still to report
Model Controller Cloud/Region Version SLA Timestamp Notes
openstack foundations-maas maas_cloud/default 2.9.46 unsupported 13:34:14Z migrating: validating, waiting for agents to report back: 745 succeeded, 138 still to report
Model Controller Cloud/Region Version SLA Timestamp Notes
openstack foundations-maas maas_cloud/default 2.9.46 unsupported 13:36:52Z migrating: validating, waiting for agents to report back: 821 succeeded, 62 still to report
Model Controller Cloud/Region Version SLA Timestamp Notes
openstack foundations-maas maas_cloud/default 2.9.46 unsupported 13:38:44Z migrating: validating, waiting for agents to report back: 855 succeeded, 28 still to report
Model Controller Cloud/Region Version SLA Timestamp Notes
openstack foundations-maas maas_cloud/default 2.9.46 unsupported 13:41:03Z migrating: validating, waiting for agents to report back: 866 succeeded, 17 still to report
Model Controller Cloud/Region Version SLA Timestamp Notes
openstack foundations-maas maas_cloud/default 2.9.46 unsupported 13:43:01Z migrating: aborted, removing model from target controller: validating, timed out waiting for agents to report
Model Controller Cloud/Region Version SLA Timestamp Notes
openstack foundations-maas maas_cloud/default 2.9.46 unsupported 13:45:08Z migrating: aborted, removing model from target controller: validating, timed out waiting for agents to report
$ juju migrate openstack foundations-maas-3
ERROR target prechecks failed: model named "openstack" already exists
$ juju switch foundations-maas-3
foundations-
$ juju destroy-model openstack
ERROR model foundations-
ubuntu@
Controller: foundations-maas-3
Model Cloud/Region Type Status Machines Cores Units Access Last connection
controller* maas_cloud/default maas available 1 2 1 admin just now
$ juju switch foundations-maas
foundations-
$ juju migrate openstack foundations-maas-3
ERROR target prechecks failed: model named "openstack" already exists
Changed in juju: | |
assignee: | nobody → Joseph Phillips (manadart) |
Changed in juju: | |
milestone: | 3.3.2 → 3.3.4 |
Changed in juju: | |
milestone: | 3.3.4 → 3.3.5 |
Changed in juju: | |
milestone: | 3.3.5 → 3.3.6 |
Changed in juju: | |
milestone: | 3.3.6 → 3.4.4 |
Changed in juju: | |
milestone: | 3.4.4 → 3.4.5 |
It sounds like there's 2 issues here - one, the migration failed. Two, the rollback after the failed migration left stuff behind in the target controller.