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.
Reviewed: https:/ /review. openstack. org/134217 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=dbc348d296c bbb03650f77f6ef 29b55635162c15
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit dbc348d296cbbb0 3650f77f6ef29b5 5635162c15
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. tiesFilter, which treated this property as a
Scheduling of a new instance always failed with NoValidHostFound error
because of ComputeCapabili
host capability to be checked.
Commit f0ff4d51057080e 769407e873e5ed2 12f15b773d caused the problem.
To fix this watchdog_action property is put into 'hw:' scope, so tiesFilter in scheduler and
that it will be ignored by ComputeCapabili
handled in libvirt driver. The doc must be fixed accordingly.
Now driver accepts both 'hw_watchdog_ action' and watchdog_ action' , tests were edited for these cases.
'hw:
Were added TODO items to delete the compat code in L release.
DocImpact
Closes-Bug: #1367344
Conflicts: tests/virt/ libvirt/ test_libvirt. py
nova/
Change-Id: Ic5344ec34a130e e5a0ed2c7348af0 b9d79e3508e 98aa36dcc663a53 70baf4cab7)
(cherry picked from commit 79bfb1bf343484e