[K8s] Build 4.0.0.0-3041: API Server Traceback in gds_format_integer

Bug #1670539 reported by chhandak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Critical
Ignatious Johnson Christopher

Bug Description

In Kuberenets setup, with build 3041, while trying to create a network __public__ in default project for Ingress using webui, observing below traceback in contrail-api.log . Also creating on the network is also failing using webui with an unexpected error.

Traceback
-----------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_db.py", line 322, in _dbe_subscribe_callback
    self._dbe_update_notification(oper_info)
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_db.py", line 401, in _dbe_update_notification
    (ok, result) = self._ifmap_db.object_update(r_class, new_obj_dict)
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_ifmap_client.py", line 325, in object_update
    (ok, result) = self.object_set(obj_cls, ifmap_id, existing_metas, new_obj_dict)
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_ifmap_client.py", line 189, in object_set
    buf, level=1, name_=prop_meta, pretty_print=False)
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/gen/resource_xsd.py", line 15826, in exportChildren
    fat_flow_protocol_.export(outfile, level, namespace_, name_='fat-flow-protocol', pretty_print=pretty_print)
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/gen/resource_xsd.py", line 15665, in export
    self.exportChildren(outfile, level + 1, namespace_, name_, pretty_print=pretty_print)
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/gen/resource_xsd.py", line 15682, in exportChildren
    outfile.write('<%sport>%s</%sport>%s' % (namespace_, self.gds_format_integer(self.port, input_name='port'), namespace_, eol_))
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/gen/generatedssuper.py", line 76, in gds_format_integer
    return '%d' % input_data
TypeError: %d format: a number is required, not str

Tags: api
Revision history for this message
chhandak (chhandak) wrote :

Logs copied to /auto/cores/1670539

information type: Proprietary → Public
Changed in juniperopenstack:
importance: Undecided → Critical
assignee: nobody → Ignatious Johnson Christopher (ijohnson-x)
milestone: none → r4.0
Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :

Not seen in Latest builds, This is one of the intermediate build where IFMAP related code was partially removed.

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.