Comment 2 for bug 1803643

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

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>