diff options
author | Dan Smith <danms@us.ibm.com> | 2013-03-13 20:08:14 -0400 |
---|---|---|
committer | Dan Smith <danms@us.ibm.com> | 2013-03-14 15:32:16 -0400 |
commit | ed02460ebe08faebc64f1d88aa53cca54f1e45cc (patch) | |
tree | 1bbc4c25da6f232e2ed6e4a7eff95307a4546dde /nova/context.py | |
parent | fee9425d3ece2358717a74319073db6ba0cab9f5 (diff) | |
download | nova-ed02460ebe08faebc64f1d88aa53cca54f1e45cc.tar.gz nova-ed02460ebe08faebc64f1d88aa53cca54f1e45cc.tar.xz nova-ed02460ebe08faebc64f1d88aa53cca54f1e45cc.zip |
Fix system_metadata "None" and created_at values
The ill-fated migration 153 converted None instance_type values to
"None" in the database instead of properly making them NULL. This
corrects that by sweeping all of the likely instance_type_% values and
converting "None" to NULL. Also, it adds a belated created_at stamp
to all of the items, which was missing in 153 as well.
It also corrects the 153 migration to avoid polluting things in the
first place for systems that haven't rolled through that yet.
Fixes bug 1152546
Change-Id: I3585463ae15abfd534f2ff070e2974f3cb51d7e8
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions