ansible-deployer: alarm-gen reports rabbitmq connection down

Bug #1757322 reported by Senthilnathan Murugappan
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Critical
alexey-mr

Bug Description

nodestatus uve of alarm-gen reports rabbitmq connection down in ansible-deployer based provisioned openstack cluster.
Version: 5.0.0-34

curl http://10.87.118.140:5995/Snh_SandeshUVECacheReq?x=NodeStatus | xmllint --format -

                  <ConnectionInfo>
                    <type type="string" identifier="1">Database</type>
                    <name type="string" identifier="2">RabbitMQ</name>
                    <server_addrs type="list" identifier="3">
                      <list type="string" size="3">
                        <element>10.10.0.7</element>
                        <element>10.10.0.8</element>
                        <element>10.10.0.9</element>
                      </list>
                    </server_addrs>
                    <status type="string" identifier="4">Down</status>
                    <description type="string" identifier="5"/>
                  </ConnectionInfo>

alarm-gen.conf:
[root@server4 ~]# cat /etc/contrail/analytics/contrail-alarm-gen.conf
[DEFAULTS]
host_ip=10.10.0.7
partitions=30
http_server_port=5995
log_file=/var/log/contrail/contrail-alarm-gen.log
log_level=SYS_NOTICE
log_local=1
collectors=10.10.0.7:8086 10.10.0.8:8086 10.10.0.9:8086
kafka_broker_list=10.10.0.7:9092 10.10.0.8:9092 10.10.0.9:9092
zk_list=10.10.0.7:2182 10.10.0.8:2182 10.10.0.9:2182

[API_SERVER]
# List of api-servers in ip:port format separated by space
api_server_list=10.10.0.7:8082 10.10.0.8:8082 10.10.0.9:8082
api_server_use_ssl=False

[REDIS]
redis_server_port=6379
redis_uve_list=10.10.0.7:6379 10.10.0.8:6379 10.10.0.9:6379

[CONFIGDB]
config_db_server_list=10.10.0.7:9161 10.10.0.8:9161 10.10.0.9:9161

rabbitmq_server_list=10.10.0.7,10.10.0.8,10.10.0.9
rabbitmq_vhost=/
rabbitmq_user=guest
rabbitmq_password=guest
rabbitmq_use_ssl=False

[SANDESH]
introspect_ssl_enable=False
sandesh_ssl_enable=False

contrail-api.conf for reference where in rabbitmq is reported as working fine.

[root@server4 ~]# cat /etc/contrail/config/contrail-api.conf
[DEFAULTS]
listen_ip_addr=10.10.0.7
listen_port=8082
http_server_port=8084
log_file=/var/log/contrail/contrail-api.log
log_level=SYS_NOTICE
log_local=1
list_optimization_enabled=True
auth=keystone
aaa_mode=no-auth
cloud_admin_role=admin
global_read_only_role=
cassandra_server_list=10.10.0.7:9161 10.10.0.8:9161 10.10.0.9:9161
zk_server_ip=10.10.0.7:2181,10.10.0.8:2181,10.10.0.9:2181

rabbit_server=10.10.0.7:5673,10.10.0.8:5673,10.10.0.9:5673
rabbit_vhost=/
rabbit_user=guest
rabbit_password=guest
rabbit_use_ssl=False

redis_server=127.0.0.1
collectors=10.10.0.7:8086 10.10.0.8:8086 10.10.0.9:8086

[SANDESH]
introspect_ssl_enable=False
sandesh_ssl_enable=False

Changed in juniperopenstack:
milestone: none → r5.0.0
tags: added: sanityblocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/40956
Submitter: alexey-mr (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/40956
Committed: http://github.com/Juniper/contrail-container-builder/commit/38d69b9e4f85f00a3fe2be564c8794e844333e0a
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 38d69b9e4f85f00a3fe2be564c8794e844333e0a
Author: alexey-mr <email address hidden>
Date: Thu Mar 22 20:36:14 2018 +0300

Use RABBITMQ_SERVERS in alragm-gen

Change-Id: Id2a189530211510b0ea9808f897a645a4afba05d
Closes-Bug: #1757322

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.