summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorDevananda van der Veen <devananda.vdv@gmail.com>2013-02-10 12:49:53 -0800
committerVishvananda Ishaya <vishvananda@gmail.com>2013-02-20 11:52:00 -0800
commit63285645c72d3a5dcb232b5a129cf99602f2a607 (patch)
treed84c4a1c680135df86a62e028daf23ec63ab3d01 /nova/openstack
parentab9f8667c63d901f37d1662c5204fb2938be44fe (diff)
downloadnova-63285645c72d3a5dcb232b5a129cf99602f2a607.tar.gz
nova-63285645c72d3a5dcb232b5a129cf99602f2a607.tar.xz
nova-63285645c72d3a5dcb232b5a129cf99602f2a607.zip
Baremetal driver returns accurate list of instance
Add 'instance_name' to bm_nodes table so that baremetal driver is able to return the names of all instances it believes are still running. Previously, baremetal.driver.list_instances was fetching all allocated instances from baremetal database, then calling VirtAPI to get the instance name. This would raise an InstanceNotFound exception for deleted instances. This prevented ComputeManager from ever detecting a running-but-deleted baremetal instance, and could leave baremetal instances in an undeletable state. Fixes bug 1096723. Change-Id: Ifae532e8e70e97e48c589608cb3c7000bb6a7609
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions