Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1062756

Summary: Cinder volume driver (lvm ISCSI not enabled by packstack
Product: Red Hat OpenStack Reporter: Balaji <bjayavel>
Component: openstack-cinderAssignee: RHOS Maint <rhos-maint>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Dafna Ron <dron>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0CC: abaron, bjayavel, eharney, scohen, yeylon
Target Milestone: ---   
Target Release: 5.0 (RHEL 7)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
RHOS4 with ISCSI based LVM for Cinder. Installation using packstack.
Last Closed: 2014-02-23 19:01:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
answer file to setup RHOS 4 using packstack with LVM ISCSI option for Cinder. none

Description Balaji 2014-02-07 22:28:20 UTC
Created attachment 860739 [details]
answer file to setup RHOS 4 using packstack with LVM ISCSI option for Cinder.

Description of problem:
RHOS4 packstack install does not enable LVM ISCSI Driver when LVM is selected for RHEL OSP4 installation via packstack. This results in a volume group creation. However, cinder volumes fail to get created. 

Version-Release number of selected component (if applicable):RHOS 4


How reproducible:
RHOS 4 installation via packstack:

Channels used:
rhel-x86_64-server-rh-common-6 
rhel-x86_64-server-6-rhscl-1 
rhel-x86_64-server-6-ost-4
rhel-x86_64-server-lb-6

Answer file attached

Steps to Reproduce:
1.Running packstack with the above mentioned channels using the attached answer file. 
2.cinder create 1 creates a volume but shows a status of error. Also there is no logical volume created for it.
3.

Actual results:
cinder volume status is "error". No logical volume created under cinder-volumes VG.

Expected results:
cinder volume status should be "available" with a new logical volume under cinder-volumes VG

Additional info:
Workaround: Adding the line to the script:
"openstack-config --set /etc/cinder/cinder.conf LVM volume_driver cinder.volume.drivers.lvm.LVMISCSIDriver" 
Will enable the lvm iscsi driver and resolve the issue.

Comment 1 Eric Harney 2014-02-07 22:30:37 UTC
Please attach /var/log/cinder/volume.log and cinder.conf.