nova/nova/tests
Dmitry Tantsur b25928dc04 Pick ironic nodes without VCPU set
Starting with the Pike release, reporting VCPU/memory/disk is no longer required.
However, we used VCPU to check if a node is available, so nodes without VCPU in
their properties were always ignored. This patch changes the logic to use the existing
_node_resources_unavailable call.

This change also fixes another related issue: when disk or memory are missing from
properties, the virt driver tries to report zero max_unit for them, which is not
allowed by placement.

Change-Id: I1bbfc152189252c5c45e6153695a802d17b76690
Closes-Bug: #1723423
2017-10-13 15:53:37 +02:00
..
functional Merge "Reproduce bug 1721652 in the functional test env" 2017-10-13 08:02:36 +00:00
live_migration/hooks Revert "Enable test_iscsi_volume in live migration job" 2017-09-14 17:30:18 +00:00
unit Pick ironic nodes without VCPU set 2017-10-13 15:53:37 +02:00
__init__.py
fixtures.py Merge "Add instance.interface_attach notification" 2017-10-05 11:29:53 +00:00
uuidsentinel.py Remove redundant str typecasting 2016-09-23 12:53:34 +05:30