summaryrefslogtreecommitdiffstats
path: root/bin/stack
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2013-03-21 15:08:18 -0400
committerRussell Bryant <rbryant@redhat.com>2013-03-22 10:19:28 -0400
commit9075069098e32b47bd5011e2653a23b61c18d4a3 (patch)
treefdab3da93ba56220a07b6f7c203d274576614e6e /bin/stack
parent5499640f639009f60fbf909786770654e1f1b5a0 (diff)
downloadnova-9075069098e32b47bd5011e2653a23b61c18d4a3.tar.gz
nova-9075069098e32b47bd5011e2653a23b61c18d4a3.tar.xz
nova-9075069098e32b47bd5011e2653a23b61c18d4a3.zip
Initialize compute manager before loading driver.
The compute virt API uses the conductor API instance on the compute manager. Make sure the compute manager has been fully initialized before loading the driver and passing it the virtapi instance. This prevents the possibility of the driver calling back into the compute manager and using something not initialized yet, such as the conductor API in the case of this bug. This patch also moves initialization of a member variable up above super(), where the rest of the initialization is. There doesn't appear to be a reason for needing to have it at the end. Fix bug 1156490. Change-Id: I19684f24d590201d135336107425c2be2f74c83e
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions