diff options
author | Robert Collins <robertc@robertcollins.net> | 2013-01-07 15:17:42 +1300 |
---|---|---|
committer | Robert Collins <robertc@robertcollins.net> | 2013-01-09 14:24:24 +1300 |
commit | 37293192c6ae7b841ded4fbccd4d5b36cc89fbaa (patch) | |
tree | 1ecf1f2b8ba6b3ae997d35f98b1032b6fad2fc67 /nova/exception.py | |
parent | fa4696ff03260351e0755191e479fcc8026ab828 (diff) | |
download | nova-37293192c6ae7b841ded4fbccd4d5b36cc89fbaa.tar.gz nova-37293192c6ae7b841ded4fbccd4d5b36cc89fbaa.tar.xz nova-37293192c6ae7b841ded4fbccd4d5b36cc89fbaa.zip |
Cope better with out of sync bm data.
The baremetal hypervisor tracks references to instances which are
deleted asynchronously from the commit to the nova bm. As such, its a
normal but rare condition for a bare metal node to refer to a deleted
(and even garbage collected) nova instance. We should treat such
instances are deleted rather than erroring on any call through
list_instances(), permitting starting new instances and listing
instances to work - fixing bug: 1096722.
Pathologically, the database may suffer permanent skew, which means we
need a way to fix it (and thats tracked as a separate bug).
Change-Id: Ic21ff66b1fc0ad64bb5feff26291873b96d20e4e
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions