[R2.20-Build 22]: juno single node provisioning with docker hypervisor failed

Bug #1456891 reported by alok kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Ignatious Johnson Christopher
Trunk
Fix Committed
High
Ignatious Johnson Christopher

Bug Description

I was trying single node juno provisioning(with reimage) with docker but it couldn’t go through.

"nova aggregate-create docker nova/docker" throws error.

from setup_all_2015_05_12_19_26_721155.log(file attached):

2015-05-19 12:30:14:388824: [root@10.204.217.99] sudo: (source /etc/contrail/openstackrc; nova aggregate-create docker nova/docker)
2015-05-19 12:30:14:389050: [root@10.204.217.99] out: ERROR (Unauthorized): Unauthorized (HTTP 401) (Request-ID: req-77bfdedb-b53a-4c6a-b81b-2b84de912df7)
2015-05-19 12:30:15:087959: [root@10.204.217.99] out:
2015-05-19 12:30:15:103506:
2015-05-19 12:30:15:124766: Disconnecting from 10.204.217.99... done.
2015-05-19 12:30:15:239092:
2015-05-19 12:21:02:668676: Warning: sudo() received nonzero return code 2 while executing 'sed -i '/umask 007/ a\limit nofile 10240 10240' /etc/init/mysql.conf'!
2015-05-19 12:21:02:668676:
2015-05-19 12:21:02:668676:
2015-05-19 12:21:03:010223: Warning: sudo() received nonzero return code 1 while executing 'grep '^net.ipv4.ip_local_reserved_ports' /etc/sysctl.conf > /dev/null 2>&1'!
2015-05-19 12:21:03:010223:
2015-05-19 12:21:03:010223:
2015-05-19 12:21:03:186617: Warning: sudo() received nonzero return code 2 while executing 'sudo ls /etc/contrail/service.token'!
2015-05-19 12:21:03:186617:
2015-05-19 12:21:03:186617:
2015-05-19 12:28:02:249877: Warning: sudo() received nonzero return code 1 while executing 'service mongodb status | grep not'!
2015-05-19 12:28:02:249877:
2015-05-19 12:28:02:249877:
2015-05-19 12:28:06:325225: Warning: sudo() received nonzero return code 1 while executing 'source /etc/contrail/openstackrc;keystone user-get ceilometer'!
2015-05-19 12:28:06:325225:
2015-05-19 12:28:06:325225:
2015-05-19 12:28:08:414860: Warning: sudo() received nonzero return code 1 while executing 'grep '^auth_host =' /etc/ceilometer/ceilometer.conf'!
2015-05-19 12:28:08:414860:
2015-05-19 12:28:08:414860:
2015-05-19 12:28:09:762187: Warning: sudo() received nonzero return code 1 while executing 'source /etc/contrail/openstackrc;keystone service-list | grep ceilometer'!
2015-05-19 12:28:09:762187:
2015-05-19 12:28:09:762187:
2015-05-19 12:29:23:881102: Warning: sudo() received nonzero return code 1 while executing 'service redis-server status | grep not'!
2015-05-19 12:29:23:881102:
2015-05-19 12:29:23:881102:
2015-05-19 12:29:48:698776: Warning: sudo() received nonzero return code 1 while executing 'service redis-server status | grep not'!
2015-05-19 12:29:48:698776:
2015-05-19 12:29:48:698776:
2015-05-19 12:29:58:887935: Warning: sudo() received nonzero return code 1 while executing 'grep '^instance_usage_audit =' /etc/nova/nova.conf'!
2015-05-19 12:29:58:887935:
2015-05-19 12:29:58:887935:
2015-05-19 12:30:15:124919: Fatal error: sudo() received nonzero return code 1 while executing!
2015-05-19 12:30:15:124919:
2015-05-19 12:30:15:124919: Requested: (source /etc/contrail/openstackrc; nova aggregate-create docker nova/docker)
2015-05-19 12:30:15:124919: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "(source /etc/contrail/openstackrc; nova aggregate-create docker nova/docker)"
2015-05-19 12:30:15:124919:
2015-05-19 12:30:15:124962: Aborting.
2015-05-19 12:30:15:124962:

root@nodec59:~/fabric-utils# source /etc/contrail/openstackrc; nova aggregate-create docker nova/docker
ERROR (Conflict): Aggregate docker already exists. (HTTP 409) (Request-ID: req-64a8b4c9-531f-4c1c-95ed-f5df102b5323)

root@nodec59:~/fabric-utils# nova aggregate-list
+----+--------+-------------------+
| Id | Name | Availability Zone |
+----+--------+-------------------+
| 1 | docker | nova/docker |
+----+--------+—————————+

root@nodec59:~/fabric-utils# contrail-status
vRouter is NOT PRESENT

== Contrail vRouter ==
supervisor-vrouter: inactive
unix:///tmp/supervisord_vrouter.sockno

== Contrail Control ==
supervisor-control: active
contrail-control active
contrail-control-nodemgr active
contrail-dns active
contrail-named active

== Contrail Analytics ==
supervisor-analytics: active
contrail-analytics-api active
contrail-analytics-nodemgr active
contrail-collector active
contrail-query-engine active
contrail-snmp-collector active
contrail-topology active

== Contrail Config ==
supervisor-config: active
contrail-api:0 active
contrail-config-nodemgr active
contrail-device-manager active
contrail-discovery:0 active
contrail-schema active
contrail-svc-monitor active
ifmap active

== Contrail Web UI ==
supervisor-webui: active
contrail-webui active
contrail-webui-middleware active

== Contrail Database ==
supervisor-database: active
contrail-database active
contrail-database-nodemgr active

== Contrail Support Services ==
supervisor-support-service: active
rabbitmq-server active

Revision history for this message
alok kumar (kalok) wrote :
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/10723
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/10732
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/10723
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/04adcca0669e656487fb4cef2a9fd0d431de1bdc
Submitter: Zuul
Branch: R2.20

commit 04adcca0669e656487fb4cef2a9fd0d431de1bdc
Author: Ignatious Johnson Christopher <email address hidden>
Date: Fri May 22 12:38:54 2015 -0700

Retrying to create nova-docker in cases where the openstack servrices are
starting up after reboot.

Change-Id: I7b73ef25f04c92ca2fa00429a69b04cb5ce508e9
Closes-Bug: 1456891

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/10732
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/d157402791ff8cb57e01362b8708a3aa8892c7fb
Submitter: Zuul
Branch: master

commit d157402791ff8cb57e01362b8708a3aa8892c7fb
Author: Ignatious Johnson Christopher <email address hidden>
Date: Fri May 22 16:40:12 2015 -0700

Retrying to create nova-docker in cases where the openstack servrices are
starting up after reboot.

Change-Id: Ie36a6f52ad5dbbbb371b2295c1f26268a90ffcc2
Closes-Bug: 1456891

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.