nova/nova
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
..
CA
api Merge "Implement query param schema for GET hypervisor(2.33)" 2017-10-13 11:11:34 +00:00
cells Merge "Handle uuids in os-hypervisors API" 2017-07-20 01:03:27 +00:00
cmd Merge "Fix --max-count handling for nova-manage cell_v2 map_instances" 2017-09-27 22:59:01 +00:00
common
compute Merge "Elevate existing RequestContext to get bandwidth usage" 2017-10-12 20:31:41 +00:00
conductor Merge "Target context for build notification in conductor" 2017-10-11 07:30:50 +00:00
conf Merge "Clarify conf/compute.py help text for ListOpts" 2017-10-11 14:39:32 +00:00
console Merge "Remove translation of log messages" 2017-08-10 11:39:03 +00:00
consoleauth Merge "Remove translation of log messages" 2017-08-10 11:39:03 +00:00
db Merge "Fix minor input items from previous patches" 2017-10-11 02:32:39 +00:00
hacking Amend uuid4 hacking rule 2017-09-04 17:34:46 +00:00
image Don't fix protocol-less glance api_servers anymore 2017-10-10 13:03:26 +00:00
ipv6
keymgr Remove deprecated keymgr code 2017-09-11 15:48:30 -04:00
locale Imported Translations from Zanata 2017-08-10 11:34:33 +00:00
network Add datapath type information to OVS vif objects 2017-09-22 14:49:47 +00:00
notifications Merge "Elevate existing RequestContext to get bandwidth usage" 2017-10-12 20:31:41 +00:00
objects Merge "rp: Move RP._get|set_aggregates() to module scope" 2017-10-10 06:27:52 +00:00
pci [Trivial] docstrings, typos, minor refactoring 2017-08-28 08:33:58 -05:00
policies Put base policy rules at first 2017-09-05 16:53:44 +08:00
privsep Read from console ptys using privsep. 2017-09-28 07:30:00 +10:00
scheduler Merge "Ensure instance can migrate when launched concurrently" 2017-10-10 23:09:12 +00:00
servicegroup iso8601.is8601.Utc No Longer Exists 2017-08-29 19:26:55 -04:00
tests Pick ironic nodes without VCPU set 2017-10-13 15:53:37 +02:00
virt Pick ironic nodes without VCPU set 2017-10-13 15:53:37 +02:00
vnc
volume Add attachment_get call to volume/cinder_api 2017-09-22 19:41:27 -04:00
__init__.py
availability_zones.py Avoid lazy-load error when getting instance AZ 2017-05-25 15:46:22 -04:00
baserpc.py
block_device.py
cache_utils.py
config.py
context.py Merge "Fix target_cell usage for scatter_gather_cells" 2017-10-12 12:07:23 +00:00
crypto.py
debugger.py
exception.py Nix bug msg from ConfGroupForServiceTypeNotFound 2017-10-11 10:04:59 -05:00
exception_wrapper.py rename binary to source in versioned notifications 2017-07-25 17:36:04 +02:00
filters.py
hooks.py
i18n.py
loadables.py
manager.py
policy.py Add policy granularity to the Flavors API 2017-07-19 15:56:47 -04:00
profiler.py
quota.py Remove useless periodic task that expires quota reservations 2017-09-23 14:39:43 +08:00
rpc.py Remove dead code of api.fault notification sending 2017-10-09 17:29:40 +02:00
safe_utils.py Allow wrapping of closures 2017-07-20 10:07:52 +01:00
service.py Enhance doc for nova services 2017-08-31 08:30:48 +08:00
service_auth.py
test.py Merge "Make TestRPC inherit from the base nova TestCase" 2017-10-13 00:50:01 +00:00
utils.py Nix bug msg from ConfGroupForServiceTypeNotFound 2017-10-11 10:04:59 -05:00
version.py
weights.py
wsgi.py