setup_storage aborts with fatal error on openstack service create

Bug #1556348 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Jeya ganesh babu J
Trunk
Fix Committed
High
Jeya ganesh babu J

Bug Description

on setup_storage mainline-2720 kilo,

2016-03-11 17:42:16:745056: [root@10.87.129.173] out: [10.87.129.173] out: [localhost] local: source /etc/contrail/openstackrc && openstack service create --name cinderv2 --description volumev2 volumev2^M
2016-03-11 17:42:16:745155: [root@10.87.129.173] out: [10.87.129.173] out: /bin/bash: openstack: command not found^M
2016-03-11 17:42:16:745286: [root@10.87.129.173] out: [10.87.129.173] out: ^M
2016-03-11 17:42:16:745383: [root@10.87.129.173] out: [10.87.129.173] out: Fatal error: local() encountered an error (return code 127) while executing 'source /etc/contrail/openstackrc && openstack service create --name cinderv2 --description volumev2 volumev2'^M
2016-03-11 17:42:16:745479: [root@10.87.129.173] out: [10.87.129.173] out: ^M
2016-03-11 17:42:16:745579: [root@10.87.129.173] out: [10.87.129.173] out: Aborting.^M
2016-03-11 17:42:16:745670: [root@10.87.129.173] out: [10.87.129.173] out: ^M
2016-03-11 17:42:16:946760: [root@10.87.129.173] out: ^M
2016-03-11 17:42:16:978656: [root@10.87.129.173] out: ^M
2016-03-11 17:42:16:978786: [root@10.87.129.173] out: Fatal error: run() received nonzero return code 1 while executing!^M
2016-03-11 17:42:16:978879: [root@10.87.129.173] out: ^M
2016-03-11 17:42:16:978973: [root@10.87.129.173] out: Requested: sudo storage-fs-setup --storage-master 10.87.129.173 --storage-setup-mode setup --storage-hostnames cmbu-vse2100-1 cmbu-vse2100-10 cmbu-vse2100-11 --storage-compute-hostnames cmbu-vse2100-10 cmbu-vse2100-11 --storage-hosts 10.87.129.173 10.87.129.174 10.87.129.175 --storage-host-tokens n1keenA n1keenA n1keenA --storage-disk-config cmbu-vse2100-10:/dev/sdc cmbu-vse2100-11:/dev/sdc --storage-ssd-disk-config none --storage-journal-config cmbu-vse2100-10:/dev/sdb cmbu-vse2100-11:/dev/sdb --storage-local-disk-config none --storage-local-ssd-disk-config none --storage-nfs-disk-config none --storage-directory-config none --storage-chassis-config none --storage-mon-hosts none --collector-hosts 10.87.129.173 --collector-host-tokens n1keenA --cfg-host 10.87.129.173 --cinder-vip none --config-hosts none --storage-os-hosts none --storage-os-host-tokens none --cfg-vip none --storage-replica-size None --openstack-ip 10.87.129.173 --orig-hostnames cmbu-vse2100-1 cmbu-vse2100-10 cmbu-vse2100-11 --service-dbpass c0ntrail123 --region-name RegionOne^M
2016-03-11 17:42:16:979078: [root@10.87.129.173] out: Executed: /bin/bash -l -c "sudo storage-fs-setup --storage-master 10.87.129.173 --storage-setup-mode setup --storage-hostnames cmbu-vse2100-1 cmbu-vse2100-10 cmbu-vse2100-11 --storage-compute-hostnames cmbu-vse2100-10 cmbu-vse2100-11 --storage-hosts 10.87.129.173 10.87.129.174 10.87.129.175 --storage-host-tokens n1keenA n1keenA n1keenA --storage-disk-config cmbu-vse2100-10:/dev/sdc cmbu-vse2100-11:/dev/sdc --storage-ssd-disk-config none --storage-journal-config cmbu-vse2100-10:/dev/sdb cmbu-vse2100-11:/dev/sdb --storage-local-disk-config none --storage-local-ssd-disk-config none --storage-nfs-disk-config none --storage-directory-config none --storage-chassis-config none --storage-mon-hosts none --collector-hosts 10.87.129.173 --collector-host-tokens n1keenA --cfg-host 10.87.129.173 --cinder-vip none --config-hosts none --storage-os-hosts none --storage-os-host-tokens none --cfg-vip none --storage-replica-size None --openstack-ip 10.87.129.173 --orig-hostnames cmbu-vse2100-1 cmbu-vse2100-10 cmbu-vse2100-11 --service-dbpass c0ntrail123 --region-name RegionOne"^M

Tags: storage
wenqing liang (wliang)
information type: Proprietary → Public
description: updated
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/18359
Submitter: Jeya ganesh babu (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/18360
Submitter: Jeya ganesh babu (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/18359
Committed: http://github.org/Juniper/contrail-provisioning/commit/19aeb1db581df2b53a1b0a12ba91ff8f4effde7d
Submitter: Zuul
Branch: master

commit 19aeb1db581df2b53a1b0a12ba91ff8f4effde7d
Author: Jeya ganesh babu J <email address hidden>
Date: Fri Mar 11 23:54:52 2016 -0800

Storage Liberty provision fix

Closes-Bug: #1556348
Issue in version check fixed.

Change-Id: I0f0c51f9586caa256fb8b707734eb006eb65a675

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

Reviewed: https://review.opencontrail.org/18360
Committed: http://github.org/Juniper/contrail-provisioning/commit/f16afc4c220b846a03253bc43d3e8695ff521cf9
Submitter: Zuul
Branch: R3.0

commit f16afc4c220b846a03253bc43d3e8695ff521cf9
Author: Jeya ganesh babu J <email address hidden>
Date: Fri Mar 11 23:58:03 2016 -0800

Storage Liberty provision fix

Closes-Bug: #1556348
Issue in version check fixed.

Change-Id: I0c23460f5e119016bb16d8aac0fa030034fcd44d

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.