Bug 1314732 - Telemetry is not configured in nova.conf
Summary: Telemetry is not configured in nova.conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 10.0 (Newton)
Assignee: Pradeep Kilambi
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On: 1314725
Blocks: 1335596 1356451
TreeView+ depends on / blocked
 
Reported: 2016-03-04 11:08 UTC by tkammer
Modified: 2016-12-14 15:27 UTC (History)
14 users (show)

Fixed In Version: openstack-tripleo-heat-templates-5.0.0-0.20161003064637.d636e3a.1.2.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, while deploying Red Hat OpenStack Platform 8 using director, the Telemetry service was not configured in Compute, causing some of the OpenStack Integration Test Suite tests to fail. With this update, the OpenStack Telemetry service is configured in the Compute configuration. As a result, the notification driver is set correctly and the OpenStack Integration Test Suite tests pass.
Clone Of: 1314725
Environment:
Last Closed: 2016-12-14 15:27:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:2948 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 10 enhancement update 2016-12-14 19:55:27 UTC

Description tkammer 2016-03-04 11:08:21 UTC
Description of problem:
When deploying OSP8 using director the telemetry is not configured in nova:
[root@overcloud-novacompute-0 ~]# grep 'notification_driver' /etc/nova/nova.conf 
#notification_driver =

This causes the following failures in tempest:
tempest.api.telemetry.test_telemetry_notification_api.TelemetryNotificationAPITestJSON.test_check_nova_notification

To fix this, we need to edit all the compute nodes /etc/nova/nova.conf and change the notification_driver option to messagingv2.
Then restart the openstack-nova-compute and openstack-ceilometer-compute services.

[root@overcloud-novacompute-0 ~]# crudini --set /etc/nova/nova.conf  DEFAULT  notification_driver messagingv2
[root@overcloud-novacompute-0 ~]# systemctl restart openstack-nova-compute openstack-ceilometer-compute


How reproducible:
100%

Steps to Reproduce:
1. deploy OSP8 using osp-director
2. run the above test

Comment 1 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 3 Yurii Prokulevych 2016-10-14 12:05:12 UTC
grep -ri "notification_driver" /usr/share/openstack-tripleo-heat-templates/puppet/services/nova-*
/usr/share/openstack-tripleo-heat-templates/puppet/services/nova-base.yaml:
nova::notification_driver: messagingv2

[root@compute-0 ~ ]# grep messaging /etc/nova/nova.conf 
[oslo_messaging_rabbit]
[oslo_messaging_notifications]
driver=messagingv2

Comment 6 errata-xmlrpc 2016-12-14 15:27:35 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://rhn.redhat.com/errata/RHEA-2016-2948.html


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