diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-07-27 11:05:46 -0400 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-07-30 16:58:24 -0400 |
| commit | 0e16133db77b434f8dc5b298ef8166aa05013630 (patch) | |
| tree | 131f602d2a883edd9c37146753357481914d1dfc /plugins | |
| parent | 115fea1f9fa0fdb93f344a8ef9dc8ce9ba3cf6e9 (diff) | |
| download | nova-0e16133db77b434f8dc5b298ef8166aa05013630.tar.gz nova-0e16133db77b434f8dc5b298ef8166aa05013630.tar.xz nova-0e16133db77b434f8dc5b298ef8166aa05013630.zip | |
Send a full instance in rebuild_instance.
Change the rebuild_instance method of the compute
rpc API to take a full instance over rpc instead of just
the instance UUID. This cuts down on database access needed
by nova-compute.
This patch also includes fixes for a couple of places that were getting
the instance name using the old instance.name syntax. It must be
instance['name']. These no-db-messaging patches are making it so more
code paths have an instance as a dict (received over rpc) instead of
the SQLAlchemy model (looked up from the db on the compute node).
Part of blueprint no-db-messaging.
Change-Id: I21647a5a5cbf71a2c498f6fee2e4adbe30b8f2ea
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions
