telemetry plugin does not honor rabbitmq decompose

Bug #1668396 reported by Dmitry Sutyagin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
High
Dmitry Sutyagin

Bug Description

Reproduced in MOS 9.2 + telemetry plugin 1.0 + StackLight plugins 1.0

Steps to reproduce:
- have 9.2 with telemetry plugin + StackLight plugins 1.0
- decompose rabbitmq role and set to deploy it on separate nodes (from controllers)
- deploy

Expected result:
- Deployment succeeded

Actual result:
 - Deployment has failed. All nodes are finished. Failed tasks: Task[telemetry-heka/21] Stopping the deployment process!

telemetry-heka failed because crm resource clone_p_telemetry-collector-heka cannot start.
telemetry-collector-heka cannot start because it cannot connect to amqp, because in it's config
/etc/telemetry-collector-heka/amqp-openstack_sample.toml the IP of RabbitMQ server is local management IP of the controller, and not any of the decomposed RabbitMQ nodes.

Revision history for this message
Dmitry Sutyagin (dsutyagin) wrote :

Same issue if Standalone RabbitMQ plugin is used

Revision history for this message
Dmitry Sutyagin (dsutyagin) wrote :

Workaround is to live-patch the config /etc/telemetry-collector-heka/amqp-openstack_sample.toml while telemetry-heka task is running, setting correct IP there. If this is done in time, task does not fail and deployment finishes successfully.

Revision history for this message
Dmitry Sutyagin (dsutyagin) wrote :
Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

Dmitry, if you'll keep self-confirming bugs you won't get any result. Please don't skip the confirmation procedure, which is essential for bug to be assigned to a proper team.

Changed in fuel:
status: Confirmed → New
Revision history for this message
Dmitry Sutyagin (dsutyagin) wrote :

My bad!

Anyway, the proposed fix is https://review.openstack.org/#/c/438931/, but I feel like it's incorrect, I will need to test it. For customer we made a different fix by taking some code from detached-rabbitmq plugin manifest to extract IPs of rabbitmq nodes.

Changed in fuel:
assignee: nobody → MOS Ceilometer (mos-ceilometer)
Changed in fuel:
status: New → Confirmed
tags: added: area-ceilometer
Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

Dmitry, are you okay with existing patch? Seems that a proper solution is a feature request.

Changed in fuel:
assignee: MOS Ceilometer (mos-ceilometer) → Dmitry Sutyagin (dsutyagin)
Revision history for this message
Dmitry Sutyagin (dsutyagin) wrote :

The provided patch is useless, no need to merge it. Im ok if this gets a "won't fix".

Changed in fuel:
status: Confirmed → Won't Fix
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.