restore-backup ignores constrains; impossible to recover rackspace/dfw
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Seyeong Kim |
Bug Description
I cannot restore my controller in rackspace. Juju selects a favor with no disk (compute1-4)! The bootstrap command just works. It selected a "1GB Standard Instance" flavor with 40G disk. I can also pass the root-disk constrain the bootastrap to get a bigger disk. The restore-backup command ignores the root-disk constraint.
...
Launching controller instance(s) on rackspace/dfw...
ERROR cannot bootstrap new instance: cannot start bootstrap instance: cannot run instance: failed to run a server with nova.RunServerO
And passing "--constraints root-disk=40G" does *not* direct juju to select different flavor.
$ juju restore-backup -m bc-test:controller -b --constraints root-disk=40G --file bc-backup.tar.gz
...
Launching controller instance(s) on rackspace/dfw...
ERROR cannot bootstrap new instance: cannot start bootstrap instance: cannot run instance: failed to run a server with nova.RunServerO
Because of bug 1641224, I cannot specify instance-type "1GB Standard Instance", so it is not possible to restore in dfw. The flavors in iad are different, and Horatio reported he could restore there.
Changed in juju: | |
milestone: | 2.3-beta1 → 2.3-beta2 |
Changed in juju: | |
milestone: | 2.3-beta2 → none |
https:/ /github. com/juju/ juju/pull/ 7714