[k8s-R5.0]: Seeing VNC API errors in contrail-api and contrail-kube-manager
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Fix Released
|
Medium
|
Pragash Vijayaragavan | |||
Trunk |
Fix Released
|
Medium
|
Pragash Vijayaragavan |
Bug Description
Configuration:
K8s 1.9.2
coat-5.0-15
Centos-7.4
Setup:
5 node setup.
1 Kube master. 3 Controller.
2 Agent+ K8s slaves
The issues was observed in a k8s sanity run:
LogsLocation : http://
Report : http://
Observed VncApi error print in contrail-api:
```
04/16/2018 04:04:30 PM [contrail-api]: __default__ [SYS_WARN]: VncApiError: Multiget result contains a key (9b3a2c84-
04/16/2018 04:04:30 PM [contrail-api]: __default__ [SYS_WARN]: VncApiError: Multiget result contains a key (9ad3a586-
04/16/2018 04:04:30 PM [contrail-api]: __default__ [SYS_WARN]: VncApiError: Multiget result contains a key (9b0f3858-
04/16/2018 04:04:30 PM [contrail-api]: __default__ [SYS_WARN]: VncApiError: Multiget result contains a key (2396b072-
```
Also observed related errors on contrail-
```
/usr/lib/
363
364 if service_type in ["LoadBalancer"]:
365 if len(allocated_fips) is 0:
366 # Allocate floating-ip from public-pool, if none exists.
367 # if "loadBalancerIp" if specified in Service definition, allocate
builtinlen = <built-in function len>
allocated_fips = 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 = ("object of type 'NoneType' has no len()",)
message = "object of type 'NoneType' has no len()"
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/
if len(allocated_fips) is 0:
TypeError: object of type 'NoneType' has no len()
```
Reducing the importance as it is a sporadic issue