commit e88d3b2c8205a4865d64419623de10d9159eeea2
Author: John Griffith <email address hidden>
Date: Fri Oct 6 17:56:52 2017 +0000
Fix migration 112 to use live_data_migration API
In the 112 db migration I was being lazy and generating and
updating the newly added UUID column. I also didn't update
the Service object (left that for the follow on patch).
Turns out we're going to want/need the online_data_migration
pieces for some follow up work and we might as well do this at
least a little bit more efficiently/correctly now.
This patch modifies the db migration to NOT try and populate
the newly added UUID fields in the Service table, and it
updates the Service object properly including adding the gen UUID
components to service.create()
This also fixes up what we had in place for the online_data_migration
code in cmd/manage.py; note that we had a framework there/started but
it wasn't being used up to this point.
Reviewed: https:/ /review. openstack. org/510201 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=e88d3b2c820 5a4865d64419623 de10d9159eeea2
Committed: https:/
Submitter: Zuul
Branch: master
commit e88d3b2c8205a48 65d64419623de10 d9159eeea2
Author: John Griffith <email address hidden>
Date: Fri Oct 6 17:56:52 2017 +0000
Fix migration 112 to use live_data_migration API
In the 112 db migration I was being lazy and generating and
updating the newly added UUID column. I also didn't update
the Service object (left that for the follow on patch).
Turns out we're going to want/need the online_ data_migration correctly now.
pieces for some follow up work and we might as well do this at
least a little bit more efficiently/
This patch modifies the db migration to NOT try and populate
the newly added UUID fields in the Service table, and it
updates the Service object properly including adding the gen UUID
components to service.create()
This also fixes up what we had in place for the online_ data_migration
code in cmd/manage.py; note that we had a framework there/started but
it wasn't being used up to this point.
Change-Id: I6696a15cd2c8fb f851a59b8d6d60a e1981bb1b89
Closes-Bug: #1721837