From 8011e9cda05ca55c9ee2515997c0c1c33ccd8b84 Mon Sep 17 00:00:00 2001 From: Brad Pokorny Date: Thu, 7 Jan 2016 21:26:48 -0800 Subject: [PATCH] Update url_for parameter for domain policy check Now that the keystoneauth package is being used, we need to update calls to url_for to use the "interface" parameter instead of "endpoint_type". Change-Id: I441e9f085569f76115d235a210ebb5f296208c69 Closes-Bug: #1532308 --- openstack_auth/policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_auth/policy.py b/openstack_auth/policy.py index 5461b22d..8d09f48e 100644 --- a/openstack_auth/policy.py +++ b/openstack_auth/policy.py @@ -204,7 +204,7 @@ def _domain_to_credentials(request, user): return None domain_user = auth_user.create_user_from_token( request, auth_user.Token(domain_auth_ref), - domain_auth_ref.service_catalog.url_for(endpoint_type=None)) + domain_auth_ref.service_catalog.url_for(interface=None)) user._domain_credentials = _user_to_credentials(domain_user) # uses the domain_id associated with the domain_user