python-novaclient/releasenotes/notes/strict_hostname_match-f37243f0520a09a2.yaml
Sen Yang 9213ec2d32 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
2018-01-31 08:41:07 -06:00

10 lines
468 B
YAML

---
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.