commit 9213ec2d32fa173ec9943c28fb6c3ba5c196015d
Author: Sen Yang <email address hidden>
Date: Wed Nov 15 12:09:04 2017 -0600
Implement hypervisor hostname exact pattern match
When starting cold migration with nova command "nova host- servers-migrate compute-1", the migration started from all
compute hosts starting with name "compute-1", not only from
compute-1 host. The same thing happens to "nova host-meta",
"nova host-evacuate", "nova host-evacuate-live" as well.
With the "--strict" option added to these nova commands, the
action will be applied to a single compute with the exact
hostname string match, but not to the computes with hostname
substring match. Error handling is also added to these nova
commands such that when specified hostname name does not exist,
"NotFound" will be returned.
Reviewed: https:/ /review. openstack. org/520187 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=9213ec2d32f a173ec9943c28fb 6c3ba5c196015d
Committed: https:/
Submitter: Zuul
Branch: master
commit 9213ec2d32fa173 ec9943c28fb6c3b a5c196015d
Author: Sen Yang <email address hidden>
Date: Wed Nov 15 12:09:04 2017 -0600
Implement hypervisor hostname exact pattern match
When starting cold migration with nova command "nova host-
servers- migrate compute-1", the migration started from all
compute hosts starting with name "compute-1", not only from
compute-1 host. The same thing happens to "nova host-meta",
"nova host-evacuate", "nova host-evacuate-live" as well.
With the "--strict" option added to these nova commands, the
action will be applied to a single compute with the exact
hostname string match, but not to the computes with hostname
substring match. Error handling is also added to these nova
commands such that when specified hostname name does not exist,
"NotFound" will be returned.
Closes-Bug: #1667794 0d91cd67961883a 6bec5bb8dd0
Change-Id: I5610efa160864b