diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-08-08 17:59:56 -0400 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-08-09 11:31:53 -0400 |
| commit | c45eb1fe80e6e224b0617fb3d789949c0d0b8dd1 (patch) | |
| tree | 6e44b8798c7e6dadc5b033eb311e6abcdaa266eb /setup.py | |
| parent | 220ab5cfcbea8c500d45d3805c88f661730f7014 (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 'setup.py')
0 files changed, 0 insertions, 0 deletions
