Bug 1105597 - Glusterfs requires submodule module-data to be created
Summary: Glusterfs requires submodule module-data to be created
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-puppet-modules
Version: 5.0 (RHEL 7)
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ga
: 5.0 (RHEL 7)
Assignee: Ivan Chavero
QA Contact: nlevinki
URL:
Whiteboard:
Depends On: 1108039
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-06 13:32 UTC by Gilles Dubreuil
Modified: 2014-09-08 05:43 UTC (History)
9 users (show)

Fixed In Version: openstack-puppet-modules-2014.1-19.3.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-04 18:34:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:1003 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2014-08-04 22:31:07 UTC

Description Gilles Dubreuil 2014-06-06 13:32:44 UTC
Latest version of puppet-gluster requires

https://github.com/ripienaar/puppet-module-data

to support RHEL7 (and CentOS and Fedora)

This should be done before or as soon as BZ#1095985 issue has been resolved.

Comment 3 Ivan Chavero 2014-06-10 14:20:58 UTC
The pull request has been merged. We have to update the o-p-m package with this changes

Comment 4 Marek Hulan 2014-06-11 15:14:24 UTC
This breaks compatibility with foreman's puppetmaster (at least with hiera < 1.2.0). New backend requires hiera/filecache to exist.

Comment 5 Hugh Brock 2014-06-11 15:15:13 UTC
As above, do *not* update o-p-m with these changes please.

Comment 6 Martin Magr 2014-06-11 15:23:07 UTC
This module has to be removed from o-p-m until this issue will be fixed on puppet-module-data level.

Comment 7 Gilles Dubreuil 2014-06-16 02:58:34 UTC
For puppet-module-data to work, BZ#1108039 and BZ#1095985
have to be fixed/addressed first.

Comment 8 Gilles Dubreuil 2014-06-23 07:46:43 UTC
Latest investigation shows that the module itself doesn't break foreman.
Running puppetmaster without foreman shows the same error.
Basically puupet-hiera is kicking-in but fails because puppet cannot find the hiera configuration file.

A workaround is to create a symbolic link for /etc/puppet/hiera.yaml:
---------------
$ ln -s /etc/hiera.yaml /etc/puppet/hiera.yaml
---------------

Please see BZ#1108039

Comment 9 Marek Hulan 2014-06-23 08:00:42 UTC
The report was not about missing hiera config warning nor breaking foreman. As stated before, this module is incompatible with hiera < 1.2.0 because it relies on hiera/filecache backend that was added in 1.2.0.

After uploading this module to puppetmaster it automatically creates incompatible files in /var/lib/puppet/lib which then causes puppet crash. I'll try to provide error output later so there's no more confusion.

Comment 10 Gilles Dubreuil 2014-06-23 08:50:35 UTC
Thanks, Marek, that's clear for hieara version, which needs to be >= 1.2.0 for the hiera/filecache.

My previous comment is incomplete. They are other other dependencies, such as the hiera.yaml and the puppet version. Upgrading puppet to a newer version allow the catalogue to execute:

rhel6:
puppet --version
3.4.0-rc2
hiera --version
1.3.2-rc2

rhel7: 

puppet --version
3.4.3
hiera --version
1.3.1

Comment 11 Gilles Dubreuil 2014-06-27 03:36:49 UTC
Puppet and Hiera versions have been bumped up (see BZ#1095985):
puppet --version
3.6.2
hiera --version
1.3.1

Still waiting for BZ#1108039 to fix hiera configuration file issue so the module can be added.

Comment 12 Crag Wolfe 2014-07-18 16:50:00 UTC
Here's a +1 data point to include module-data in the openstack-puppet-modules rpm.

I tested a fresh install of foreman 1.6 on EL6 with the contents of /usr/share/openstack-puppet/modules/module-data equivalent to https://github.com/ripienaar/puppet-module-data/tree/159fc5e0e21ce9df96c777f0064b5eca88e29cae (what o-p-m currently points to).  I was able to deploy the host group, "HA All In One Controller" without error.

Rpm's used:
foreman-1.6.0.21-1.el6sat.noarch
puppet-3.6.2-1.el6.noarch
puppet-server-3.6.2-1.el6.noarch
hiera-1.3.1-2.el6.noarch

Comment 13 Gilles Dubreuil 2014-07-21 00:01:35 UTC
(In reply to Crag Wolfe from comment #12)

Thanks! module-data can now be included into RPM build.

Comment 15 Alvaro Lopez Ortega 2014-07-22 20:28:18 UTC
Spec file work.

Comment 16 nlevinki 2014-07-24 06:25:43 UTC
tested with OpenStack-5.0-RHEL-7 Puddle: 2014-07-23.1
rpm -qa | grep openstack-puppet
openstack-puppet-modules-2014.1-19.3.el7ost.noarch
regression passed

Comment 18 errata-xmlrpc 2014-08-04 18:34:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-1003.html


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