commit cb65d3d69c2b36a1a18d3fe4347b445f17f6d856
Author: Dan Smith <email address hidden>
Date: Wed Feb 6 06:54:00 2019 -0800
Fix InstanceMapping to always default queued_for_delete=False
This object has a default=False setting for queued_for_delete, but never
actually sets that value. All newly created records should have a non-NULL
value for this field, and we have a migration to fix them, so this
change explicitly forces that =False, unless the object is being created
with a value set.
Closes-Bug: #1814913
Change-Id: I99c5cc24c7e9bf5e2e72ffc868990b87b0e8e3f8
(cherry picked from commit ccec9ba82de7c9525981a34bb126e9ca98042d04)
Reviewed: https:/ /review. openstack. org/635534 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=cb65d3d69c2 b36a1a18d3fe434 7b445f17f6d856
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit cb65d3d69c2b36a 1a18d3fe4347b44 5f17f6d856
Author: Dan Smith <email address hidden>
Date: Wed Feb 6 06:54:00 2019 -0800
Fix InstanceMapping to always default queued_ for_delete= False
This object has a default=False setting for queued_for_delete, but never
actually sets that value. All newly created records should have a non-NULL
value for this field, and we have a migration to fix them, so this
change explicitly forces that =False, unless the object is being created
with a value set.
Closes-Bug: #1814913 5e2e72ffc868990 b87b0e8e3f8 25981a34bb126e9 ca98042d04)
Change-Id: I99c5cc24c7e9bf
(cherry picked from commit ccec9ba82de7c95