Fixes to support fog-openstack-1.x

fog-openstack-1.x already appends "auth/tokens" so we no longer need to
do that.

Depends-On: https://review.opendev.org/666176
Change-Id: Id090b2f70bf2844ce73fc75a1fe4871d3465485d
Signed-off-by: Lance Albertson <lance@osuosl.org>
This commit is contained in:
Lance Albertson 2019-06-18 15:53:01 -07:00
parent 9c2757e528
commit f2a4e0c7ee
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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',