Storage: provision fails when disk not provided in a storage-compute node

Bug #1583478 reported by Jeya ganesh babu J
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

Storage provision fails when disks are not provided for a storage-compute node.

Following error is seen
2016-05-18 23:04:37:937426: [root@10.84.29.16] out: [192.168.2.16] out: [root@192.168.1.210] out: Traceback (most recent call last):
2016-05-18 23:04:38:001673: [root@10.84.29.16] out: [192.168.2.16] out: [root@192.168.1.210] out: File "/usr/bin/openstack-config", line 50, in <module>
2016-05-18 23:04:38:002050: [root@10.84.29.16] out: [192.168.2.16] out: [root@192.168.1.210] out: conf.readfp(open(cfgfile))
2016-05-18 23:04:38:002254: [root@10.84.29.16] out: [192.168.2.16] out: [root@192.168.1.210] out: IOError: [Errno 2] No such file or directory: '/etc/ceph/ceph.conf'
2016-05-18 23:04:38:002434: [root@10.84.29.16] out: [192.168.2.16] out: [root@192.168.1.210] out:
2016-05-18 23:04:38:002610: [root@10.84.29.16] out: [192.168.2.16] out:
2016-05-18 23:04:38:002782: [root@10.84.29.16] out: [192.168.2.16] out:
2016-05-18 23:04:38:002957: [root@10.84.29.16] out: [192.168.2.16] out: Fatal error: run() received nonzero return code 1 while executing!
2016-05-18 23:04:38:003133: [root@10.84.29.16] out: [192.168.2.16] out:
2016-05-18 23:04:38:003317: [root@10.84.29.16] out: [192.168.2.16] out: Requested: sudo openstack-config --set /etc/ceph/ceph.conf global "mon_initial_members" "b7s12, root@10, b7s18, b7s16, b7s17"
2016-05-18 23:04:38:003491: [root@10.84.29.16] out: [192.168.2.16] out: Executed: /bin/bash -l -c "sudo openstack-config --set /etc/ceph/ceph.conf global \"mon_initial_members\" \"b7s12, root@10, b7s18, b7s16, b7s17\""
2016-05-18 23:04:38:003814: [root@10.84.29.16] out: [192.168.2.16] out:
2016-05-18 23:04:38:003991: [root@10.84.29.16] out: [192.168.2.16] out: Aborting.
2016-05-18 23:04:38:004161: [root@10.84.29.16] out: [192.168.2.16] out: Exception in thread Thread-4 (most likely raised during interpreter shutdown):

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

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

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

Review in progress for https://review.opencontrail.org/20406
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/20403
Committed: http://github.org/Juniper/contrail-provisioning/commit/ce7d1c8b1015529d997e6389d950320ae2cfe19f
Submitter: Zuul
Branch: R3.0

commit ce7d1c8b1015529d997e6389d950320ae2cfe19f
Author: Jeya ganesh babu J <email address hidden>
Date: Thu May 19 00:27:04 2016 -0700

Liberty VM launch issue from horizon

Closes-Bug: #1497755
Closes-Bug: #1479994
Partial-Bug: #1582945
Closes-Bug: #1583478
Fixed VM launch issue with horizon.
The admin_user needs to be set to cinderv2 instead of cinder.
Fixed copy of write for glance images.
Set crush tunables to optimal
Fixed issue in provision with no disks configured in the compute node.

Change-Id: I32aa92e618238cb61692596aec25cf572fa80912

Jeba Paulaiyan (jebap)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/20406
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/20406
Committed: http://github.org/Juniper/contrail-provisioning/commit/410cadd34b69e7b444f52c9a55556e552ce5b3e0
Submitter: Zuul
Branch: master

commit 410cadd34b69e7b444f52c9a55556e552ce5b3e0
Author: Jeya ganesh babu J <email address hidden>
Date: Thu May 19 00:37:05 2016 -0700

Storage provision fix

Closes-Bug: #1497755
Closes-Bug: #1479994
Partial-Bug: #1582945
Closes-Bug: #1583478
Closes-Bug: #1559638
Fixed VM launch issue with horizon.
The admin_user needs to be set to cinderv2 instead of cinder.
Fixed copy of write for glance images.
Set crush tunables to optimal
Fixed issue in provision with no disks configured in the compute node.
With the removal of the NFS over Ceph based live-migration,
the provision script is modified to use /var/lib/nova/instances
directory for NFS mounts instead of /var/lib/nova/instances/global
directory.

Change-Id: I0702b1babddc78712144f124b3bae4033b5880fe

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.