Reviewed: https://review.openstack.org/617889 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=72159a4a7b267bfe376e84ea754a42b372206325 Submitter: Zuul Branch: master
commit 72159a4a7b267bfe376e84ea754a42b372206325 Author: Liang Fang <email address hidden> Date: Wed Nov 14 14:18:54 2018 +0800
Fix for FK constraint violation
First force purging of records that are not soft deleted but are referencing soft deleted tasks/images records (e.g. task_info records). Then purge all soft deleted records in glance tables in the right order to avoid FK constraint violation.
Closes-Bug: #1803643 Change-Id: I1c471adce002545f8965a57ef78a57e1e3031ef0 Co-authored-by: Tee Ngo <email address hidden> Signed-off-by: Liang Fang <email address hidden>
Reviewed: https:/ /review. openstack. org/617889 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=72159a4a7b2 67bfe376e84ea75 4a42b372206325
Committed: https:/
Submitter: Zuul
Branch: master
commit 72159a4a7b267bf e376e84ea754a42 b372206325
Author: Liang Fang <email address hidden>
Date: Wed Nov 14 14:18:54 2018 +0800
Fix for FK constraint violation
First force purging of records that are not soft deleted but are
referencing soft deleted tasks/images records (e.g. task_info records).
Then purge all soft deleted records in glance tables in the right order
to avoid FK constraint violation.
Closes-Bug: #1803643 5f8965a57ef78a5 7e1e3031ef0
Change-Id: I1c471adce00254
Co-authored-by: Tee Ngo <email address hidden>
Signed-off-by: Liang Fang <email address hidden>