The bug was caused by a foreign key in the federated_user table. This
key prevents a protocol from being deleted after a successful
authentication has happened (so the creation of a federated user
via shadowing). We take advantage of the same foreign key by adding the
cascade delete behavior to it.
Reviewed: https:/ /review. openstack. org/415906 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=45f7ff3918c e8d05585d1c2e17 40462e711965fe
Committed: https:/
Submitter: Jenkins
Branch: master
commit 45f7ff3918ce8d0 5585d1c2e174046 2e711965fe
Author: Rodrigo Duarte Sousa <email address hidden>
Date: Tue Jan 3 10:41:07 2017 -0300
Cascade delete federated_user fk
The bug was caused by a foreign key in the federated_user table. This
key prevents a protocol from being deleted after a successful
authentication has happened (so the creation of a federated user
via shadowing). We take advantage of the same foreign key by adding the
cascade delete behavior to it.
Closes-Bug: 1642692
Change-Id: I3b3e265d20f0cf e0ee10c6a274d9b df4e840b742