Hi Ato,

Thanks for your reply. I am using a deb file for Contrail 3.0 
installation. 

Pavani




From:   Antonio Sanchez-Monge <[email protected]>
To:     Pavani Addanki <[email protected]>
Cc:     "[email protected]" <[email protected]>
Date:   08/03/2016 08:19 PM
Subject:        Re: [opencontrail-dev] Contrail 3.0 and Contrail 3.0.2 
installation problem(redis)



Hi Pavani,

I once hit that issue. I reimaged, tried again the same exact steps and it 
worked. Not very scientific but if you can give it a try...

Cheers,

Ato

On 03 Aug 2016, at 13:37, Pavani Addanki <[email protected]> wrote:

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
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to