diff options
author | Dan Smith <danms@us.ibm.com> | 2013-03-11 13:13:11 -0400 |
---|---|---|
committer | Dan Smith <danms@us.ibm.com> | 2013-03-11 13:13:11 -0400 |
commit | d8d7d148fe2c185f2efda0c4cfc2ca125d4008d7 (patch) | |
tree | 5fbcf02449e2fbd38f11f2765403cad4eef4b312 /nova/utils.py | |
parent | f543f347c84e7f5de2c584ca55363e4dee5b0a3d (diff) | |
download | nova-d8d7d148fe2c185f2efda0c4cfc2ca125d4008d7.tar.gz nova-d8d7d148fe2c185f2efda0c4cfc2ca125d4008d7.tar.xz nova-d8d7d148fe2c185f2efda0c4cfc2ca125d4008d7.zip |
Pass migration_ref when when auto-confirming
The _poll_unconfirmed_resizes() task in compute/manager calls back to
compute_api to confirm resizes. This triggers a db lookup for the
migration, which is not allowed by no-db-compute. Since we already have
the migration, pass it through to avoid the lookup.
Since this doesn't change rpcapi (and thus, RPC clients should not
know about this optional paramter), we don't need to bump the RPC
version here.
Fixes bug 1152792
Change-Id: I4bd3b0c88968ed7f64e7df0afa12e83009ee8ccf
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions