Comment 7 for bug 1367344

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/juno)

Reviewed: https://review.openstack.org/133922
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8a3b609580ae6a72767eebb1af9e0d71a1412897
Submitter: Jenkins
Branch: stable/juno

commit 8a3b609580ae6a72767eebb1af9e0d71a1412897
Author: pkholkin <email address hidden>
Date: Fri Sep 12 19:31:54 2014 +0400

    Fix libvirt watchdog support

    Using the flavor extra_specs property "hw_watchdog_action" was broken.
    Scheduling of a new instance always failed with NoValidHostFound error
    because of ComputeCapabilitiesFilter, which treated this property as a
    host capability to be checked.

    Commit f0ff4d51057080e769407e873e5ed212f15b773d caused the problem.

    To fix this watchdog_action property is put into 'hw:' scope, so
    that it will be ignored by ComputeCapabilitiesFilter in scheduler and
    handled in libvirt driver. The doc must be fixed accordingly.

    Now driver accepts both 'hw_watchdog_action' and
    'hw:watchdog_action', tests were edited for these cases.
    Were added TODO items to delete the compat code in L release.

    DocImpact
    Closes-Bug: #1367344

    Conflicts:
     nova/tests/virt/libvirt/test_driver.py

    Change-Id: Ic5344ec34a130ee5a0ed2c7348af0b9d79e3508e
    (cherry picked from commit 79bfb1bf343484e98aa36dcc663a5370baf4cab7)