Description of problem: When installing, prescript.pp will fail trying to start iptables service. Version-Release number of selected component (if applicable): 2013.2.1-0.16.dev870.el6 How reproducible: Always, during install. Steps to Reproduce: 1. packstack --allinone 2. 3. Actual results: err: /Stage[main]//Service[iptables]/ensure: change from stopped to running failed: Could not start Service[iptables]: Execution of '/sbin/service iptables start' returned 6: at /var/tmp/packstack/956a378f4e3d4f07af3ca51e628cdcbe/manifests/172.24.0.30_prescript.pp:30 Expected results: Correct installation Additional info: Tracing the /etc/init.d/iptables start, it ends at this point: + '[' '!' -f /etc/sysconfig/iptables ']' + return 6 + RETVAL=6 Workaround (via mmagr): sudo iptables-save > /etc/sysconfig/iptables
Hmm, I encountered this same bug while using packstack but I'm afraid it has nothing to do with packstack, could you please check whether you can start iptables before packstack installations? In my case it looks like my iptables rpm does not contain the /etc/sysconfig/iptables file hence the init script fails on start.
Fixed it by running system-config-firewall-tui setup basic firewall rules, allow ssh,http and https confirm and exit verify the status: service iptables status restart the installation of packstack.
Packstack does not start iptables directly, so this error won't appear anymore.
*** Bug 1039694 has been marked as a duplicate of this bug. ***
Alvaro, this is not a duplicate of 1039694. That issue has to do with iptables being replaced by firewalld on F19 (and later).
Upstream bug: https://bugs.launchpad.net/packstack/+bug/1305256
I have submitted a patch to the puppetlabs-firewall project that corrects this problem: https://github.com/puppetlabs/puppetlabs-firewall/pull/365