schema_transformer crashes with AttributeError: 'NoneType' object has no attribute 'expand_connections'
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Incomplete
|
Medium
|
sajuptpm | |||
OpenContrail |
Incomplete
|
Medium
|
sajuptpm |
Bug Description
This happense because VirtualNetworkS
Don't know why it returns none, any clue ?
Traceback
==========
<type 'exceptions.
Python 2.7.6: /usr/bin/python
Mon Jun 22 01:13:23 2015
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/
3651 result = arc_mapc.
3652 try:
3653 transformer.
3654 except Exception as e:
3655 try:
transformer = <schema_
transformer.
result = '<?xml version="1.0" encoding="UTF-8" standalone=
/usr/lib/
3301 virtual_network = VirtualNetworkS
3302 old_virtual_
3303 virtual_
3304 old_service_chains = virtual_
3305 virtual_
virtual_network = None
virtual_
<type 'exceptions.
__class__ = <type 'exceptions.
__delattr__ = <method-wrapper '__delattr__' of exceptions.
__dict__ = {}
__doc__ = 'Attribute not found.'
__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 = ("'NoneType' object has no attribute 'expand_
message = "'NoneType' object has no attribute 'expand_
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/
virtual_
AttributeError: 'NoneType' object has no attribute 'expand_
Changed in opencontrail: | |
assignee: | nobody → sajuptpm (sajuptpm) |
status: | New → In Progress |
tags: | added: config |
Changed in opencontrail: | |
importance: | Undecided → Medium |
Changed in opencontrail: | |
status: | In Progress → Incomplete |
Review in progress for https:/ /review. opencontrail. org/12159
Submitter: sajuptpm (<email address hidden>)