schema crash in set_route_target_list ( "next_hop") not defined
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R1.1 |
Fix Committed
|
High
|
Sachin Bansal | |||
Trunk |
Fix Committed
|
High
|
Sachin Bansal |
Bug Description
Build 1.10 5
Looking at the timing, it seems to have crashed while creating a router-gateway setup with public , private vns.
<type 'exceptions.
Python 2.7.3: /usr/bin/python
Tue Aug 5 08:23:17 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/
3425 result = arc_mapc.
3426 try:
3427 transformer.
3428 except Exception as e:
3429 cgitb.Hook(
transformer = <schema_
result = '<?xml version="1.0" encoding="UTF-8" standalone=
/usr/lib/
3061 result_
3062 meta_name, idents, meta, funcname)
3063 func(idents, meta)
3064 # end for meta
3065 # end for result_type
func = <bound method SchemaTransform
idents = {'virtual-network': 'default-
meta = <Element {http://
/usr/lib/
ct>, idents=
t>)
2801 rt_list.build(meta)
2802 vn = VirtualNetworkS
2803 vn.set_
2804 self.current_
2805 # end add_route_
vn = <schema_
vn.set_
rt_list = <vnc_api.
/usr/lib/
657 import_
658 for (prefix, nexthop) in self.route_
659 left_ri = self._get_
660 if left_ri is not None:
661 left_ri.
left_ri undefined
self = <schema_
self._get_
next_hop 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.
args = ("global name 'next_hop' is not defined",)
message = "global name 'next_hop' 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/
transformer
File "/usr/lib/
func(idents, meta)
File "/usr/lib/
vn.
File "/usr/lib/
left_ri = self._get_
NameError: global name 'next_hop' is not defined
Changed in juniperopenstack: | |
status: | New → In Progress |
Logs at http:// 10.204. 216.50/ Docs/bugs/ 1353237