0cbf809a11
The bootstrap logic doesn't take into consideration multiple roles with the same name. If bootstrap is unable to determine which role to use and accidentally uses a domain-specific role with the same name as a default role, bootstrap will fail in unexpected ways. This change deviates slightly from the upstream patches in that the stable/queens test_cli.py module doesn't have a `self.bootstrap` attribute. Instead, we just test with `bootstrap` in the test itself. Otherwise, the test is functionally the same. Conflicts: keystone/cmd/bootstrap.py Bootstrap code used to live in keystone/cmd/cli.py before it was refactored into its own module, keystone/cmd/bootstrap.py. This caused a conflict during backport where the file patched in later releases because the file didn't exist. Instead, a functionally equivalent change was proposed to keystone/cmd/cli.py. Closes-Bug: 1856881 Change-Id: Iddc364d8c934b6e54d1e8c75b8b159faadbf865d (cherry picked from commit |
||
---|---|---|
.. | ||
doctor | ||
__init__.py | ||
cli.py | ||
manage.py |