TypeError during k8s test run with no public VN
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
Undecided
|
Vedamurthy Joshi | |||
Trunk |
Fix Committed
|
Undecided
|
Vedamurthy Joshi |
Bug Description
R4.0.1.0 Continuous Build 23 Ubuntu 16.04.2
I had run k8s sanity without public network created..and saw a number of these tracebacks
08/18/2017 12:53:28 PM [contrail-
08/18/2017 12:53:28 PM [contrail-
08/18/2017 12:53:28 PM [contrail-
Python 2.7.12: /usr/bin/python
Fri Aug 18 12:53:28 2017
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/usr/lib/
376 self.pod_
377 elif kind == 'Service':
378 self.service_
379 elif kind == 'Namespace':
380 self.namespace_
self = <kube_manager.
self.service_mgr = <kube_manager.
self.service_
event = {u'object': {u'apiVersion': u'v1', u'kind': u'Service', u'metadata': {u'creationTime
/usr/lib/
549 self.vnc_
550 service_namespace, service_ip, selectors, ports,
551 service_type, externalIps, loadBalancerIp)
552 elif event['type'] == 'DELETED':
553 self.vnc_
service_type = u'LoadBalancer'
externalIps = None
loadBalancerIp = None
/usr/lib/
420
421 self._update_
422 service_namespace, service_type, externalIps, loadBalancerIp)
423
424 if ingress_update:
service_namespace = u'ctest-
service_type = u'LoadBalancer'
externalIps = None
loadBalancerIp = None
/usr/lib/
345 else:
346 allocated_fip = self._allocate_
347 self._update_
348
349 return
self = <kube_manager.
self._update_
service_namespace = u'ctest-
service_name = u'ctest-
allocated_fip = None
/usr/lib/
320
321 def _update_
322 merge_patch = {'spec': {'externalIPs': [', '.join(
323 self.kube.
324 namespace=
merge_patch undefined
external_ips = None
<type 'exceptions.
__class__ = <type 'exceptions.
__delattr__ = <method-wrapper '__delattr__' of exceptions.
__dict__ = {}
__doc__ = 'Inappropriate argument type.'
__format__ = <built-in method __format__ of exceptions.
__getattrib
__getitem__ = <method-wrapper '__getitem__' of exceptions.
__getslice__ = <method-wrapper '__getslice__' of exceptions.
__hash__ = <method-wrapper '__hash__' of exceptions.
__init__ = <method-wrapper '__init__' of exceptions.
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of exceptions.
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.
__repr__ = <method-wrapper '__repr__' of exceptions.
__setattr__ = <method-wrapper '__setattr__' of exceptions.
__setstate__ = <built-in method __setstate__ of exceptions.
__sizeof__ = <built-in method __sizeof__ of exceptions.
__str__ = <method-wrapper '__str__' of exceptions.
__subclassh
__unicode__ = <built-in method __unicode__ of exceptions.
args = ('can only join an iterable',)
message = 'can only join an iterable'
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/
self.
File "/usr/lib/
service_type, externalIps, loadBalancerIp)
File "/usr/lib/
service_
File "/usr/lib/
self.
File "/usr/lib/
merge_patch = {'spec': {'externalIPs': [', '.join(
TypeError: can only join an iterable
summary: |
- TypeError during k8s test run with no external ip set + TypeError during k8s test run with no public VN |
Review in progress for https:/ /review. opencontrail. org/34764
Submitter: Sachchidanand Vaidya (<email address hidden>)