Bug 1304933

Summary: ospd-8 poodle 2016-02-04.1 tempest.api.telemetry.test_telemetry_notification_api failing
Product: Red Hat OpenStack Reporter: wes hayutin <whayutin>
Component: openstack-ceilometerAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED ERRATA QA Contact: Mehdi ABAAKOUK <mabaakou>
Severity: high Docs Contact:
Priority: high    
Version: 8.0 (Liberty)CC: dbecker, jcoufal, jruzicka, jschluet, mabaakou, mburns, morazi, pkilambi, rhel-osp-director-maint, srevivo
Target Milestone: rcKeywords: Automation, AutomationBlocker, TestOnly, Triaged
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 15:22:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description wes hayutin 2016-02-05 01:23:40 UTC
Description of problem:

ospd-8 poodle 2016-02-04.1  tempest.api.telemetry.test_telemetry_notification_api failing

2016-02-04 18:30:06,805 16575 INFO     [tempest_lib.common.rest_client] Request (TelemetryNotificationAPITestJSON:test_check_glance_v1_notifications): 200 GET 0.009s
2016-02-04 18:30:06,805 16575 DEBUG    [tempest_lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '200', 'content-length': '2', 'content-location': '', 'server': 'Werkzeug/0.9.1 Python/2.7.5', 'date': 'Thu, 04 Feb 2016 23:30:06 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-ca0c7f02-f9b1-422a-90e3-0dcb7df10c97'}
        Body: []

Traceback (most recent call last):
  File "/home/stack/tempest/tempest/test.py", line 127, in wrapper
    return f(self, *func_args, **func_kwargs)
  File "/home/stack/tempest/tempest/api/telemetry/test_telemetry_notification_api.py", line 50, in test_check_glance_v1_notifications
    self.await_samples(metric, query)
  File "/home/stack/tempest/tempest/api/telemetry/base.py", line 131, in await_samples
tempest.exceptions.TimeoutException: Request timed out
Details: Sample for metric:image.size with query:('resource', 'eq', u'd4093716-7d4b-42ca-ade6-22cfb61fdd90') has not been added to the database within 300 seconds

Comment 2 wes hayutin 2016-02-05 01:26:12 UTC
tempest tests failing


Comment 3 wes hayutin 2016-02-05 01:26:19 UTC
tempest tests failing


Comment 4 Yurii Prokulevych 2016-02-10 13:00:09 UTC
Looks like this BZ 1299563

Comment 5 Pradeep Kilambi 2016-02-24 18:22:09 UTC
patch submitted upstream tripleo:


Comment 6 Mike Burns 2016-04-07 21:07:13 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 8 Mehdi ABAAKOUK 2016-10-20 13:40:14 UTC
The tempest itself doesn't exists anymore because Ceilometer sample-api is disable in OSP10.

On a fresh OSPd 10.0, the messaging is correcly configured
$ sudo grep ^driver /etc/nova/nova.conf 

Also during the test plan ran for rhbz#1366721, we have assert that we receive the nova notification in Gnocchi (the new backend for ceilometer), so the feature work as expected now.

If the ceilometer backend is manually setuped to the old mongodb one, the tempest will now pass too.

Comment 10 errata-xmlrpc 2016-12-14 15:22:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.