Ask Your Question

Hiera 3.0.1 on CentOS 7.2 errors out

asked 2016-01-14 16:15:07 -0500

iguy gravatar image

In setting up the RDO Director undercloud setup (TripleO) I ran into a couple gotchas. One of them i ran into is when running the openstack undercloud install hiera would fail with the following message:

Failed to start Hiera: RuntimeError: Config file /etc/puppetlabs/code/hiera.yaml not found

This is an issue with the Hiera release as it doesn't look for /etc/hiera.yaml or /etc/puppet/hiera.yaml. Out of the box heira doesn't work.

We fixed this by creating a symlink to /etc/puppet/hiera.yaml.

mkdir -p /etc/puppetlabs/code
ln -s /etc/hiera.yaml /etc/puppetlabs/code/hiera.yaml

Where would I need to go to get this package fixed correctly?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-01-25 12:29:52 -0500

hguemar gravatar image

known issue, you're using EPEL repositories which has recently broken hiera for us. I suggest that you downgrade to the version in RDO repositories and lock the version.

sudo yum install yum-plugin-versionlock sudo yum --disablerepo=epel* downgrade hiera sudo yum versionlock hiera

To get the EPEL package fixed, I suggest that you open a ticket to the EPEL repositories through this link

Due to such recurring issues, we're not supporting EPEL repository with RDO.

edit flag offensive delete link more


Thanks. That's what I needed to know.

iguy gravatar imageiguy ( 2016-01-27 10:50:08 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-01-14 16:15:07 -0500

Seen: 233 times

Last updated: Jan 25 '16