Bug 1226393

Summary: CONFIG_PROVISION_DEMO=n causes packstack to fail
Product: [Community] RDO Reporter: Jon Jozwiak <jjozwiak>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED CURRENTRELEASE QA Contact: Shai Revivo <srevivo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: KiloCC: aortega, derekh, jpena, srevivo
Target Milestone: ---   
Target Release: Kilo   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-packstack-8.0.0-0.7.0rc2.el7.noarch Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-18 16:24:38 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:

Description Jon Jozwiak 2015-05-29 16:02:48 UTC
Description of problem:
If CONFIG_PROVISION_DEMO=n is set in packstack, it results in the install failing with the following error: 

PuppetError: Error appeared during Puppet run: 192.168.122.205_provision_glance
Error: Could not find data item CONFIG_PROVISION_IMAGE_NAME in any Hiera data file and no default supplied at /var/tmp/packstack/eaf787cb8ecf44289fd13777e516c9fc/manifests/192.168.122.205_provision_glance:5 on node ...

It should not attempt to provision a glance image if CONFIG_PROVISION_DEMO=n

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

openstack-packstack-2015.1-0.2.dev1537.gba5183c.el7.noarch
openstack-packstack-puppet-2015.1-0.2.dev1537.gba5183c.el7.noarch

CentOS Linux release 7.1.1503 (Core) 


How reproducible:  Every time.  If I change CONFIG_PROVISION_DEMO=y the deployment works without problems.  


Steps to Reproduce:
1. Install base CentOS 7.1 & yum update it 
2. yum -y install centos-release-openstack-kilo
3. packstack --gen-answer-file=/root/answers.txt
4. Edit answer file and change CONFIG_PROVISION_DEMO=n
5. packstack --answer-file=/root/answers.txt

Actual results:


Expected results:


Additional info:

Comment 3 Javier Peña 2016-05-18 16:24:38 UTC
This was fixed in https://review.openstack.org/249778, and included in RDO Mitaka