service monitor repeatedly crashing after tempest run
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R1.1 |
Fix Committed
|
High
|
Rudra Rugge | |||
Trunk |
Fix Committed
|
High
|
Rudra Rugge |
Bug Description
R1.10 Build 38 Centos 6.5 Icehouse
service monitor is repeatedly crashing on a multi-cfgm setup.
Logs of two config nodes nodei34 and nodei35 will be in http://
Tasks: 679 total, 3 running, 676 sleeping, 0 stopped, 0 zombie
Cpu(s): 5.9%us, 0.8%sy, 0.0%ni, 93.2%id, 0.1%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 198310572k total, 24413604k used, 173896968k free, 186256k buffers
Swap: 4194296k total, 0k used, 4194296k free, 5078268k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
17389 root 20 0 377m 136m 6200 R 75.1 0.1 117:07.64 contrail-svc-mo
19379 root 20 0 2251m 119m 8052 S 59.7 0.1 219:57.99 contrail-collec
17387 root 20 0 579m 318m 6620 S 36.6 0.2 94:04.50 contrail-api
12438 root 20 0 25.7g 7.5g 830m S 25.0 4.0 77:04.24 java
6344 root 20 0 296m 43m 6288 S 19.3 0.0 10:56.64 contrail-schema
17713 rabbitmq 20 0 4591m 131m 3152 S 15.4 0.1 15:59.57 beam.smp
13112 root 20 0 15424 1672 888 R 3.9 0.0 0:00.02 top
16129 mysql 20 0 7889m 69m 6476 S 3.9 0.0 0:48.57 mysqld
16290 cinder 20 0 304m 50m 5308 S 1.9 0.0 1:43.66 python
16465 nova 20 0 404m 74m 3252 S 1.9 0.0 0:09.58 python
16468 nova 20 0 403m 73m 3252 S 1.9 0.0 0:09.37 python
16471 nova 20 0 404m 74m 3228 S 1.9 0.0 0:09.50 python
16487 nova 20 0 405m 74m 3228 S 1.9 0.0 0:09.68 python
16488 nova 20 0 405m 74m 3252 S 1.9 0.0 0:09.71 python
16494 nova 20 0 406m 76m 3252 S 1.9 0.0 0:09.88 python
16495 nova 20 0 403m 73m 3252 S 1.9 0.0 0:09.50 python
16496 nova 20 0 408m 78m 3252 S 1.9 0.0 0:09.91 python
16497 nova 20 0 403m 73m 3252 S 1.9 0.0 0:09.72 python
16507 nova 20 0 402m 71m 3252 S 1.9 0.0 0:09.17 python
16509 nova 20 0 404m 74m 3252 S 1.9 0.0 0:09.71 python
16510 nova 20 0 402m 72m 3252 S 1.9 0.0 0:09.29 python
16514 nova 20 0 402m 71m 3248 S 1.9 0.0 0:09.55 python
17275 root 20 0 195m 11m 1492 S 1.9 0.0 4:10.34 supervisord
17386 root 20 0 34.9g 818m 11m S 1.9 0.4 5:52.91 java
18797 haproxy 20 0 19468 2088 576 R 1.9 0.0 4:28.15 haproxy
1 root 20 0 19232 1496 1220 S 0.0 0.0 0:02.44 init
[root@nodei34 contrail]#
The svc-monitor.err log is full of these :
<type 'exceptions.
Python 2.6.6: /usr/bin/python
Wed Sep 24 01:39:48 2014
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/usr/lib/
566 pollreq = PollRequest(
567 result = arc_mapc.
568 monitor.
569 except Exception as e:
570 if type(e) == socket.error:
monitor = <svc_monitor.
monitor.
result = '<?xml version="1.0" encoding="UTF-8" standalone=
/usr/lib/
522 self.logger.log("%s with %s/%s"
523 % (funcname, meta_name, idents))
524 func(idents)
525 # end for meta
526 # end for result_type
func = <bound method SvcMonitor.
idents = {'service-
/usr/lib/
458
459 #launch VMs
460 self._create_
461 # end _addmsg_
462
self = <svc_monitor.
self._create_
st_obj = <vnc_api.
si_obj = <vnc_api.
/usr/lib/
291 self.vm_
292 elif virt_type == 'network-
293 self.netns_
294
295 def _delete_
self = <svc_monitor.
self.netns_manager = <svc_monitor.
self.netns_
st_obj = <vnc_api.
si_obj = <vnc_api.
/usr/lib/
506 for nic in nics:
507 vmi_obj = self._create_
508 si_obj, local_preference)
509 vmi_obj.
510 self._vnc_
si_obj = <vnc_api.
local_preference = 200
/usr/lib/
146 if (st_props.
147 proj_obj.name != 'default-project'):
148 sg_obj = self._get_
149 vmi_obj.
150 if nic['static-
sg_obj undefined
self = <svc_monitor.
self._get_
vn_obj = <vnc_api.
/usr/lib/
62 except Exception as e:
63 self.logger.log(
64 "Error: Security group default not found %s" % (proj_obj.name))
65 return sg_obj
66
proj_obj undefined
<type 'exceptions.
__class__ = <type 'exceptions.
__delattr__ = <method-wrapper '__delattr__' of exceptions.
__dict__ = {}
__doc__ = 'Name not found globally.'
__format__ = <built-in method __format__ of exceptions.
__getattrib
__getitem__ = <method-wrapper '__getitem__' of exceptions.
__getslice__ = <method-wrapper '__getslice__' of exceptions.
__hash__ = <method-wrapper '__hash__' of exceptions.
__init__ = <method-wrapper '__init__' of exceptions.
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of exceptions.
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.
__repr__ = <method-wrapper '__repr__' of exceptions.
__setattr__ = <method-wrapper '__setattr__' of exceptions.
__setstate__ = <built-in method __setstate__ of exceptions.
__sizeof__ = <built-in method __sizeof__ of exceptions.
__str__ = <method-wrapper '__str__' of exceptions.
__subclassh
__unicode__ = <built-in method __unicode__ of exceptions.
__subclassh
__unicode__ = <built-in method __unicode__ of exceptions.
args = ("global name 'proj_obj' is not defined",)
message = "global name 'proj_obj' is not defined"
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/lib/
monitor.
File "/usr/lib/
func(idents)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
si_obj, local_preference)
File "/usr/lib/
sg_obj = self._get_
File "/usr/lib/
"Error: Security group default not found %s" % (proj_obj.name))
NameError: global name 'proj_obj' is not defined
tags: | added: neutronapi |
R1.10: /github. com/Juniper/ contrail- controller/ commit/ 2cde09024391c86 3684778e6facdb9 75af16e700
https:/
Master: /github. com/Juniper/ contrail- controller/ commit/ 507c3b7b541c453 a382e6f6a30244e ec621cbc13
https:/