In a multi-controller setup, kube-manager is not connecting to contrail-api
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
High
|
Vedamurthy Joshi | |||
Trunk |
Fix Committed
|
High
|
Vedamurthy Joshi |
Bug Description
R4.0 Build 7 Ubuntu 16.04.2 container controller setup
On a multi-contrail-
In contrail-
vnc_endpoint_ip = 10.204.
With such a config, kube-manager does not connect to contrail-api at all.
If it is just one IP, i.e
vnc_endpoint_ip = 10.204.216.58
things are fine.
(Pdb) n
> /usr/lib/
-> try:
(Pdb) l
126 # Retry till API server connection is up
127 connected = False
128 import pdb; pdb.set_trace()
129 self.connection
130 while not connected:
131 -> try:
132 vnc_lib = VncApi(
133 self.args.
134 self.args.
135 auth_token_
136 connected = True
(Pdb) n
> /usr/lib/
-> vnc_lib = VncApi(
(Pdb) l
127 connected = False
128 import pdb; pdb.set_trace()
129 self.connection
130 while not connected:
131 try:
132 -> vnc_lib = VncApi(
133 self.args.
134 self.args.
135 auth_token_
136 connected = True
137 self.connection
(Pdb) n
> /usr/lib/
-> self.args.
(Pdb) n
> /usr/lib/
-> self.args.
(Pdb)
> /usr/lib/
-> auth_token_
(Pdb) n
ConnectionError: ConnectionError()
> /usr/lib/
-> auth_token_
(Pdb) l
130 while not connected:
131 try:
132 vnc_lib = VncApi(
133 self.args.
134 self.args.
135 -> auth_token_
136 connected = True
137 self.connection
138 except requests.
139 # Update connection info
140 self.connection
(Pdb) print self.args.
10.204.
(Pdb) l
141 time.sleep(3)
142 except ResourceExhaust
143 time.sleep(3)
144 return vnc_lib
145
146 def _sync_km(self):
147 for cls in DBBaseKM.
148 for obj in cls.list_obj():
149 cls.locate(
150
151 @staticmethod
(Pdb) n
tags: | added: blocker |
Review in progress for https:/ /review. opencontrail. org/31910
Submitter: Sachchidanand Vaidya (<email address hidden>)