second model migration fails with local charm and a resource
Bug #1692646 reported by
Jay R. Wren
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Tim Penhey |
Bug Description
The second migration of a model fails if the model uses a local charm with a resource.
To Reproduce:
1. Add a model
juju add-model jctestmig3 aws/us-east-2
2. Deploy a local charm which has resources, and specify the resource.
juju deploy ./ubuntu-0 u4 --resource roottar=
3. Migrate the model
4. Migrate the model again
See the log with errors, attached.
2017-05-19 14:37:40 ERROR juju.worker.
UPDATE: fixed step #2 instructions.
tags: | added: model-migration |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju: | |
status: | Triaged → In Progress |
assignee: | nobody → Tim Penhey (thumper) |
milestone: | none → 2.2-rc1 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here is serialized model json: http:// paste.ubuntu. com/24605298/
Notice line 631, a resource named "charmstore- revision: " is added for some reason and it has an empty type.
Speculation is that this is added on the first model migration and that once added it prevents other migration.