Actions
Feature #27253
closedPre-upgrade check to identify duplicate roles and offer procedure to delete them
Difficulty:
Triaged:
No
Bugzilla link:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1720253
Description of problem:
If duplicate roles exist in DB, upgrade fails with error Validation failed: Name has already been taken at db:migrate stage.
Original BZ - https://bugzilla.redhat.com/show_bug.cgi?id=1651389
which explains this problem in details.
To resolve this, it would be good to have pre-upgrade check in Foreman Maintain
which warn user for duplicate roles and offer a procedure to delete roles, which are not used by any user/usergroup.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Actions