Model Migration fails w/ migration already in progress
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Menno Finlay-Smits |
Bug Description
On a long running lxd environment with several migrations (20+) of model "foo" a migration attempt fails with: "ERROR failed to create migration: already in progress"
Status of foo shows:
Model Controller Cloud/Region Version
foo b localhost/localhost 2.1-rc1.1
App Version Status Scale Charm Store Rev OS Notes
elasticsearch waiting 1 elasticsearch jujucharms 15 ubuntu
kibana waiting 1 kibana jujucharms 14 ubuntu
Unit Workload Agent Machine Public address Ports Message
elasticsearch/0* unknown idle 0 192.168.88.144 9200/tcp
kibana/0* active idle 1 192.168.88.188 80/tcp,9200/tcp ready
Machine State DNS Inst id Series AZ
0 started 192.168.88.144 juju-ac7605-0 trusty
1 started 192.168.88.188 juju-ac7605-1 trusty
Relation Provides Consumes Type
peer elasticsearch elasticsearch peer
rest elasticsearch kibana regular
Changed in juju: | |
importance: | Undecided → High |
Changed in juju: | |
status: | New → Triaged |
milestone: | 2.1-beta4 → 2.1-rc1 |
tags: | added: model-migration |
Changed in juju: | |
status: | Fix Committed → Fix Released |
This was fixed as part of https:/ /github. com/juju/ juju/pull/ 6149 and https:/ /github. com/juju/ juju/pull/ 6159
I have just completed many success migrations of a non-trival model between two controllers, sometimes being aggressive about attempting to migrate the model out of a controller as soon as it arrives (the root cause of the problem reported in this bug).