Support Puppet4

Bug #1597951 reported by Alan Pevec
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Copied from

Summary: Incorrect Format for 'mode' in Puppet Manifest amqp.pp

Description of problem:
packstack installer fails with the error
ERROR : Error appeared during Puppet run:
Error: Parameter mode failed on File[rabbitmq.config]: The file mode specification must be a string, not 'Fixnum' at /var/tmp/packstack/acac3c972b894b65a5f51ffa98e401a3/modules/rabbitmq/manifests/config.pp:84
You will find full trace in log /var/tmp/packstack/20160624-105930-iXVbrO/manifests/
Please check log file /var/tmp/packstack/20160624-105930-iXVbrO/openstack-setup.log for more information

Version-Release number of selected component (if applicable):
- openstack-packstack-8.0.0-1.el7.noarch
- Fedora 24 kernel 4.5.5-300.fc24.x86_64
- puppet-4.2.1-3.fc24.noarch

How reproducible:
Run the packstack installer on Fedora 24

Steps to Reproduce:

Actual results:
ERROR : Error appeared during Puppet run:

Expected results:
install should proceed w/o error

Additional info:
A similar error about string vs Fixnum in puppet manifests was reported at
I used this method to edit amqp.pp and now packstack installer works fine.

Here is the diff:

--- amqp.pp.orig 2016-06-24 11:09:33.996453212 +0900
+++ amqp.pp 2016-06-24 11:10:04.837401879 +0900
@@ -69,7 +69,7 @@
     ensure => present,
     owner => 'rabbitmq',
     group => 'rabbitmq',
- mode => 0640,
+ mode => '0640',


Alan Pevec (apevec)
description: updated
Revision history for this message
Javier Peña (jpena-c) wrote :
Changed in packstack:
status: New → Fix Released
Revision history for this message
Alan Pevec (apevec) wrote :

Is this backportable to stable/mitaka?
Are there any other Puppet4 incompatiblities?

Revision history for this message
NirLevy (nirl) wrote :

I had the same problem.
how can I resolve it.
yum info still do not offer package later than 4.2.1

from which rpm version has this been fixed ? will it fit fedora 24?
or shall I degrade to some other package?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers