Ceilometer is not installed on check-grenade-devstack-vm environment

Bug #1248924 reported by Nikolay Pliashechnikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Invalid
Undecided
Unassigned

Bug Description

When I have tried to put my Ceilometer tests to Gerrit code review, all of them have failed on check-grenade-devstack-vm step with "Endpoint not found" error. Looks like Ceilometer is not installed or is not properly configured in this environment, as "metering" endpoint is missing.

Here is the link to the code review page: https://review.openstack.org/#/c/55276/
Link to failed Tempest run: http://logs.openstack.org/76/55276/3/check/check-grenade-devstack-vm/7ff4674/console.html

A short snippet from the Tempest log:
2013-11-07 10:32:53.935 | Traceback (most recent call last):
2013-11-07 10:32:53.935 | File "tempest/api/metering/test_ceilometer_api.py", line 90, in test_001_list_resources
2013-11-07 10:32:53.935 | resp, data = self.os.ceilometer_client.list_resources()
2013-11-07 10:32:53.935 | File "tempest/services/metering/json/ceilometer_client.py", line 45, in list_resources
2013-11-07 10:32:53.935 | resp, body = self.get(uri, self.headers)
2013-11-07 10:32:53.936 | File "tempest/common/rest_client.py", line 305, in get
2013-11-07 10:32:53.936 | return self.request('GET', url, headers)
2013-11-07 10:32:53.936 | File "tempest/common/rest_client.py", line 416, in request
2013-11-07 10:32:53.936 | self._set_auth()
2013-11-07 10:32:53.936 | File "tempest/common/rest_client.py", line 110, in _set_auth
2013-11-07 10:32:53.936 | self.service, self.tenant_name))
2013-11-07 10:32:53.937 | File "tempest/common/rest_client.py", line 192, in keystone_auth
2013-11-07 10:32:53.937 | raise exceptions.EndpointNotFound(service)
2013-11-07 10:32:53.937 | EndpointNotFound: Endpoint not found
2013-11-07 10:32:53.937 | Details: metering

Revision history for this message
James E. Blair (corvus) wrote :

This confuses me: I think ceilometer should be installed. I'm adding ceilometer and tempest for their opinion.

Revision history for this message
Julien Danjou (jdanjou) wrote :

I'm confused, latest run of grenade on this patchset seems to indicate SUCCESS.

Revision history for this message
Sean Dague (sdague) wrote :

grenade is passing because we aren't running ceilometer tests any more in grenade, only tests relating to the services that actually install on old and new.

If ceilometer wasn't correctly configured and started on the "old" side of grenade, it won't be there on the new side.

Revision history for this message
Sean Dague (sdague) wrote :

not a tempest bug

no longer affects: tempest
Revision history for this message
Jeremy Stanley (fungi) wrote :

It looks like this was solved in grenade by not trying to upgrade Ceilometer from Havana.

Changed in openstack-ci:
status: New → Invalid
Julien Danjou (jdanjou)
no longer affects: ceilometer
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.