[ubuntu-havana-R1.06-43] schema crashed while deleting SI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
High
|
Sachin Bansal | ||
R1.05 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
During SVC test while deleting service instance schema crashed with below trace on both single/multi node sanity with Ubuntu havana #43.
Can you please take a look.
All logs/cores will be at /cs-shared/
Logs:
<class 'cfgm_common.
Python 2.7.3: /opt/contrail/
Mon Jun 16 16:01:08 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.
/opt/contrail/
t.client instance>)
3087 result = arc_mapc.
3088 try:
3089 transformer.
3090 except Exception as e:
3091 cgitb.Hook(
transformer = <__main_
transformer.
result = '<?xml version="1.0" encoding="UTF-8" standalone=
/opt/contrail/
1.0" encoding="UTF-8" standalone=
2765 pass
2766 else:
2767 func(idents, meta)
2768 # end for meta
2769 # end for result_type
func = <bound method SchemaTransform
idents = {'instance-ip': '567fa60d-
meta = <Element {http://
/opt/contrail/
nstance-ip': '567fa60d-
www.contrailsys
2475 vmi = VirtualMachineI
2476 if vmi is not None:
2477 self.current_
2478 #end add_instance_
2479
self = <__main_
self.current_
vmi = <__main_
vmi.rebake = <bound method VirtualMachineI
/opt/contrail/
2159 if self.service_
2160 return network_set
2161 vmi_obj = _vnc_lib.
2162 vm_id = get_vm_
2163 if vm_id is None:
vmi_obj undefined
global _vnc_lib = <vnc_api.
_vnc_lib.
fq_name_str undefined
self = <__main_
self.name = 'default-
/usr/lib/
ain:admin:
4818
4819 """
4820 (args_ok, result) = self._read_
4821 if not args_ok:
4822 return result
args_ok undefined
result undefined
self = <vnc_api.
self._read_
fq_name = None
fq_name_str = 'default-
id = None
ifmap_id = None
/usr/lib/
fault-domain:
301 return (True, self.fq_
302 if fq_name_str:
303 return (True, self.fq_
304 if ifmap_id:
305 return (True, self.ifmap_
builtinTrue = True
self = <vnc_api.
self.fq_name_to_id = <bound method VncApi.
obj_type = 'virtual-
fq_name_str = 'default-
fq_name_str.split = <built-in method split of str object>
/usr/lib/
n', '3caa63e6-
386 uri = self._action_
387 try:
388 content = self._request_
389 except HttpError as he:
390 if he.status_code == 404:
content undefined
self = <vnc_api.
self._request_
global rest = <module 'cfgm_common.rest' from '/opt/contrail/
rest.OP_POST = 1
uri = u'/fqname-to-id'
data undefined
json_body = '{"fq_name": ["default-domain", "admin", "3caa63e.
/usr/lib/
min", "3caa63e.
345 elif status == 404:
346 raise NoIdError('Error: oper %s url %s body %s response %s'
347 % (op, url, data, content))
348 elif status == 403:
349 raise PermissionDenie
op = 1
url = u'/fqname-to-id'
data = '{"fq_name": ["default-domain", "admin", "3caa63e.
content = u"Name [u'default-domain', u'admin', u'3caa63e6-
<class 'cfgm_common.
e": "virtual-
__class__ = <class 'cfgm_common.
__delattr__ = <method-wrapper '__delattr__' of NoIdError object>
__dict__ = {'_unknown_id': u'Error: oper 1 url /fqname-to-id body {"fq_name.
__doc__ = None
__format__ = <built-in method __format__ of NoIdError object>
__getattrib
__getitem__ = <method-wrapper '__getitem__' of NoIdError object>
__getslice__ = <method-wrapper '__getslice__' of NoIdError object>
__hash__ = <method-wrapper '__hash__' of NoIdError object>
__init__ = <bound method NoIdError.__init__ of NoIdError()>
__module__ = 'cfgm_common.
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of NoIdError object>
__reduce_ex__ = <built-in method __reduce_ex__ of NoIdError object>
__repr__ = <method-wrapper '__repr__' of NoIdError object>
__setattr__ = <method-wrapper '__setattr__' of NoIdError object>
__setstate__ = <built-in method __setstate__ of NoIdError object>
__sizeof__ = <built-in method __sizeof__ of NoIdError object>
__str__ = <bound method NoIdError.__str__ of NoIdError()>
__subclassh
__unicode__ = <built-in method __unicode__ of NoIdError object>
__weakref__ = None
_unknown_id = u'Error: oper 1 url /fqname-to-id body {"fq_name.
args = ()
message = ''
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/opt/contrail/
transformer
File "/opt/contrail/
func(idents, meta)
File "/opt/contrail/
self.
File "/opt/contrail/
vmi_obj = _vnc_lib.
File "/usr/lib/
(args_ok, result) = self._read_
File "/usr/lib/
return (True, self.fq_
File "/usr/lib/
content = self._request_
File "/usr/lib/
% (op, url, data, content))
NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"fq_name": ["default-domain", "admin", "3caa63e6-
response Name [u'default-domain', u'admin', u'3caa63e6-
Changed in juniperopenstack: | |
status: | New → In Progress |
information type: | Proprietary → Public |
fixed with https:/ /github. com/Juniper/ contrail- controller/ commit/ d63235eed054726 12959b6b635a8bc 76631aeb92