diff options
author | Vishvananda Ishaya <vishvananda@gmail.com> | 2013-03-12 10:49:21 -0700 |
---|---|---|
committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2013-03-12 14:52:20 -0700 |
commit | edf57ca3f4e822e45300f50471fbb90f14f1ab94 (patch) | |
tree | 151edc50814e837ea6e6705bccea8479d5ff42d7 /nova/utils.py | |
parent | 562b0787421b145c4a91ccbbcacfc74c340cead8 (diff) | |
download | nova-edf57ca3f4e822e45300f50471fbb90f14f1ab94.tar.gz nova-edf57ca3f4e822e45300f50471fbb90f14f1ab94.tar.xz nova-edf57ca3f4e822e45300f50471fbb90f14f1ab94.zip |
Don't load system_metadata when it isn't joined.
If we always load system_metadata, it will throw a sqlalchemy
error if it isn't joined in the column. Rather than putting it
in extra keys we need to explicitly join it if it is missing.
Adds a test to make sure that system_metadata is returned
properly from the migration call even though the extra keys
parameter was removed.
Fixes bug 1146000
Change-Id: I05365906ed528a06fe5704449dab72c857fefa65
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions