API server errors preventing creation of routing/ service instance
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
Critical
|
Hampapur Ajay | |||
Trunk |
Fix Committed
|
Critical
|
Hampapur Ajay |
Bug Description
LBAAS netns and haproxy config is not getting created. Looks like the api server error is the one preventing the ceration of routing / service instances..
api server log is as below
http://
version : 2.02 build 46 Juno 14.04
root@cs-
+------
| id | name | address | protocol | admin_state_up | status |
+------
| 0afa003c-
+------
root@cs-
| 93264673-
http://
[]
Api.log on one of the config nodes is as below
tailf /var/log/
06/09/2015 07:47:10 PM [cs-scale-
06/09/2015 07:47:10 PM [cs-scale-
06/09/2015 07:47:10 PM [cs-scale-
06/09/2015 07:47:10 PM [cs-scale-
06/09/2015 07:47:10 PM [cs-scale-
06/09/2015 07:47:10 PM [cs-scale-
06/09/2015 07:47:10 PM [cs-scale-
06/09/2015 07:47:10 PM [cs-scale-
06/09/2015 07:47:10 PM [cs-scale-
06/09/2015 07:47:10 PM [cs-scale-
tags: | added: lbaas |
no longer affects: | juniperopenstack/r2.30 |
summary: |
- LBAAS: LBaas netns / haproxy.cfg is not getting created + LBaas netns / haproxy.cfg is not getting created |
summary: |
- LBaas netns / haproxy.cfg is not getting created + API server errors preventing creation of routing/ service instance |
description: | updated |
tags: |
added: api removed: lbaas |
tags: | added: config |
information type: | Proprietary → Public |
When following sequence of operations were done, the rabbimq drainer greenlet died forever. The rabbitmq drainer should keep running i.e. handle catch-all Exception
1. patch oslo for some backports on all controllers
2. restart rabbitmq server
3. restart all nova services
[ contrail-api was NOT restarted]
13.1.0.2 - - [2015-06-09 17:42:49] "GET /virtual- routers? detail= True HTTP/1.1" 401 192 0.022938 scale-2: contrail- api:Config: 0:__default_ _ [SYS_ERR]: VncApiError: RabbitMQ connection down cs-scale- 2:contrail- api:Config: 0:__default_ _ [SYS_NOTICE]: VncApiError: RabbitMQ connection ESTABLISHED <Connection: amqp:// guest@13. 1.0.10: 5673// at 0x7f085e208610> python2. 7/dist- packages/ gevent/ greenlet. py", line 327, in run *self.args, **self.kwargs) python2. 7/dist- packages/ cfgm_common/ vnc_kombu. py", line 112, in _connection_watch _reconnect( ) python2. 7/dist- packages/ cfgm_common/ vnc_kombu. py", line 99, in _reconnect [self._ subscribe] ) python2. 7/dist- packages/ kombu/messaging .py", line 357, in __init__ revive( self.channel) python2. 7/dist- packages/ kombu/messaging .py", line 369, in revive python2. 7/dist- packages/ kombu/messaging .py", line 379, in declare python2. 7/dist- packages/ kombu/entity. py", line 505, in declare queue_declare( nowait, passive=False) python2. 7/dist- packages/ kombu/entity. py", line 531, in queue_declare python2. 7/dist- packages/ amqp/channel. py", line 1258, in queue_declare queue_declare_ ok python2. 7/dist- packages/ amqp/abstract_ channel. py", line 69, in wait method( method_ sig, args, content) python2. 7/dist- packages/ amqp/abstract_ channel. py", line 87, in dispatch_method python2. 7/dist- packages/ amqp/channel. py", line 241, in _close cs-scale- 1-ctrl' of durable queue 'vnc_config. cs-scale- 2-9100' in vhost '/' is down or inaccessible lient._ connection_ watch of <vnc_cfg_ api_server. vnc_cfg_ ifmap.VncServer KombuClient object at 0x7f085f3ac490>>> failed with NotFound
ERROR:cs-
WARNING:
Traceback (most recent call last):
File "/usr/lib/
result = self._run(
File "/usr/lib/
self.
File "/usr/lib/
callbacks=
File "/usr/lib/
self.
File "/usr/lib/
self.declare()
File "/usr/lib/
queue.declare()
File "/usr/lib/
self.
File "/usr/lib/
nowait=nowait)
File "/usr/lib/
(50, 11), # Channel.
File "/usr/lib/
return self.dispatch_
File "/usr/lib/
return amqp_method(self, args)
File "/usr/lib/
reply_code, reply_text, (class_id, method_id), ChannelError,
NotFound: Queue.declare: (404) NOT_FOUND - home node 'rabbit@
<Greenlet at 0x7f085e2017d0: <bound method VncServerKombuC
WARNING: keystoneclient. middleware. auth_token: Unable to find authentication token in headers routers? count=False& detail= False HTTP/1.1" 200 132 0.002907 keystoneclient. middleware. auth_token: Unable to find authentication token in headers
13.1.0.3 - - [2015-06-09 17:46:04] "GET / HTTP/1.1" 401 192 0.000700
13.1.0.3 - - [2015-06-09 17:46:04] "GET / HTTP/1.1" 200 11310 0.017901
13.1.0.3 - - [2015-06-09 17:46:04] "GET /physical-
WARNING:
13.1.0.2 - - [2015-06-09 17:46:07] "GET / HTTP/1.1" 401 192 0.000702
13.1.0.2 - - [2015-06-09 17:46:08] "GET / HTTP/1.1" 200 11310 0.214082