Bug 1039334

Summary: prescript.pp fails with '/sbin/service iptables start' returning 6
Product: Red Hat OpenStack Reporter: Ofer Blaut <oblaut>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: Ofer Blaut <oblaut>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.0CC: aortega, breeler, derekh, hateya, majopela, mmagr, oblaut, rvaknin, yeylon
Target Milestone: rcKeywords: OtherQA, TestBlocker, Triaged
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-2013.2.1-0.14.dev919.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1037635 Environment:
Last Closed: 2013-12-20 00:43:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ofer Blaut 2013-12-08 10:41:51 UTC
+++ This bug was initially created as a clone of Bug #1037635 +++

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

Comment 1 Ofer Blaut 2013-12-08 10:59:04 UTC
Rami's workaround is "touch /etc/sysconfig/iptables" 

IMHO it relates to fix of bug https://bugzilla.redhat.com/show_bug.cgi?id=1023955

Comment 2 Rami Vaknin 2013-12-08 11:43:15 UTC
Please note my comment in: https://bugzilla.redhat.com/show_bug.cgi?id=1037635#c1

Comment 4 Scott Lewis 2013-12-09 15:33:42 UTC
Adding OtherQA for bugs in MODIFIED

Comment 7 Rami Vaknin 2013-12-10 16:11:55 UTC
Verified on rhos 4.0 running on rhel 6.5 with 2013-12-09.2, openstack-packstack-2013.2.1-0.14.dev919.el6ost.

Comment 9 errata-xmlrpc 2013-12-20 00:43:30 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-2013-1859.html