contrail-analytics services in initializing with ApiServer connection down
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
High
|
Suresh Vinapamula | |||
R4.1 |
Fix Committed
|
High
|
Suresh Vinapamula | |||
Trunk |
Fix Committed
|
High
|
Suresh Vinapamula |
Bug Description
r4.0.3.0-96 newton.
root@server6(
== Contrail Analytics ==
contrail-collector: active
contrail-
contrail-
contrail-alarm-gen: initializing (ApiServer:
contrail-
contrail-topology: initializing (ApiServer:
contrail-
root@server6(
Package Version Build-ID | Repo | Package Name
-------
contrail-analytics 4.0.3.0-96 96
contrail-docs 4.0.3.0-96 96
contrail-lib 4.0.3.0-96 96
contrail-nodemgr 4.0.3.0-96 96
contrail-
contrail-setup 4.0.3.0-96 96
contrail-utils 4.0.3.0-96 96
python-contrail 4.0.3.0-96 96
root@server6(
Logs uploaded to /cs-shared/bugs/.
tags: |
added: sanityblocker removed: sanity |
Api server issue
/usr/lib/ python2. 7/dist- packages/ pycassa/ marshal. py in pack_bytes(v=None, _=None) _.__name_ _, str(v))) _.__name_ _ = 'NoneType' TypeError' >: A str or unicode value was expected, but NoneType was received instead (None) TypeError' > TypeError object> TypeError object> ute__ = <method-wrapper '__getattribute__' of exceptions. TypeError object> TypeError object> TypeError object> TypeError object> TypeError object> TypeError object> TypeError object> TypeError object> TypeError object> TypeError object> TypeError object> TypeError object> ook__ = <built-in method __subclasshook__ of type object> TypeError object>
317 raise TypeError("A str or unicode value was expected, " +
318 "but %s was received instead (%s)"
319 % (v.__class_
320 return v
321 return pack_bytes
v = None
v.__class__ = <type 'NoneType'>
v.__class_
builtinstr = <type 'str'>
<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 = ('A str or unicode value was expected, but NoneType was received instead (None)',)
message = 'A str or unicode value was expected, but NoneType was received instead (None)'
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last): python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ api_server. py", line 1569, in handler_ trap_exception validate_ request( get_request( )) python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_rbac. py", line 231, in validate_request rbac_rules( request) python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_rbac. py", line 144, in get_rbac_rules rbac_rules_ object( 'project' , project_id) python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_rbac. py", line 80, in get_rbac_ rules_object conn.dbe_ read(obj_ type, obj_uuid, obj_fields) python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_db. py", line 1090, in dbe_read ret_readonly) python2. 7/dist- pac...
File "/usr/lib/
(ok, status) = self._rbac.
File "/usr/lib/
rule_list = self.get_
File "/usr/lib/
rules = self.get_
File "/usr/lib/
(ok, result) = self._db_
File "/usr/lib/
obj_type, [obj_id], obj_fields, ret_readonly=
File "/usr/lib/