Bug 965787 - openstack-packstack: Installation failed on iptables Command Error 'Resource temporarily unavailable'.
Summary: openstack-packstack: Installation failed on iptables Command Error 'Resource ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 3.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: snapshot2
: 3.0
Assignee: Martin Magr
QA Contact: Nir Magnezi
URL:
Whiteboard:
Depends On: 908695
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-21 17:45 UTC by Jaroslav Henner
Modified: 2016-04-27 05:23 UTC (History)
9 users (show)

Fixed In Version: openstack-packstack-2013.1.1-0.8.dev601
Doc Type: Bug Fix
Doc Text:
Previously a race condition existed when deploying compute nodes whereby the order in which libvirt and PackStack itself modified the firewall rules was unpredictable. As a result the iptables firewall rules generated by the deployment would sometimes be incorrect, resulting in connectivity issues. PackStack has been updated to prevent this race condition from occurring and ensure the correct iptables firewall rules are deployed.
Clone Of: 908695
Environment:
Last Closed: 2013-06-11 18:51:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 22421 0 None None None Never
OpenStack gerrit 31486 0 None None None Never
Red Hat Product Errata RHBA-2013:0938 0 normal SHIPPED_LIVE openstack-packstack bug fix advisory 2013-06-11 22:48:19 UTC

Comment 1 Jaroslav Henner 2013-05-21 17:47:42 UTC
This problem occurs rarely, maybe 5% of deployments. Probably only when one is deploying a compute node on separate servers.

Comment 5 Martin Magr 2013-06-05 11:58:49 UTC
The problem was in case you had separate compute nodes in your setup. The race condition for firewall wasn't appended to manifestfor them.

So I suggest running setup with 1 controller node and 1+ compute nodes. You can also check in /var/tmp/packstack/<YYMMDD-hhmmss>-<random>/manifests/<compute_host_ip>_nova.pp.log that firewall rule '001 nova compute incoming' is applied before class 'nova::compute::libvirt' (or more precisely before service 'libvirt').

Comment 6 Nir Magnezi 2013-06-05 13:31:17 UTC
(In reply to Martin Magr from comment #5)
> The problem was in case you had separate compute nodes in your setup. The
> race condition for firewall wasn't appended to manifestfor them.
> 
> So I suggest running setup with 1 controller node and 1+ compute nodes. You
> can also check in
> /var/tmp/packstack/<YYMMDD-hhmmss>-<random>/manifests/<compute_host_ip>_nova.
> pp.log that firewall rule '001 nova compute incoming' is applied before
> class 'nova::compute::libvirt' (or more precisely before service 'libvirt').

Thank you!

Comment 7 Nir Magnezi 2013-06-05 13:34:23 UTC
Verified NVR: openstack-packstack-2013.1.1-0.8.dev601.el6ost.noarch

Installed Openstack via packstack with 1 controller and 2 compute nodes.
No errors were indicated in stdout nor in packstack logs.

Comment 8 errata-xmlrpc 2013-06-11 18:51:23 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/RHBA-2013-0938.html


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