Comment 4 for bug 1895173

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

Reviewed: https://review.opendev.org/c/openstack/glance/+/783668
Committed: https://opendev.org/openstack/glance/commit/7779c20198c4ee09ee2c31ba0f5752151331abaf
Submitter: "Zuul (22348)"
Branch: master

commit 7779c20198c4ee09ee2c31ba0f5752151331abaf
Author: Dan Smith <email address hidden>
Date: Mon Mar 29 08:07:41 2021 -0700

    Ignore stale image property removal

    Occasionally we fail to delete a property from an image and get a
    StaleDataError from SQLAlchemy. It looks like maybe we are just racing
    with another operation to delete a single property (i.e. a race
    between image delete and the end of an import cleanup).

    This ignores that "can't delete because it is already deleted" error
    and logs to debug about the situation for later auditing and
    confirmation.

    Change-Id: Ida5bc659b7481fa0a7f3926a54520628a7a4c406
    Closes-Bug: #1895173