Bug 1289289 - Packstack Installation Fails Due to New Heira Packages in RHEL-OSP 7.2
Packstack Installation Fails Due to New Heira Packages in RHEL-OSP 7.2
Status: CLOSED DUPLICATE of bug 1288806
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack (Show other bugs)
7.0 (Kilo)
Unspecified Unspecified
medium Severity high
: z3
: 8.0 (Liberty)
Assigned To: Martin Magr
Depends On:
Blocks: 1292567
  Show dependency treegraph
Reported: 2015-12-07 15:18 EST by Dustin Schoenbrun
Modified: 2016-04-18 03:05 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1292567 (view as bug list)
Last Closed: 2015-12-09 04:46:37 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Output of the packstack command. (4.28 KB, text/plain)
2015-12-07 15:18 EST, Dustin Schoenbrun
no flags Details

  None (edit)
Description Dustin Schoenbrun 2015-12-07 15:18:25 EST
Created attachment 1103365 [details]
Output of the packstack command.

Description of problem:
It seems like the versions of Heira supplied with RHEL 7.2 and the one needed for Packstack in RHEL-OSP 7.2 are incompatible. It appears to be a mismatch in the /etc/puppet/hiera.yaml file as to the yaml files it's searching for to find the variable data needed for installation. The version supplied is looking for "common" in the yaml file name whereas the files provided use the older nomenclature of "defaults". This causes the first variable lookup to fail. 

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

How reproducible:
This bug appears to be reproducible 100% of the time when using Packstack in RHEL-OSP 7.2

Steps to Reproduce:
1. Install RHEL 7.2
2. Install OpenStack Packstack (sudo yum install -y openstack-packstack)
3. Generate an answer file (packstack --gen-answer-file=answers.txt)
4. Use the answer file to install OpenStack (packstack --answer-file=answers.txt)
5. Note that this can also be done with the --allinone command. It does not seem to depend on the answer file. 

Actual results:
The packstack install process fails on the first variable look up. 

Expected results:
The packstack installation process shall complete successfully.

Additional info:
This appears to be the same issue that affected RDO Liberty detailed in https://bugzilla.redhat.com/show_bug.cgi?id=1284978

You can workaround this issue by modifying /etc/puppet/hiera.yaml and replacing the line
  - common
  - defaults 
under the :hierarchy: heading.
Comment 2 Martin Magr 2015-12-09 04:46:37 EST

*** This bug has been marked as a duplicate of bug 1288806 ***

Note You need to log in before you can comment on or make changes to this bug.