diff --git a/recipes/identity_registration.rb b/recipes/identity_registration.rb index 340770c..cc338af 100644 --- a/recipes/identity_registration.rb +++ b/recipes/identity_registration.rb @@ -47,7 +47,7 @@ service_name = node['openstack']['block-storage']['service_name'] service_type = node['openstack']['block-storage']['service_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, diff --git a/spec/identity_registration_spec.rb b/spec/identity_registration_spec.rb index 98340f8..ac75c83 100644 --- a/spec/identity_registration_spec.rb +++ b/spec/identity_registration_spec.rb @@ -13,7 +13,7 @@ describe 'openstack-block-storage::identity_registration' do include_context 'block-storage-stubs' connection_params = { - openstack_auth_url: 'http://127.0.0.1:5000/v3/auth/tokens', + openstack_auth_url: 'http://127.0.0.1:5000/v3', openstack_username: 'admin', openstack_api_key: 'emc_test_pass', openstack_project_name: 'admin',