nova/releasenotes/notes/ironic-empty-vcpus-66b4e1500ef8a34e.yaml
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

6 lines
138 B
YAML

---
fixes:
- |
Fixes a bug preventing ironic nodes without VCPUs, memory or disk in their
properties from being picked by nova.