Add missing domain parameter to _get_group_roles

Adds missing 'domain' parameter to function which
was causing errors when using keystone federation.

Change-Id: Icfc06feae806a9faf8f4d12bf2281dd6c9772989
Closes-Bug: 1733108
Signed-off-by: Michael Rice <michael@michaelrice.org>
This commit is contained in:
Michael Rice 2017-11-18 13:07:18 -06:00 committed by Jesse Pretorius (odyssey4me)
parent f37321af6b
commit 8ead9b2685
1 changed files with 3 additions and 2 deletions

View File

@ -906,10 +906,11 @@ class ManageKeystone(object):
else:
return None
def _get_group_roles(self, name, group, project):
def _get_group_roles(self, name, group, project, domain):
group_list = self.keystone.roles.list(
group=group,
project=project
project=project,
domain=domain
)
for entry in group_list:
if entry.name == name: