deleting tenants and users does not take care of foreign keys
Bug #972502 reported by
J. Daniel Schmidt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
In Progress
|
Undecided
|
J. Daniel Schmidt |
Bug Description
When deleting tenants and users leaves behind foreign keys for tenant_id and user_id in the tables user_tenant_
We deleted the (devstack) demo tenant/project. As a result the admin user could no longer login.
These two errors were shown on the dashboard login page:
* Error: An unexpected error prevented the server from fulfilling your request. argument of type 'NoneType' is not iterable (HTTP 500)
* Error: You are not authorized for any projects.
The database schema lacks cascade statements to take care of the cleanup.
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/6161
Review: https:/