Bug 1039334 - prescript.pp fails with '/sbin/service iptables start' returning 6
Summary: prescript.pp fails with '/sbin/service iptables start' returning 6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 4.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: rc
: 4.0
Assignee: Martin Magr
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-08 10:41 UTC by Ofer Blaut
Modified: 2014-05-05 14:02 UTC (History)
9 users (show)

Fixed In Version: openstack-packstack-2013.2.1-0.14.dev919.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of: 1037635
Environment:
Last Closed: 2013-12-20 00:43:30 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1859 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2013-12-21 00:01:48 UTC

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


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