Change role setting for octavia
By default python-tempestconf will set the same role for octavia as was set in auth.tempest_roles. In case of more roles set in auth.tempest_roles, the first one will be used. Story: 2007471 Task: 39159 Change-Id: I9067a27eab04e6ff8a86f15ee71699321992e95e
This commit is contained in:
parent
a267acfbec
commit
32b60cc833
@ -23,7 +23,6 @@ class LoadBalancerService(VersionedService):
|
||||
|
||||
def set_default_tempest_options(self, conf):
|
||||
conf.set('load_balancer', 'enable_security_groups', 'True')
|
||||
conf.set('load_balancer', 'member_role', '_member_')
|
||||
conf.set('load_balancer', 'admin_role', 'admin')
|
||||
conf.set('load_balancer', 'RBAC_test_type', 'owner_or_admin')
|
||||
|
||||
@ -34,3 +33,7 @@ class LoadBalancerService(VersionedService):
|
||||
@staticmethod
|
||||
def get_codename():
|
||||
return 'octavia'
|
||||
|
||||
def post_configuration(self, conf, is_service):
|
||||
conf.set('load_balancer', 'member_role',
|
||||
conf.get('auth', 'tempest_roles').split(',')[0])
|
||||
|
Loading…
Reference in New Issue
Block a user