Admin role is always assumed to be 'admin'
Bug #1680294 reported by
Felipe Monteiro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Patrole |
Fix Released
|
Low
|
Unassigned |
Bug Description
Currently, the Patrole framework always assumes that the admin role is "admin". But this might not necessarily be the case. The word "admin" is just a convention, but is nonetheless an arbitrary designation for administration privileges.
Instead, the Patrole framework should take advantage of the already-existing Tempest conf option:
cfg.
Changed in patrole: | |
importance: | Undecided → Low |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/462734 /git.openstack. org/cgit/ openstack/ patrole/ commit/ ?id=f6b69e23b95 d5348a19774ed14 f14b53b52b1452
Committed: https:/
Submitter: Jenkins
Branch: master
commit f6b69e23b95d534 8a19774ed14f14b 53b52b1452
Author: Felipe Monteiro <email address hidden>
Date: Thu May 4 21:55:04 2017 +0100
Change "admin" literal for admin role to CONF admin_role
Currently, the Patrole framework always assumes that the admin
role is "admin". But this might not necessarily be the case.
The word "admin" is just a convention, but is nonetheless an
arbitrary designation for administration privileges.
Instead, the Patrole framework should take advantage of the existing Tempest configuration option:
already-
This patch changes instances of 'admin' (for identifying the identity. admin_role` `. This patch doesn't set_override` ` to change the ``admin_role``
admin role) with ``CONF.
make changes to 'admin' in unit tests, as that's not necessary,
but instead uses ``CONF.
to "admin".
Closes-Bug: #1680294 60fe10bb7e8495e 7e384e552c1
Change-Id: Ia4431c2a16892a