[BugFix]Cinder forgets to update 'deleted_at' when deleting
Usually we would update the 'deleted_at' column when
soft-deleting records, otherwise the 'db purge' command
would fail because it depends on the 'deleted_at' column.
Closes-Bug: #1671354
Change-Id: Ib302488d3a007df09a2e7ece40488c00bf732119
(cherry picked from commit f9012466db95a4e693291a7b5af21842a85843c2)
Reviewed: https:/ /review. openstack. org/452884 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=1695e7c0cb4 9008032762c7116 484b60a9cc9e82
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 1695e7c0cb49008 032762c7116484b 60a9cc9e82
Author: TommyLike <email address hidden>
Date: Tue Mar 28 16:50:35 2017 +0800
[BugFix]Cinder forgets to update 'deleted_at' when deleting
Usually we would update the 'deleted_at' column when
soft-deleting records, otherwise the 'db purge' command
would fail because it depends on the 'deleted_at' column.
Closes-Bug: #1671354
Change-Id: Ib302488d3a007d f09a2e7ece40488 c00bf732119 693291a7b5af218 42a85843c2)
(cherry picked from commit f9012466db95a4e