And in the contrail-packages, contrail-analytics requires python-redis (>= 2.4.9) https://github.com/Juniper/contrail-packages/blob/master/debian/contrail/debian/control
Package: contrail-analytics
Architecture: any
Depends: adduser, contrail-lib (= ${binary:Version}), libprotobuf7, python-bottle (>= 0.11.6), python-contrail (= ${source:Version}), python-pkg-resources, python-redis (>= 2.4.9),<<<<<<<<<<<<<<<<<<<<<<<<<<<
However with python-redis= 2.4.9, observer is not coming up, Following is the error in observer.log, with python-redis_2.8.0-1contrail1_all.deb, we are not hitting this issue.
08/03/2014 02:45:03 PM [a5s311:OpServer:Analytics:0]: Discarding event[EvSandeshUVESend] in state[Idle]
08/03/2014 02:45:03 PM [a5s311:OpServer:Analytics:0]: Processing event[EvSandeshUVESend] in state[Idle]
08/03/2014 02:45:03 PM [a5s311:OpServer:Analytics:0]: Discarding event[EvSandeshUVESend] in state[Idle]
No pre_exec_cmd found
08/03/2014 02:46:11 PM [a5s311:OpServer:Analytics:0]: SANDESH: Logging: LEVEL: [SYS_INFO] -> [SYS_DEBUG]
Traceback (most recent call last):
File "/usr/bin/contrail-analytics-api", line 9, in <module>
load_entry_point('opserver==0.1dev', 'console_scripts', 'contrail-analytics-api')()
File "/usr/lib/python2.7/dist-packages/opserver/opserver.py", line 1714, in main
opserver = OpServer()
File "/usr/lib/python2.7/dist-packages/opserver/opserver.py", line 485, in __init__
self._logger)
File "/usr/lib/python2.7/dist-packages/opserver/uveserver.py", line 31, in __init__
self._redis = redis.StrictRedis(self._local_redis_uve[0],
AttributeError: 'module' object has no attribute 'StrictRedis'
No pre_exec_cmd found
In packaging we package contrail built version of python-redis and using it in a freshly installed system. redis_2. 8.0-1contrail1_ all.deb <<<<<<< <<<<<<< <<<<<<< 471570c09aef067 3d /github. com/Juniper/ contrail- packaging/ blob/master/ build/package_ configs/ ubuntu1204/ havana/ depends_ packages. cfg
[python-redis]
file = python-
md5 = a2c82a2b974ed10
https:/
And in the contrail-packages, contrail-analytics requires python-redis (>= 2.4.9) /github. com/Juniper/ contrail- packages/ blob/master/ debian/ contrail/ debian/ control
contrail- lib (= ${binary:Version}),
libprotobuf7,
python- bottle (>= 0.11.6),
python- contrail (= ${source:Version}),
python- pkg-resources,
python- redis (>= 2.4.9), <<<<<<< <<<<<<< <<<<<<< <<<<<<
https:/
Package: contrail-analytics
Architecture: any
Depends: adduser,
However with python-redis= 2.4.9, observer is not coming up, Following is the error in observer.log, with python- redis_2. 8.0-1contrail1_ all.deb, we are not hitting this issue.
08/03/2014 02:45:03 PM [a5s311: OpServer: Analytics: 0]: Discarding event[EvSandesh UVESend] in state[Idle] OpServer: Analytics: 0]: Processing event[EvSandesh UVESend] in state[Idle] OpServer: Analytics: 0]: Discarding event[EvSandesh UVESend] in state[Idle] OpServer: Analytics: 0]: SANDESH: Logging: LEVEL: [SYS_INFO] -> [SYS_DEBUG] contrail- analytics- api", line 9, in <module> entry_point( 'opserver= =0.1dev' , 'console_scripts', 'contrail- analytics- api')() python2. 7/dist- packages/ opserver/ opserver. py", line 1714, in main python2. 7/dist- packages/ opserver/ opserver. py", line 485, in __init__ python2. 7/dist- packages/ opserver/ uveserver. py", line 31, in __init__ is(self. _local_ redis_uve[ 0],
08/03/2014 02:45:03 PM [a5s311:
08/03/2014 02:45:03 PM [a5s311:
No pre_exec_cmd found
08/03/2014 02:46:11 PM [a5s311:
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
opserver = OpServer()
File "/usr/lib/
self._logger)
File "/usr/lib/
self._redis = redis.StrictRed
AttributeError: 'module' object has no attribute 'StrictRedis'
No pre_exec_cmd found