Discovery showed a compute node not subscribed to any collector
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
New
|
High
|
Deepinder Setia |
Bug Description
R1.10 Build 59 Ubuntu multi-node running Icehouse
After a couple of parallel sanity runs on this setup, started seeing the below issue.
Logs on the nodes will be in http://
Pasting the mail chain..
From: Sandip Dey <email address hidden>
Date: Saturday, October 18, 2014 at 10:06 PM
To: Vedamurthy Joshi <email address hidden>, Sundaresan Rajangam <email address hidden>, Nagabhushana R <email address hidden>
Subject: Re: One vrouter is not subscribed to collector service
http://
subscriber
serviceName subscribe_sent subscribe_fail subscribe_rcvd subscribe_retries
Collector
19
0
19
0
dns-server
20
0
20
0
xmpp-server
20
0
20
0
http://
p
10.204.217.69
port
8086
status
Established
more
false
http://
From discovery.log
10/18/2014 04:39:32 PM [nodec22:
See this crash in contrail-
10.204.217.7 - - [2014-10-18 16:39:32] "POST /heartbeat HTTP/1.1" 200 121 0.006030
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
data_sent += self.send(
File "/usr/lib/
return sock.send(data, flags)
error: [Errno 104] Connection reset by peer
{'CONTENT_LENGTH': '81',
'CONTENT_TYPE': 'application/xml',
'GATEWAY_
'HTTP_ACCEPT': '*/*',
'HTTP_HOST': '10.204.
'PATH_INFO': '/publish/nodec22',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.204.217.7',
'REMOTE_PORT': '50566',
'REQUEST_METHOD': 'POST',
error: [Errno 104] Connection reset by peer
{'CONTENT_LENGTH': '81',
'CONTENT_TYPE': 'application/xml',
'GATEWAY_
'HTTP_ACCEPT': '*/*',
'HTTP_HOST': '10.204.
'PATH_INFO': '/publish/nodec22',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.204.217.7',
'REMOTE_PORT': '50566',
'REQUEST_METHOD': 'POST',
'SCRIPT_NAME': '',
'SERVER_NAME': 'ip6-localhost',
'SERVER_PORT': '9110',
'SERVER_PROTOCOL': 'HTTP/1.0',
'SERVER_SOFTWARE': 'gevent/1.0 Python/2.7',
'bottle.app': <bottle.Bottle object at 0x225c6d0>,
'bottle.request': <LocalRequest: POST http://
'bottle.
'bottle.
'bottle.
'bottle.route': <POST '/publish/
'route.handle': <POST '/publish/
'route.url_args': {'end_point': 'nodec22'},
'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f0bb7b35270>,
'wsgi.input': <StringIO.StringIO instance at 0x277cb00>,
'wsgi.
'wsgi.
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)} failed with error
Vedu, looks like discovery issue, please raise a bug and assign to Deepinder.
Regards
Sandip
From: Vedamurthy Ananth Joshi <email address hidden>
Date: Saturday, October 18, 2014 8:18 PM
To: Sandip Dey <email address hidden>, Sundaresan Rajangam <email address hidden>, Nagabhushana R <email address hidden>
Subject: One vrouter is not subscribed to collector service
Guys,
On my setup: out of 3 vrouters, one of the vrouters is not subscribed to collector service. So the discovery testcase fails. Are there any known issues here ?
This is 1.2 Build 59 image.
http://
Vrouter is nodeh5(
Setup is in same state.
env.roledefs = {
'all': [host1, host2, host3, host4, host5],
'cfgm': [host1,
'openstack': [host2],
'control': [host1,host4],
'compute': [host3,
'collector': [host1,
'webui': [host1],
'database': [host1,
'build': [host_build],
}
env.hostnames = {
'all': ['nodec22', 'nodeg30', 'nodeg29', 'nodeh4', 'nodeh5']
}