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:
Luis A. Garcia 2014-02-07 23:53:40 +00:00
parent f5e4d0fb39
commit bc2ff068eb
2 changed files with 4 additions and 4 deletions

View File

@ -17,5 +17,5 @@ recipe 'openstack-metering::identity_registration', 'Registers the endpoints wit
supports os
end
depends 'openstack-common', '~> 8.0'
depends 'openstack-common', '~> 8.1'
depends 'openstack-identity', '~> 8.0'

View File

@ -34,9 +34,9 @@ describe 'openstack-metering::identity_registration' do
bootstrap_token: 'bootstrap-token',
service_type: 'metering',
endpoint_region: 'RegionOne',
endpoint_adminurl: 'http://127.0.0.1:8777/v1',
endpoint_internalurl: 'http://127.0.0.1:8777/v1',
endpoint_publicurl: 'http://127.0.0.1:8777/v1',
endpoint_adminurl: 'http://127.0.0.1:8777',
endpoint_internalurl: 'http://127.0.0.1:8777',
endpoint_publicurl: 'http://127.0.0.1:8777',
action: [:create_endpoint]
)
end