nova/nova/scheduler
Jay Pipes 3c217acb9c placement: Do not save 0-valued inventory
Ironic nodes that are not available or operable have 0 values for vcpus,
memory_mb, and local_gb in the returned dict from the Ironic virt driver's
get_available_resource() call. Don't try to save these 0 values in the
placement API inventory records, since the placement REST API will return an
error. Instead, attempt to delete any inventory records for that Ironic node
resource provider by PUT'ing an empty set of inventory records to the placement
API.

Closes-bug: #1651678

Change-Id: I10b22606f704abcb970939fb2cd77f026d4d6322
2017-01-03 17:42:43 -05:00
..
client placement: Do not save 0-valued inventory 2017-01-03 17:42:43 -05:00
filters Merge "objects: Move 'vm_mode' to 'fields.VMMode'" 2016-12-02 15:50:51 +00:00
weights conf: Attempt to resolve TODOs in scheduler.py 2016-11-01 14:40:46 +00:00
__init__.py Improve hacking rule to avoid author markers 2014-05-05 14:35:20 +02:00
caching_scheduler.py Add a caching scheduler driver 2014-02-26 13:53:07 +00:00
chance.py Move config options from nova/compute/rpcapi.py file 2016-04-21 22:26:13 +00:00
driver.py conf: Group scheduler options 2016-10-07 14:36:21 +01:00
filter_scheduler.py conf: Attempt to resolve TODOs in scheduler.py 2016-11-01 14:40:46 +00:00
host_manager.py Merge "conf: Group scheduler options" 2016-10-18 13:29:33 +00:00
ironic_host_manager.py objects: Move 'hv_type' to 'fields.HVType' 2016-11-25 16:19:43 +00:00
manager.py conf: Group scheduler options 2016-10-07 14:36:21 +01:00
rpcapi.py Add RPC version aliases for Newton 2016-10-28 03:11:38 -07:00
utils.py conf: Group scheduler options 2016-10-07 14:36:21 +01:00