juju restore-backup does not complete properly
Bug #1569467 reported by
Curtis Hovey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Critical
|
Ian Booth |
Bug Description
As seen in this false success
http://
reports a success because the the controller was restored, but the errors during kill-controller reveal the hosted model was lost. So while the controller was restored, Users cannot manage the hosted models that they ran restore to get access to.
Changed in juju-core: | |
assignee: | nobody → Cheryl Jennings (cherylj) |
tags: | added: blocker |
Changed in juju-core: | |
importance: | High → Critical |
tags: | removed: blocker |
Changed in juju-core: | |
milestone: | 2.0-beta4 → 2.0-rc1 |
summary: |
- backup-restore loses the hosted model + juju restore-backup does not complete properly |
Changed in juju-core: | |
assignee: | Cheryl Jennings (cherylj) → nobody |
Changed in juju-core: | |
assignee: | nobody → William Reade (fwereade) |
Changed in juju-core: | |
assignee: | William Reade (fwereade) → Cheryl Jennings (cherylj) |
Changed in juju-core: | |
milestone: | 2.0-beta5 → 2.0-rc1 |
Changed in juju-core: | |
assignee: | Cheryl Jennings (cherylj) → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
Changed in juju-core: | |
milestone: | 2.0-beta6 → 2.0-beta7 |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta7 → none |
milestone: | none → 2.0-beta7 |
To post a comment you must log in.
Another CI run was done with --verbose which gives more output: http:// juju-ci. vapour. ws:8080/ view/Juju% 20Revisions/ job/functional- backup- restore/ 4002/
When the controller is bootstrapped, the default model is given the name "functional- backup- restore" . However, post-restore, we see this as the models in the controller:
2016-04-12 20:58:40 DEBUG ('juju', '--show-log', 'list-models', '-c', 'functional- backup- restore' , '--format', 'yaml') 3ac2-4398- 857f-ecd64bb37c 71 f6fe-4ee4- 8fd9-b919dba63b 8b
2016-04-12 20:58:40 DEBUG models:
- name: admin
model-uuid: b64b83e7-
owner: admin@local
last-connection: 2 seconds ago
- name: default
model-uuid: ab08a8c9-
owner: admin@local
last-connection: never connected
current-model: admin
I am able to backup / restore with the hosted model just fine in joyent (AWS has issues - mongo keeps getting SIGKILL, maybe my instance size is too small?)
I'm wondering if something like that is happening here where the restore doesn't actually complete.
Curtis - can we get a run that keeps the environment up on failure?