Hi All,

I have been trying to install Contrail 3.0 and COntrail 3.0.2 (Single node 
installation)  and getting error in the last step.

While running #fab setup_all 

getting the below error: 


2016-08-03 16:52:21:797023: [[email protected]] sudo: grep '^dir' 
/etc/redis/redis.conf | awk '{print $2}'

2016-08-03 16:52:21:797538: [[email protected]] out: /var/lib/redis

2016-08-03 16:52:21:845893: [[email protected]] out: 

2016-08-03 16:52:21:846012: 

2016-08-03 16:52:21:847065: [[email protected]] sudo: rm -f /var/lib/redis/dump.rdb

2016-08-03 16:52:21:847202: [[email protected]] sudo: sed -i -e '/^[ 
]*save/s/^/#/' /etc/redis/redis.conf

2016-08-03 16:52:21:926760: [[email protected]] sudo: sed -i -e '/^[ 
]*dbfilename/s/^/#/' /etc/redis/redis.conf

2016-08-03 16:52:22:019272: [[email protected]] sudo: service redis-server start

2016-08-03 16:52:22:067832: [[email protected]] out: Starting redis-server: 
redis-server.

2016-08-03 16:52:22:154513: [[email protected]] out: 

2016-08-03 16:52:22:154601: 

2016-08-03 16:52:22:156622: [[email protected]] sudo: service redis-server status 
| grep not

2016-08-03 16:52:22:156752: [[email protected]] out: redis-server is not running

2016-08-03 16:52:22:237444: [[email protected]] out: 

2016-08-03 16:52:22:237528: 

2016-08-03 16:52:22:237986: [[email protected]] sudo: service redis-server restart

2016-08-03 16:52:23:239488: [[email protected]] out: Stopping redis-server: 
redis-server.

2016-08-03 16:52:23:258380: [[email protected]] out: Starting redis-server: 
redis-server.

2016-08-03 16:52:24:273113: [[email protected]] out: 

2016-08-03 16:52:24:273337: 

2016-08-03 16:52:24:285269: [[email protected]] sudo: service redis-server status 
| grep not

2016-08-03 16:52:24:285866: [[email protected]] out: redis-server is not running

2016-08-03 16:52:24:344743: [[email protected]] out: 

2016-08-03 16:52:24:344873: 

2016-08-03 16:52:24:345354: [[email protected]] sudo: service redis-server restart

2016-08-03 16:52:25:346196: [[email protected]] out: Stopping redis-server: 
redis-server.

2016-08-03 16:52:25:363537: [[email protected]] out: Starting redis-server: 
redis-server.

2016-08-03 16:52:26:376241: [[email protected]] out: 

2016-08-03 16:52:26:376414: 

2016-08-03 16:52:26:381337: [[email protected]] sudo: service redis-server status 
| grep not

2016-08-03 16:52:26:381465: [[email protected]] out: redis-server is not running

2016-08-03 16:52:26:440106: [[email protected]] out: 

2016-08-03 16:52:26:440232: 

2016-08-03 16:52:26:442017: [[email protected]] sudo: service redis-server restart

2016-08-03 16:52:27:442770: [[email protected]] out: Stopping redis-server: 
redis-server.

2016-08-03 16:52:27:458658: [[email protected]] out: Starting redis-server: 
redis-server.

2016-08-03 16:52:28:472103: [[email protected]] out: 

2016-08-03 16:52:28:472253: 

2016-08-03 16:52:28:477002: [[email protected]] sudo: service redis-server status 
| grep not

2016-08-03 16:52:28:477186: [[email protected]] out: redis-server is not running

2016-08-03 16:52:28:532708: [[email protected]] out: 

2016-08-03 16:52:28:532807: 

2016-08-03 16:52:28:535158: [[email protected]] sudo: service redis-server restart

2016-08-03 16:52:29:535991: [[email protected]] out: Stopping redis-server: 
redis-server.

2016-08-03 16:52:29:558708: [[email protected]] out: Starting redis-server: 
redis-server.

2016-08-03 16:52:30:567496: [[email protected]] out: 

2016-08-03 16:52:30:567638: 

2016-08-03 16:52:30:579709: [[email protected]] sudo: service redis-server status 
| grep not

2016-08-03 16:52:30:579846: [[email protected]] out: redis-server is not running

2016-08-03 16:52:30:628637: [[email protected]] out: 

2016-08-03 16:52:30:628724: 

2016-08-03 16:52:30:630377: [[email protected]] sudo: service redis-server restart

2016-08-03 16:52:31:631689: [[email protected]] out: Stopping redis-server: 
redis-server.

2016-08-03 16:52:31:651755: [[email protected]] out: Starting redis-server: 
redis-server.

2016-08-03 16:52:32:664698: [[email protected]] out: 

2016-08-03 16:52:32:664810: 

2016-08-03 16:52:32:675836: [[email protected]] sudo: service redis-server status 
| grep not

2016-08-03 16:52:32:675978: [[email protected]] out: redis-server is not running

2016-08-03 16:52:32:731276: [[email protected]] out: 

2016-08-03 16:52:32:731361: 

2016-08-03 16:52:32:731805: [[email protected]] sudo: service redis-server restart

2016-08-03 16:52:33:732093: [[email protected]] out: Stopping redis-server: 
redis-server.

2016-08-03 16:52:33:749057: [[email protected]] out: Starting redis-server: 
redis-server.

2016-08-03 16:52:34:761308: [[email protected]] out: 

2016-08-03 16:52:34:761493: 

2016-08-03 16:52:34:763622: [[email protected]] sudo: service redis-server status 
| grep not

2016-08-03 16:52:34:764625: [[email protected]] out: redis-server is not running

2016-08-03 16:52:34:822523: [[email protected]] out: 

2016-08-03 16:52:34:822698: 

2016-08-03 16:52:34:822850: [[email protected]] sudo: service redis-server restart

2016-08-03 16:52:35:824509: [[email protected]] out: Stopping redis-server: 
redis-server.

2016-08-03 16:52:35:870098: [[email protected]] out: Starting redis-server: 
redis-server.

2016-08-03 16:52:36:874638: [[email protected]] out: 

2016-08-03 16:52:36:874910: 

2016-08-03 16:52:36:876985: [[email protected]] sudo: service redis-server status 
| grep not

2016-08-03 16:52:36:877485: [[email protected]] out: redis-server is not running

2016-08-03 16:52:36:928018: [[email protected]] out: 

2016-08-03 16:52:36:928105: 

2016-08-03 16:52:36:929021: [[email protected]] sudo: service redis-server restart

2016-08-03 16:52:37:930190: [[email protected]] out: Stopping redis-server: 
redis-server.

2016-08-03 16:52:37:955870: [[email protected]] out: Starting redis-server: 
redis-server.

2016-08-03 16:52:38:960915: [[email protected]] out:ÿ

2016-08-03 16:52:38:962684:ÿ

2016-08-03 16:52:38:977608: [[email protected]] sudo: service redis-server status 
| grep not

2016-08-03 16:52:38:977753: [[email protected]] out: redis-server is not running

2016-08-03 16:52:39:031499: [[email protected]] out:ÿ

2016-08-03 16:52:39:031614:ÿ

2016-08-03 16:52:39:032094: [[email protected]] sudo: service redis-server restart

2016-08-03 16:52:40:032681: [[email protected]] out: Stopping redis-server: 
redis-server.

2016-08-03 16:52:40:057859: [[email protected]] out: Starting redis-server: 
redis-server.

2016-08-03 16:52:41:064874: [[email protected]] out:ÿ

2016-08-03 16:52:41:064979:ÿ

2016-08-03 16:52:41:067323: [[email protected]] sudo: service redis-server status 
| grep not

2016-08-03 16:52:41:067448: [[email protected]] out: redis-server is not running

2016-08-03 16:52:41:151130: [[email protected]] out:ÿ

2016-08-03 16:52:41:151220:ÿ

2016-08-03 16:52:41:151583: Traceback (most recent call last):

2016-08-03 16:52:41:151759: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 743, in main

2016-08-03 16:52:41:151779: ÿ ÿ *args, **kwargs

2016-08-03 16:52:41:151887: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 375, in execute

2016-08-03 16:52:41:151907: ÿ ÿ multiprocessing

2016-08-03 16:52:41:151973: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 271, in _execute

2016-08-03 16:52:41:151987: ÿ ÿ return task.run(*args, **kwargs)

2016-08-03 16:52:41:152035: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run

2016-08-03 16:52:41:152048: ÿ ÿ return self.wrapped(*args, **kwargs)

2016-08-03 16:52:41:152086: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/decorators.py", line 53, in 
inner_decorator

2016-08-03 16:52:41:152099: ÿ ÿ return func(*args, **kwargs)

2016-08-03 16:52:41:152167: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 168, in __call__

2016-08-03 16:52:41:152181: ÿ ÿ return self.run(*args, **kwargs)

2016-08-03 16:52:41:152218: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run

2016-08-03 16:52:41:152231: ÿ ÿ return self.wrapped(*args, **kwargs)

2016-08-03 16:52:41:152266: ÿ File 
"/opt/contrail/utils/fabfile/tasks/provision.py", line 2449, in setup_all

2016-08-03 16:52:41:152279: ÿ ÿ execute('setup_collector')

2016-08-03 16:52:41:152569: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 375, in execute

2016-08-03 16:52:41:152584: ÿ ÿ multiprocessing

2016-08-03 16:52:41:152642: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 271, in _execute

2016-08-03 16:52:41:152655: ÿ ÿ return task.run(*args, **kwargs)

2016-08-03 16:52:41:152700: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run

2016-08-03 16:52:41:152713: ÿ ÿ return self.wrapped(*args, **kwargs)

2016-08-03 16:52:41:152749: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/decorators.py", line 53, in 
inner_decorator

2016-08-03 16:52:41:152762: ÿ ÿ return func(*args, **kwargs)

2016-08-03 16:52:41:152788: ÿ File 
"/opt/contrail/utils/fabfile/tasks/provision.py", line 1179, in setup_collector

2016-08-03 16:52:41:152801: ÿ ÿ execute("setup_collector_node", env.host_string)

2016-08-03 16:52:41:153013: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 415, in execute

2016-08-03 16:52:41:153029: ÿ ÿ results['<local-only>'] = task.run(*args, 
**new_kwargs)

2016-08-03 16:52:41:153092: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run

2016-08-03 16:52:41:153106: ÿ ÿ return self.wrapped(*args, **kwargs)

2016-08-03 16:52:41:153143: ÿ File 
"/opt/contrail/utils/fabfile/tasks/provision.py", line 1271, in 
setup_collector_node

2016-08-03 16:52:41:153156: ÿ ÿ execute("setup_redis_server_node", host_string)

2016-08-03 16:52:41:153310: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 415, in execute

2016-08-03 16:52:41:153323: ÿ ÿ results['<local-only>'] = task.run(*args, 
**new_kwargs)

2016-08-03 16:52:41:153384: ÿ File 
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run

2016-08-03 16:52:41:153397: ÿ ÿ return self.wrapped(*args, **kwargs)

2016-08-03 16:52:41:153434: ÿ File 
"/opt/contrail/utils/fabfile/tasks/provision.py", line 1225, in 
setup_redis_server_node

2016-08-03 16:52:41:153462: ÿ ÿ raise RuntimeError("redis-server did not start 
successfully")

2016-08-03 16:52:41:153614: RuntimeError: redis-server did not start 
successfully

2016-08-03 16:52:41:153657: Disconnecting from 127.0.0.1... done.

2016-08-03 16:52:41:270225: root@ubuntu:/opt/contrail/utils# service 
redis-server restart



I have tried executingÿservice redis-server restart and redis has restarted 
correctly. Do I need configure anything.Can anyone help me where i am going 
wrong.



Thanks and Regards,

Pavani
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to