Merge "Generalize release note for bug 1878938"

This commit is contained in:
Zuul 2020-10-30 23:10:35 +00:00 committed by Gerrit Code Review
commit b0b93c0398
1 changed files with 6 additions and 6 deletions

View File

@ -4,13 +4,13 @@ fixes:
[`bug 1878938 <https://bugs.launchpad.net/keystone/+bug/1878938>`_]
Previously when a user used to have system role assignment and tries to delete
the same role, the system role assignments still existed in system_assignment
table. This fix ensures that deleting a role should delete all the its assignments
from every assignment table.
table. This causes keystone to return `HTTP 404 Not Found` errors when listing
role assignments with names (e.g., `--names` or `?include_names`).
If you are affected by this bug, a fix in the keystone database will be
needed so we recommend to remove the stale role assignmensts before doing this
process.
If you are affected by this bug, you must remove stale role assignments
manually. The following is an example SQL statement you can use to fix the
issue, but you should verify it's applicability to your deployment's SQL
implementation and version.
SQL:
- delete from assignment where role_id not in (select id from role);
- delete from system_assignment where role_id not in (select id from role);