upgrade to 3.1 with healthcheck crashes svc-monitor
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.1 |
Fix Committed
|
Critical
|
Senthilnathan Murugappan | |||
Trunk |
Fix Committed
|
Critical
|
Rudra Rugge |
Bug Description
upgrade to 3.1 from 3.0.2 with service healthcheck crashes svc-monitor
==> /var/log/
08/04/2016 01:22:26 AM [contrail-
Python 2.7.6: /usr/bin/python
Thu Aug 4 01:22:26 2016
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/
298 # invoke port tuple handling
299 try:
300 self.port_
301 except Exception:
302 cgitb_error_
self = <svc_monitor.
self.port_
self.port_
/usr/lib/
343 for si in ServiceInstance
344 for pt_id in si.port_tuples:
345 self.update_
346 for iip in InstanceIpSM.
347 self.delete_
self = <svc_monitor.
self.update_
pt_id = '0d57778e-
/usr/lib/
337 self.set_
338 self.set_
339 self.set_
340 self.set_
341
self = <svc_monitor.
self.set_
si = <svc_monitor.
port = {'allowed-
vmi = <svc_monitor.
/usr/lib/
153
154 # update health check ip
155 self.update_
156
157 def set_port_
self = <svc_monitor.
self.update_
si = <svc_monitor.
port = {'allowed-
vmi = <svc_monitor.
/usr/lib/
117 if if_type[
118 continue
119 if health.
120 continue
121 allocate_hc_iip = True
health = <svc_monitor.
health.params = {u'delay': 3, u'enabled': True, u'expected_codes': None, u'http_method': None, u'max_retries': 2, u'monitor_type': u'HTTP', u'timeout': 5, u'url_path': u'http://
<type 'exceptions.
__class__ = <type 'exceptions.
__delattr__ = <method-wrapper '__delattr__' of exceptions.KeyError object>
__dict__ = {}
__doc__ = 'Mapping key not found.'
__format__ = <built-in method __format__ of exceptions.KeyError object>
__getattrib
__getitem__ = <method-wrapper '__getitem__' of exceptions.KeyError object>
__getslice__ = <method-wrapper '__getslice__' of exceptions.KeyError object>
__hash__ = <method-wrapper '__hash__' of exceptions.KeyError object>
__init__ = <method-wrapper '__init__' of exceptions.KeyError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of exceptions.KeyError object>
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.KeyError object>
__repr__ = <method-wrapper '__repr__' of exceptions.KeyError object>
__setattr__ = <method-wrapper '__setattr__' of exceptions.KeyError object>
__setstate__ = <built-in method __setstate__ of exceptions.KeyError object>
__sizeof__ = <built-in method __sizeof__ of exceptions.KeyError object>
__str__ = <method-wrapper '__str__' of exceptions.KeyError object>
__subclassh
__unicode__ = <built-in method __unicode__ of exceptions.KeyError object>
args = ('health_
message = 'health_check_type'
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/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
if health.
KeyError: 'health_check_type'
tags: | added: blocker |
Changed in juniperopenstack: | |
assignee: | Rudra Rugge (rudrarugge) → Senthilnathan Murugappan (msenthil) |
Review in progress for https:/ /review. opencontrail. org/22886
Submitter: Senthilnathan Murugappan (<email address hidden>)