[R2.20-Build 23]: schema crash with AttributeError

Bug #1457338 reported by alok kumar
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Sachin Bansal
Trunk
Fix Committed
High
Sachin Bansal

Bug Description

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/python2.7/dist-packages/schema_transformer/to_bgp.py", line 3633, in launch_arc
    transformer.process_poll_result(result)
  File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 3405, in process_poll_result
    service_chain.create()
  File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 1768, in create
    service_ri2)
  File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 1848, in process_transparent_service
    for interface_name in vm_obj.interfaces:
AttributeError: 'NoneType' object has no attribute 'interfaces'

file schema.err attached here.

setup info:

env.roledefs = {
    'all': [host1,host2,host3,host4,host5],
    'cfgm': [host1],
    'openstack':[host2],
    'control': [host1,host2],
    'compute': [host3,host4,host5],
    'collector': [host1,host2],
    'webui': [host1],
    'database': [host1],
    'build': [host_build],
}

env.hostnames = {
    'all': ['nodec64', 'nodeg18', 'nodec62', 'nodec11', 'nodec12']
}

Tags: config
Revision history for this message
alok kumar (kalok) wrote :
Revision history for this message
alok kumar (kalok) wrote :

all logs @mayamruga-E71:/home/bhushana/Documents/technical/bugs/1457338

information type: Proprietary → Public
Revision history for this message
Sachin Bansal (sbansal) wrote :

Will be fixed with this commit:
https://review.opencontrail.org/#/c/10151/

Revision history for this message
Sachin Bansal (sbansal) wrote :
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/10868
Submitter: Sachin Bansal (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/10868
Committed: http://github.org/Juniper/contrail-controller/commit/5809ca192751395489c6a4c2e4109298f95aee6d
Submitter: Zuul
Branch: R2.20

commit 5809ca192751395489c6a4c2e4109298f95aee6d
Author: Sachin Bansal <email address hidden>
Date: Fri May 8 18:08:46 2015 -0700

Various clean up in API server/schema transformer

(cherry picked from commit 51bca412dec0cfee317892516d73ed35ac282193)

Closes-Bug: 1457338
Change-Id: I792138132e284573da4674c1028ad1d6327abb87

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.