Comment 12 for bug 1667794

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/520187
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=9213ec2d32fa173ec9943c28fb6c3ba5c196015d
Submitter: Zuul
Branch: master

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.

    Closes-Bug: #1667794
    Change-Id: I5610efa160864b0d91cd67961883a6bec5bb8dd0