glance/glance/db/sqlalchemy
Liang Fang 72159a4a7b 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 <tee.ngo@windriver.com>
Signed-off-by: Liang Fang <liang.a.fang@intel.com>
2018-12-07 11:19:31 +08:00
..
alembic_migrations Support RFC1738 quoted chars in passwords 2018-08-13 14:44:32 +10:00
metadef_api Python 3: fix glance.tests.functional.db.test_sqlalchemy 2016-12-01 17:42:12 +01:00
migrate_repo Refine migration query added with CI change 2017-01-29 19:37:20 +00:00
__init__.py Create 'simple' db driver 2012-06-07 09:20:50 -07:00
api.py Fix for FK constraint violation 2018-12-07 11:19:31 +08:00
metadata.py Remove unused None from dict.get() 2017-07-05 12:49:10 +00:00
models.py Multihash implementation for Glance 2018-07-31 21:28:38 -04:00
models_metadef.py Replace oslo_utils.timeutils 2015-12-10 10:53:46 +00:00