set the right notification driver for glance telemetry

Bug #1631939 reported by Pradeep Kilambi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Pradeep Kilambi

Bug Description

info from downstream bug:

Description of problem:
Glance telemetry notification api is failing due the miss configure config file

Version-Release number of selected component (if applicable):
python-glanceclient-1.1.0-1.el7ost.noarch
python-glance-11.0.1-3.el7ost.noarch
python-glance-store-0.9.1-1.el7ost.noarch
openstack-glance-11.0.1-3.el7ost.noarch
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 OSP-D
2. Run tempest

Actual results:
tempest.api.telemetry.test_telemetry_notification_api.TelemetryNotificationAPITestJSON.test_check_glance_v1_notifications

Fails

Expected results:
tempest.api.telemetry.test_telemetry_notification_api.TelemetryNotificationAPITestJSON.test_check_glance_v1_notifications

Pass

Additional info:
To fix it, you need to edit /etc/glance/glance-api.conf and set the rabbit_hosts and notification_driver options properly:

crudini --set /etc/glance/glance-api.conf oslo_messaging_rabbit rabbit_hosts IP_RABBIT_DAEMON
crudini --set /etc/glance/glance-api.conf DEFAULT notification_driver messagingv2

And restart the services:

systemctl restart openstack-ceilometer-alarm-notifier.service openstack-ceilometer-api.service openstack-ceilometer-collector.service openstack-ceilometer-notification.service openstack-ceilometer-polling.service openstack-ceilometer-alarm-evaluator.service
systemctl restart openstack-glance-api openstack-glance-registry

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/384481

Changed in tripleo:
status: New → In Progress
tags: added: newton-backport-potential
Changed in tripleo:
milestone: none → ocata-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/384481
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=6d9f97f35950fcb41657124bc110919733423d9b
Submitter: Jenkins
Branch: master

commit 6d9f97f35950fcb41657124bc110919733423d9b
Author: Pradeep Kilambi <email address hidden>
Date: Mon Oct 10 08:45:08 2016 -0400

    Set the notification driver for glance

    Need to set the right default notification driver for glance so
    telemetry receives them accordingly. Without this tempest tests
    fail.

    Closes-bug: #1631939

    Change-Id: I1cee5467d077eea6142076925646f7d0cdae96c7

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/386011

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/newton)

Reviewed: https://review.openstack.org/386011
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=7fe61c92fb9eaea9121722b777b90a0631ba8755
Submitter: Jenkins
Branch: stable/newton

commit 7fe61c92fb9eaea9121722b777b90a0631ba8755
Author: Pradeep Kilambi <email address hidden>
Date: Mon Oct 10 08:45:08 2016 -0400

    Set the notification driver for glance

    Need to set the right default notification driver for glance so
    telemetry receives them accordingly. Without this tempest tests
    fail.

    Closes-bug: #1631939

    Change-Id: I1cee5467d077eea6142076925646f7d0cdae96c7
    (cherry picked from commit 6d9f97f35950fcb41657124bc110919733423d9b)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0.0rc3

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0.0rc3 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.0.0.0b1

This issue was fixed in the openstack/tripleo-heat-templates 6.0.0.0b1 development milestone.

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.