schema/api-server can get disconnected from zk at times in a scale setup
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
High
|
Hampapur Ajay | |||
Trunk |
Fix Committed
|
High
|
Hampapur Ajay |
Bug Description
R2.20 Build 45 Ubuntu 14.04 Juno multi-node setup
In this tor-scale setup, we have ~64K vns,
128 tors and 128K vmis on 500 vns.
It was seen that schema gets disconnected from zk every few mins (5-10 mins) and it would become active on a new master
schema-zk.log keeps showing these :
06/09/2015 09:02:37 AM [schema]: Connection dropped: socket connection broken
06/09/2015 09:02:37 AM [schema]: Transition to CONNECTING
06/09/2015 09:02:37 AM [schema]: Zookeeper connection lost
06/09/2015 09:02:37 AM [schema]: Connecting to 192.168.1.3:2181
06/09/2015 09:02:37 AM [schema]: Sending request(xid=None): Connect(
06/09/2015 09:02:37 AM [schema]: Session has expired
06/09/2015 09:02:37 AM [schema]: Zookeeper session lost, state: EXPIRED_SESSION
06/09/2015 09:02:38 AM [schema]: Connecting to 192.168.1.4:2181
06/09/2015 09:02:38 AM [schema]: Sending request(xid=None): Connect(
06/09/2015 09:02:38 AM [schema]: Zookeeper connection established, state: CONNECTED
06/09/2015 09:02:38 AM [schema]: Sending request(xid=1): Exists(
06/09/2015 09:02:38 AM [schema]: Received response(xid=1): ZnodeStat(
env.roledefs = {
'all': [host2, host3, host4, host5, host6, host7, host8, host9],
'cfgm': [host2, host3, host4],
'openstack': [host2, host3, host4],
'webui': [host3],
'control': [host2, host3, host4],
'compute': [host5, host6, host7, host8, host9],
'collector': [host2, host3, host4],
'database': [host2, host3, host4],
'toragent': [host5, host6, host7, host9 ],
'tsn': [host5, host6, host7,host9 ],
'build': [host_build],
}
env.hostnames = {
'all': ['nodei34', 'nodei35', 'nodei36', 'nodei37', 'nodei38', 'nodei28', 'nodei27', 'nodei30']
}
Review in progress for https:/ /review. opencontrail. org/11461
Submitter: Sachin Bansal (<email address hidden>)