summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorSen Yang <sen.yang@windriver.com>2017-11-15 12:09:04 -0600
committerSen Yang <sen.yang@windriver.com>2018-01-31 08:41:07 -0600
commit9213ec2d32fa173ec9943c28fb6c3ba5c196015d (patch)
tree02fac0cf0fb6286ced477107c416d87e762df69d /releasenotes
parent52b8e62d6e9ec9e2cf72e513aef8731af1360515 (diff)
downloadpython-novaclient-9213ec2d32fa173ec9943c28fb6c3ba5c196015d.tar.gz
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 Change-Id: I5610efa160864b0d91cd67961883a6bec5bb8dd0
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/strict_hostname_match-f37243f0520a09a2.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/releasenotes/notes/strict_hostname_match-f37243f0520a09a2.yaml b/releasenotes/notes/strict_hostname_match-f37243f0520a09a2.yaml
new file mode 100644
index 00000000..04d77d4a
--- /dev/null
+++ b/releasenotes/notes/strict_hostname_match-f37243f0520a09a2.yaml
@@ -0,0 +1,9 @@
+---
+features:
+ - |
+ Provides "--strict" option for "nova host-servers-migrate", "nova host-evacuate",
+ "nova host-evacuate-live" and "nova host-meta" commands. When "--strict" option is
+ used, the action will be applied to a single compute with the exact hypervisor
+ hostname string match rather than to the computes with hostname substring match.
+ When the specified hostname does not exist in the system, "NotFound" error code
+ will be returned.