[R4.1-15]:AttributeError: 'DomainSM' object has no attribute 'name'

Bug #1723338 reported by alok kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
Undecided
Yuvaraja Mariappan
Trunk
Fix Committed
Undecided
Yuvaraja Mariappan

Bug Description

This traceback is seen in sanity run in contrail-svc-monitor.log:

http://10.204.216.50/Docs/logs/4.1.0.0-15_jenkins-ubuntu-14-04_mitaka_Multi_Node_Sanity-446_1507839596.84/junit-noframes.html

Build: 4.1.0.0-15, ubuntu-14-04, mitaka

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_amqp.py", line 65, in _vnc_subscribe_callback
    self.vnc_subscribe_actions()
  File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_amqp.py", line 129, in vnc_subscribe_actions
    self.evaluate_dependency()
  File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_amqp.py", line 222, in evaluate_dependency
    self.init_msgbus_fq_name()
  File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_amqp.py", line 208, in init_msgbus_fq_name
    self.msg_tracer.fq_name = self.obj.name
AttributeError: 'DomainSM' object has no attribute 'name'

log file is attached for reference.

Tags: config sanity
Revision history for this message
alok kumar (kalok) wrote :
alok kumar (kalok)
tags: added: sanity
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/36854
Submitter: Yuvaraja Mariappan

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/36855
Submitter: Yuvaraja Mariappan

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

Reviewed: https://review.opencontrail.org/36854
Committed: http://github.com/Juniper/contrail-controller/commit/68b88992c5582967d10b8b3292ebed8cc30b0781
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 68b88992c5582967d10b8b3292ebed8cc30b0781
Author: Yuvaraja Mariappan <email address hidden>
Date: Wed Oct 25 19:47:17 2017 -0700

Fixed 'no attribute error' while reading DomainSM object in svc-monitor

Since DomainSM does not have 'name' attribute which is tried to
be used by dependency tracker caused the issue.
Added 'name' attribute to DomainSM object.

Change-Id: I60711b9afe887aa73b7e86290711528fe1131baa
Closes-bug: #1723338

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/36855
Committed: http://github.com/Juniper/contrail-controller/commit/e9f7063c7b5069058a4dfb944604b7644e510f5d
Submitter: Zuul (<email address hidden>)
Branch: master

commit e9f7063c7b5069058a4dfb944604b7644e510f5d
Author: Yuvaraja Mariappan <email address hidden>
Date: Wed Oct 25 19:47:17 2017 -0700

Fixed 'no attribute error' while reading DomainSM object in svc-monitor

Since DomainSM does not have 'name' attribute which is tried to
be used by dependency tracker caused the issue.
Added 'name' attribute to DomainSM object.

Change-Id: I60711b9afe887aa73b7e86290711528fe1131baa
Closes-bug: #1723338

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

Other bug subscribers

Remote bug watches

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