diff options
author | Dan Smith <danms@us.ibm.com> | 2012-11-13 10:53:06 -0800 |
---|---|---|
committer | Dan Smith <danms@us.ibm.com> | 2013-01-29 11:30:55 -0500 |
commit | fed19822f89ce7f6542d8ea6a4a8b85cfa6065d6 (patch) | |
tree | 2797f68b66a8888156dcc0da9b6fb8f662e7940f /nova/exception.py | |
parent | 3c64e6ca4cfe4e61348ef1438787fb61d04d5ec7 (diff) | |
download | nova-fed19822f89ce7f6542d8ea6a4a8b85cfa6065d6.tar.gz nova-fed19822f89ce7f6542d8ea6a4a8b85cfa6065d6.tar.xz nova-fed19822f89ce7f6542d8ea6a4a8b85cfa6065d6.zip |
Keep flavor information in system_metadata
This patch copies the instance_type information into an
instance's system_metadata on creation. This provides a way
for us to recall the attributes used to create the instance
even after the type may have been deleted.
This adds db migration 153, which generates flavor information in
system_metadata for existing instances in the database, as well as
brings a test to make sure that works.
Change-Id: Iad9d640b44df5f3831de58f9e800bcf42bc0610e
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions