AttributeError in kube-manager tests while creating resources

Bug #1675467 reported by Artur Dębski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
In Progress
Undecided
Unassigned
OpenContrail
New
Undecided
Unassigned

Bug Description

While running tests for kube-manager, creation of resources produce AttributeErrors:

--
Traceback (most recent call last):
  File "/home/ubuntu/xbend/sandbox-contrail/build/debug/container/kube-manager/.venv/local/lib/python2.7/site-packages/cfgm_common/vnc_amqp.py", line 48, in _vnc_subscribe_callback
    self.vnc_subscribe_actions()
  File "/home/ubuntu/xbend/sandbox-contrail/build/debug/container/kube-manager/.venv/local/lib/python2.7/site-packages/cfgm_common/vnc_amqp.py", line 92, in vnc_subscribe_actions
    self.handle_create()
  File "/home/ubuntu/xbend/sandbox-contrail/build/debug/container/kube-manager/.venv/local/lib/python2.7/site-packages/cfgm_common/vnc_amqp.py", line 117, in handle_create
    self.obj = self.obj_class.locate(obj_key)
  File "/home/ubuntu/xbend/sandbox-contrail/build/debug/container/kube-manager/.venv/local/lib/python2.7/site-packages/cfgm_common/vnc_db.py", line 76, in locate
    obj = cls(key, *args)
  File "kube_manager/vnc/config_db.py", line 720, in __init__
    obj_dict = self.update(obj_dict)
  File "kube_manager/vnc/config_db.py", line 730, in update
    for kvp in self.annotations.get('key_value_pair', []):
AttributeError: 'NoneType' object has no attribute 'get'
--

Full log is attached.

Tags: k8s kubernetes
Revision history for this message
Artur Dębski (artur-debski) wrote :
Rudra Rugge (rrugge)
tags: added: k8s kubernetes
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/29941
Submitter: Artur D?bski (<email address hidden>)

Nischal Sheth (nsheth)
tags: removed: contrail-control
Revision history for this message
Artur Dębski (artur-debski) wrote :

x

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

Other bug subscribers

Bug attachments

Remote bug watches

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