Error occurs when starting iptables in version 2014.2.dev1468.gd049ea9
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Packstack |
New
|
Undecided
|
Unassigned |
Bug Description
This bug is found in version "packstack Juno 2014.2.
Packstack can not start iptables when it runs on a node with CentOS 7 and without iptables and iptable-services installed. The error message is:
"PuppetError: Error appeared during Puppet run: 192.168.
Error: Could not start Service[iptables]: Execution of '/usr/bin/systemctl start iptables' returned 6: Failed to issue method call: Unit iptables.service failed to load: No such file or directory."
After this error occurs, if you re-run packstack on the same node, this error will not occur again. In fact, after that error, you can successfully start iptables manually, as shown in the attachment. So iptables and iptable-services must be installed by packstack correctly but packstack fails to start them at a right time or in a right order.
How to reproduce:
1. Install CentOS 7 with minimal installation.
2. yum update
3. yum install https:/
(juno-1)
4. yum install openstack-packstack
5. packstack --allinone
or
packstack --install-hosts=...
In prescript.pp.log:
"Error: Could not start Service[iptables]: Execution of '/usr/bin/systemctl start iptables' returned 6: Failed to issue method call: Unit iptables.service failed to load: No such file or directory.
Wrapped exception:
Execution of '/usr/bin/systemctl start iptables' returned 6: Failed to issue method call: Unit iptables.service failed to load: No such file or directory.
Error: /Stage[
In openstack-
"2015-05-03 09:34:51:
File "/usr/lib/
_main(options, confFile, logFile)
File "/usr/lib/
runSequences()
File "/usr/lib/
controller.
File "/usr/lib/
sequence.
File "/usr/lib/
step.
File "/usr/lib/
self.
File "/usr/lib/
wait_
File "/usr/lib/
validate_
File "/usr/lib/
raise PuppetError(
PuppetError: Error appeared during Puppet run: 192.168.
Error: Could not start Service[iptables]: Execution of '/usr/bin/systemctl start iptables' returned 6: Failed to issue method call: Unit iptables.service failed to load: No such file or directory.
You will find full trace in log /var/tmp/
summary: |
- Error occurs when starting iptables + Error occurs when starting iptables in version 2014.2.dev1468.gd049ea9 |
description: | updated |
description: | updated |