Fixes to support fog-openstack-1.x

fog-openstack-1.x already appends "auth/tokens" so we no longer need to
do that.  In addition, we no longer need to set the endpoint type as it
sets it properly.

Depends-On: https://review.opendev.org/665826
Change-Id: I929722b032e37970fe74018e609b76c1682e0db9
Signed-off-by: Lance Albertson <lance@osuosl.org>
This commit is contained in:
Lance Albertson 2019-06-18 15:52:00 -07:00
parent d68cadb1a8
commit 4957744bba
1 changed files with 1 additions and 3 deletions

View File

@ -45,16 +45,14 @@ admin_pass = get_password 'user', admin_user
admin_project = node['openstack']['identity']['admin_project']
admin_domain = node['openstack']['identity']['admin_domain_name']
admin_project_domain_name = node['openstack']['identity']['admin_project_domain']
endpoint_type = node['openstack']['identity']['endpoint_type']
connection_params = {
openstack_auth_url: "#{auth_url}/auth/tokens",
openstack_auth_url: auth_url,
openstack_username: admin_user,
openstack_api_key: admin_pass,
openstack_project_name: admin_project,
openstack_domain_name: admin_domain,
openstack_endpoint_type: endpoint_type,
}
%w(user1 user2).each_with_index do |user|