[2.22.2-9~juno] NameError: global name 'parent_str' is not defined seen in schema transformer

Bug #1573979 reported by Ganesha HV
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Ganesha HV
R2.21.x
Fix Committed
High
Ganesha HV
R2.22.x
Fix Committed
High
Ganesha HV
Trunk
Fix Committed
High
Ganesha HV

Bug Description

1]. Setup
=======
Config Nodes : [u'nodea35', u'nodea34']
Control Nodes : [u'nodea35', u'nodea34', u'nodec53']
Compute Nodes : [u'nodec54', u'nodec55', u'nodec56']
Openstack Node : nodea34
WebUI Node : nodec53
Analytics Nodes : [u'nodea35', u'nodec53']
Physical Devices : [u"'blr-mx1'"]

2]. ECMP regression runs saw testcase failures and in the schema the following error was seen:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 3590, in launch_arc
    raise e
NameError: global name 'parent_str' is not defined
<Greenlet at 0x7f3a4d216c30: launch_arc(<schema_transformer.to_bgp.SchemaTransformer objec, <cfgm_common.ifmap.client.client instance at 0x7f3)> failed with NameError

Ganesha HV (ganeshahv)
Changed in juniperopenstack:
milestone: r2.22.2 → none
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.22.x

Review in progress for https://review.opencontrail.org/19575
Submitter: Ganesha HV (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/19575
Committed: http://github.org/Juniper/contrail-controller/commit/d40a76ee8018d0d737dfa0ff39881001edef6082
Submitter: Zuul
Branch: R2.22.x

commit d40a76ee8018d0d737dfa0ff39881001edef6082
Author: Ganesha H V <email address hidden>
Date: Sat Apr 23 17:38:20 2016 +0530

Changing from parent_str to getting the Parent FQ name

Si is not the parent of vn.
Use parent_fq_name from si to get the project fq name.
Closes-bug: 1573979
Change-Id: I94a294eaa613c3152215a9b554f04a223c4ccf66

Sachin Bansal (sbansal)
Changed in juniperopenstack:
status: New → Fix Committed
Sachin Bansal (sbansal)
Changed in juniperopenstack:
assignee: Sachin Bansal (sbansal) → Ganesha HV (ganeshahv)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/20638
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/20638
Committed: http://github.org/Juniper/contrail-controller/commit/a1fefddea22b299950c69c78ba05f6f8b8941292
Submitter: Zuul
Branch: R2.20

commit a1fefddea22b299950c69c78ba05f6f8b8941292
Author: Ganesha H V <email address hidden>
Date: Sat Apr 23 17:38:20 2016 +0530

Changing from parent_str to getting the Parent FQ name

Si is not the parent of vn.
Use parent_fq_name from si to get the project fq name.
Closes-bug: 1573979

(cherry picked from commit d40a76ee8018d0d737dfa0ff39881001edef6082)
Change-Id: I94a294eaa613c3152215a9b554f04a223c4ccf66

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

Review in progress for https://review.opencontrail.org/21124
Submitter: Vedamurthy Joshi (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/21124
Committed: http://github.org/Juniper/contrail-controller/commit/fcb451280dc229303b880ec48cf69dcda07d49e4
Submitter: Zuul
Branch: R2.21.x

commit fcb451280dc229303b880ec48cf69dcda07d49e4
Author: Ganesha H V <email address hidden>
Date: Sat Apr 23 17:38:20 2016 +0530

Changing from parent_str to getting the Parent FQ name

Si is not the parent of vn.
Use parent_fq_name from si to get the project fq name.
Closes-bug: 1573979

(cherry picked from commit d40a76ee8018d0d737dfa0ff39881001edef6082)
Change-Id: I94a294eaa613c3152215a9b554f04a223c4ccf66

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

Remote bug watches

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