Bug 1376769

Summary: Could not find data item CONFIG_CINDER_VOLUMES_CREATE in any Hiera data file and no default supplied
Product: [Community] RDO Reporter: Suraj Narwade <surajnarwade353>
Component: openstack-packstackAssignee: Javier Peña <jpena>
Status: CLOSED UPSTREAM QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: trunkCC: aortega, chris.brown, derekh, jpena, srevivo
Target Milestone: ---   
Target Release: trunk   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-18 13:52:45 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
controller.pp.log none

Description Suraj Narwade 2016-09-16 11:28:24 UTC
Created attachment 1201602 [details]
controller.pp.log

Description of problem:
I am testing https://www.rdoproject.org/storage/Cinder/using-nfs-for-cinder-with-rdo/ for RDO newton, but it says Error: Could not find data item CONFIG_CINDER_VOLUMES_CREATE in any Hiera data file and no default supplied.

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


How reproducible:


Steps to Reproduce:
1.packstack --enable-rdo-testing=y --cinder-backend=nfs --cinder-nfs-mounts=<IP/hostname>:/<sharepoint>  --allinone
2.
3.

Actual results:
Error: Could not find data item CONFIG_CINDER_VOLUMES_CREATE in any Hiera data file and no default supplied at /var/tmp/packstack/da1ea797190b4d269898b3f20ca48f0b/modules/packstack/manifests/cinder/backend/lvm.pp:3 on node


Expected results:


Additional info:

Comment 1 Javier Peña 2016-09-16 16:37:11 UTC
This has turned out to be a bug in the way Packstack handled the CINDER_BACKEND variable in the Puppet code. In two places, it was not being treated as an array, which caused an issue as soon as we did not use LVM as a Cinder backend.

Proposed https://review.openstack.org/371701 as a fix.

Comment 2 Christopher Brown 2017-06-18 13:52:45 UTC
Upstream patch was merged so closing.