047da6498d
If node.instance_info is unset for a node that has an instance on it (for example, when upgrading Nova from before the patch that set these values on spawn), the Ironic driver reports 0 for both $resource and $resource_used. The resource tracker will correct $resource_used, and resources available will be reported as a negative number. Correct this by reporting the original value if instance_info is unset. Closes-Bug: #1502177 Change-Id: I13c5e5430fd305cd0ee2f24cd95304660ccf11eb |
||
---|---|---|
.. | ||
__init__.py | ||
test_client_wrapper.py | ||
test_driver.py | ||
test_patcher.py | ||
utils.py |