Server will be cold-migrated even if users specify "--block-migration".
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Undecided
|
Rikimaru Honjo |
Bug Description
[Bug]
I ran following command to block-migrate a server.
$ openstack server migrate --block-migration <server>
But, the server was cold-migrated as a result.
"server migrate" sub command ignores "--block-migration" if user don't specify "--live".
IMO, this is too unkind for users who'd like to block-migrate servers.
[Solutions]
IMO, there are two solutions.
Which is better?
Solution No.1:
Add checks.
If user specify "--block-migration" or "--shared-
Solution No.2:
Modify conditional branches.
If user specify "--block-migration" or "--shared-
Changed in python-openstackclient: | |
assignee: | nobody → Rikimaru Honjo (honjo-rikimaru-c6) |
Changed in python-openstackclient: | |
status: | New → Confirmed |
Fix proposed to branch: master /review. openstack. org/439451
Review: https:/