Contrail :: R4.1 14.04 46 mitaka :: analytics services should connect to zookeeper running on analyticsdb on port 2182.

Bug #1732656 reported by Ritam Gangopadhyay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Invalid
High
Anish Mehta
R4.1
Invalid
High
Anish Mehta

Bug Description

Analytics services should connect to zookeeper running on analyticsdb on port 2182.

But it connects to zookeeper running on controller

root@nodem14(analytics):/# grep -rn 2181 /etc/contrail
/etc/contrail/contrail-collector.conf:57:zookeeper_server_list = 10.10.10.14:2181,10.10.10.6:2181,10.10.10.7:2181
/etc/contrail/contrail-alarm-gen.conf:11:zk_list = 10.10.10.14:2181 10.10.10.6:2181 10.10.10.7:2181
/etc/contrail/contrail-snmp-collector.conf:9:zookeeper = 10.10.10.14:2181,10.10.10.6:2181,10.10.10.7:2181
/etc/contrail/contrail-analytics-api.conf:17:zk_list = 10.10.10.14:2181 10.10.10.6:2181 10.10.10.7:2181
/etc/contrail/contrail-topology.conf:9:#zookeeper=127.0.0.1:2181
/etc/contrail/contrail-topology.conf:23:zookeeper = 10.10.10.14:2181,10.10.10.6:2181,10.10.10.7:2181
root@nodem14(analytics):/#

root@nodem14(controller):/# netstat -anp | grep 2182
tcp 0 0 10.10.10.14:5672 10.10.10.14:52182 ESTABLISHED 38849/beam.smp
tcp 0 0 10.10.10.14:52182 10.10.10.14:5672 ESTABLISHED 749/python
tcp6 0 0 :::2182 :::* LISTEN 36778/java
tcp6 0 0 10.10.10.14:55392 10.10.10.14:2182 ESTABLISHED 6009/java
tcp6 0 0 10.10.10.14:2182 10.10.10.14:55392 ESTABLISHED 36778/java
root@nodem14(controller):/# netstat -anp | grep 2181
tcp 0 0 10.10.10.14:40154 10.10.10.6:2181 ESTABLISHED 18303/python
tcp 0 0 10.10.10.14:49180 10.10.10.7:2181 ESTABLISHED 11539/python
tcp 0 0 10.10.10.14:44636 10.10.10.7:2181 ESTABLISHED 17668/python
tcp 0 0 10.10.10.14:59452 10.10.10.14:2181 ESTABLISHED 27186/python
tcp 0 0 10.10.10.14:51966 10.10.10.7:2181 ESTABLISHED 18302/python
tcp 0 0 10.10.10.14:38346 10.10.10.6:2181 ESTABLISHED 13627/python
tcp 0 0 10.10.10.14:48346 10.10.10.14:2181 ESTABLISHED 18308/python
tcp 0 0 10.10.10.14:46350 10.10.10.14:2181 ESTABLISHED 18306/python
tcp 0 0 10.10.10.14:37080 10.10.10.7:2181 ESTABLISHED 20492/python
tcp 0 0 10.10.10.14:55480 10.10.10.7:2181 ESTABLISHED 25493/python
tcp 0 0 10.10.10.14:40238 10.10.10.6:2181 ESTABLISHED 18308/python
tcp6 0 0 :::2181 :::* LISTEN 13655/java
tcp6 0 0 10.10.10.14:2181 10.10.10.7:53450 ESTABLISHED 13655/java
tcp6 0 0 10.10.10.14:2181 10.10.10.6:55894 ESTABLISHED 13655/java
tcp6 0 0 10.10.10.14:2181 10.10.10.14:59452 ESTABLISHED 13655/java
tcp6 0 0 10.10.10.14:2181 10.10.10.7:42154 ESTABLISHED 13655/java
tcp6 0 0 10.10.10.14:2181 10.10.10.7:42086 ESTABLISHED 13655/java
tcp6 0 0 10.10.10.14:2181 10.10.10.7:42084 ESTABLISHED 13655/java
tcp6 0 0 10.10.10.14:2181 10.10.10.14:48346 ESTABLISHED 13655/java
tcp6 0 0 10.10.10.14:2181 10.10.10.14:46350 ESTABLISHED 13655/java
tcp6 0 0 10.10.10.14:2181 10.10.10.6:38232 ESTABLISHED 13655/java
root@nodem14(controller):/#

summary: Contrail :: R4.1 14.04 46 mitaka :: analytics services should connect to
- zookeeper running on analytics db.
+ zookeeper running on analyticsdb on port 2182.
description: updated
Changed in juniperopenstack:
assignee: nobody → Anish Mehta (amehta00)
tags: added: sanity
Revision history for this message
Anish Mehta (amehta00) wrote :

We use the zookeeper instance on config node for everything except Kafka.
That's the design for R4.0 and R4.1.

Is this design causing other problems? Please explain.

Changed in juniperopenstack:
status: New → Invalid
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.