summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-08-08 17:59:56 -0400
committerRussell Bryant <rbryant@redhat.com>2012-08-09 11:31:53 -0400
commitc45eb1fe80e6e224b0617fb3d789949c0d0b8dd1 (patch)
tree6e44b8798c7e6dadc5b033eb311e6abcdaa266eb /plugins
parent220ab5cfcbea8c500d45d3805c88f661730f7014 (diff)
Fix stale instances being sent over rpc.
There were a number of places in compute/api.py that were calling self.update() for an instance, but not sending an instance that contains those updates over rpc. This patch fixes them. The changes to the unit tests were required because its stubs were returning an instance without a host set in some cases. So, the result of self.update() had no host and the rpcapi would blow up since it had no idea where to send the message. This patch does not fix self.update() before prep_resize, because it is being addressed in this patch: https://review.openstack.org/#/c/11050/ Change-Id: I4efc922a6a0af0605d4d63012d55ff8473211fd5
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions