Fix metering service endpoint path spec
After installing ceilometer with the metering cookbook, invoking the ceilometer CLI fails because the API base URL used is http://127.0.0.1:8777/v1/v2 which means that the base endpoint path of /v1 is incorrect and it should be simply /. The openstack-common cookbook was updated to set the right path but we need to update the test cases, and point to the new version of the common cookbook. Change-Id: I203a5a6346a3765bb249149a209122ec3d33601d Partial-Bug: #1277742
This commit is contained in:
parent
f5e4d0fb39
commit
bc2ff068eb
|
@ -17,5 +17,5 @@ recipe 'openstack-metering::identity_registration', 'Registers the endpoints wit
|
||||||
supports os
|
supports os
|
||||||
end
|
end
|
||||||
|
|
||||||
depends 'openstack-common', '~> 8.0'
|
depends 'openstack-common', '~> 8.1'
|
||||||
depends 'openstack-identity', '~> 8.0'
|
depends 'openstack-identity', '~> 8.0'
|
||||||
|
|
|
@ -34,9 +34,9 @@ describe 'openstack-metering::identity_registration' do
|
||||||
bootstrap_token: 'bootstrap-token',
|
bootstrap_token: 'bootstrap-token',
|
||||||
service_type: 'metering',
|
service_type: 'metering',
|
||||||
endpoint_region: 'RegionOne',
|
endpoint_region: 'RegionOne',
|
||||||
endpoint_adminurl: 'http://127.0.0.1:8777/v1',
|
endpoint_adminurl: 'http://127.0.0.1:8777',
|
||||||
endpoint_internalurl: 'http://127.0.0.1:8777/v1',
|
endpoint_internalurl: 'http://127.0.0.1:8777',
|
||||||
endpoint_publicurl: 'http://127.0.0.1:8777/v1',
|
endpoint_publicurl: 'http://127.0.0.1:8777',
|
||||||
action: [:create_endpoint]
|
action: [:create_endpoint]
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue