Bug 1316018 - tempest.scenario.test_object_storage_telemetry_middleware.TestObjectStorageTelemetry is failing
Summary: tempest.scenario.test_object_storage_telemetry_middleware.TestObjectStorageTe...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ga
: 12.0 (Pike)
Assignee: Eoghan Glynn
QA Contact: Martin Kopec
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-09 09:32 UTC by Arx Cruz
Modified: 2018-02-05 19:02 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 20:40:44 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Arx Cruz 2016-03-09 09:32:38 UTC
Description of problem:
tempest.scenario.test_object_storage_telemetry_middleware.TestObjectStorageTelemetry is failing

Version-Release number of selected component (if applicable):
openstack-ceilometer-collector-5.0.2-2.el7ost.noarch
python-ceilometerclient-1.5.2-1.el7ost.noarch
python-ceilometer-5.0.2-2.el7ost.noarch
openstack-ceilometer-api-5.0.2-2.el7ost.noarch
openstack-ceilometer-compute-5.0.2-2.el7ost.noarch
python-ceilometermiddleware-0.3.0-1.el7ost.noarch
openstack-ceilometer-common-5.0.2-2.el7ost.noarch
openstack-ceilometer-polling-5.0.2-2.el7ost.noarch
openstack-ceilometer-notification-5.0.2-2.el7ost.noarch
openstack-ceilometer-alarm-5.0.2-2.el7ost.noarch
openstack-ceilometer-central-5.0.2-2.el7ost.noarch


How reproducible:


Steps to Reproduce:
1. Install OSPD
2. Run tempest

Actual results:
tempest.scenario.test_object_storage_telemetry_middleware.TestObjectStorageTelemetry 

Fails

Expected results:
tempest.scenario.test_object_storage_telemetry_middleware.TestObjectStorageTelemetry

Pass

Additional info:
In order to make it work on RHOS 7 and furter, it requires the package python-ceilometermiddleware which isn't installed in OSP-D deployment, for some reason.

Then, you need to edit /etc/swift/proxy-server.conf and setup the ceilometer in main pipeline:

pipeline=`cat /etc/swift/proxy-server.conf |grep "pipeline =" | sed 's/pipeline = //' | sed 's/proxy-server//'`
crudini --set /etc/swift/proxy-server.conf pipeline:main pipeline "$pipeline ceilometer proxy-server"
crudini --set /etc/swift/proxy-server.conf filter:ceilometer paste.filter_factory ceilometermiddleware.swift:filter_factory
crudini --set /etc/swift/proxy-server.conf filter:ceilometer control_exchange swift
crudini --set /etc/swift/proxy-server.conf filter:ceilometer url rabbit://guest:guest@RABBIT_IP:5672
crudini --set /etc/swift/proxy-server.conf filter:ceilometer driver messagingv2
crudini --set /etc/swift/proxy-server.conf filter:ceilometer topic notifications
crudini --set /etc/swift/proxy-server.conf filter:ceilometer log_level WARN

And restart the server:
systemctl restart openstack-swift-proxy

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

Comment 4 Fabio Massimo Di Nitto 2017-05-18 15:25:04 UTC
hi Eoghan,

this bug was erroneously assigned to OpsTools. Could you please get somebody from Telemetry DFG to check if the issue still exists?

Tempest tests should be fixed/checked by corresponding DFGs.

Comment 5 Pradeep Kilambi 2017-05-18 18:45:03 UTC
We already deploy python-ceilometermiddleware as part of swift-proxy configuration in tripleo deployments so i think this is already fixed. I'll move it to TestOnly and have QA verify it.

Comment 13 errata-xmlrpc 2017-12-13 20:40:44 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.

https://access.redhat.com/errata/RHEA-2017:3462


Note You need to log in before you can comment on or make changes to this bug.