Handle missing marker during online data migration
During upgrade the instance used by the request spec marker could be
deleted and purged between sessions. This would cause the database
online data migration to fail as the marker instance couldn't be found.
Fix by handling the MarkerNotFound exception and re-trying without the
marker. This will go through all the instances and reset the marker when
done.
Closes-Bug: #1793419
Change-Id: If96e3d038346f16cc93209bccf3db028bacfe59b
Signed-off-by: Jack Ding <email address hidden>
(cherry picked from commit ff03b157b930de23e5912802cbfbc86889c869c2)
Reviewed: https:/ /review. openstack. org/608572 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=57b46754ff6 7c52c49e10d3ae1 76515cdcda30e3
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 57b46754ff67c52 c49e10d3ae17651 5cdcda30e3
Author: Jack Ding <email address hidden>
Date: Tue Sep 25 13:20:25 2018 -0400
Handle missing marker during online data migration
During upgrade the instance used by the request spec marker could be
deleted and purged between sessions. This would cause the database
online data migration to fail as the marker instance couldn't be found.
Fix by handling the MarkerNotFound exception and re-trying without the
marker. This will go through all the instances and reset the marker when
done.
Closes-Bug: #1793419 6cc93209bccf3db 028bacfe59b 3e5912802cbfbc8 6889c869c2)
Change-Id: If96e3d038346f1
Signed-off-by: Jack Ding <email address hidden>
(cherry picked from commit ff03b157b930de2