Bug 734347 - Fix nova's iptables rules
Fix nova's iptables rules
Product: Fedora
Classification: Fedora
Component: openstack-nova (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Mark McLoughlin
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2011-08-30 03:05 EDT by Mark McLoughlin
Modified: 2011-09-30 15:43 EDT (History)
3 users (show)

See Also:
Fixed In Version: openstack-nova-2011.3-0.8.d4.fc16
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-09-30 15:43:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mark McLoughlin 2011-08-30 03:05:42 EDT
Currently you need to disable iptables in order to get nova networking

The basic problem is that Nova's rules were written to work on Ubuntu where there are no iptables rules by default and all packets are accepted. The rules need to be adapted to work with Fedora's reject rules
Comment 1 Mark McLoughlin 2011-09-01 15:09:00 EDT
Some progress here. This is enough to get things working for me:

iptables -t filter -A nova-network-INPUT -i br0 -p udp -m udp --dport 67 -j ACCEPT
Comment 2 Mark McLoughlin 2011-09-03 09:52:21 EDT
Okay, I've built this:

* Sat Sep  3 2011 Mark McLoughlin <markmc@redhat.com> - 2011.3-0.7.d4
- Add iptables rules to allow requests to dnsmasq (#734347)

It looks like we also need ACCEPT rules for the meta-data service too, though
Comment 3 Mark McLoughlin 2011-09-05 03:08:05 EDT
Okay, added a rule for that too:

* Mon Sep  5 2011 Mark McLoughlin <markmc@redhat.com> - 2011.3-0.8.d4
- Add iptables rule to allow EC2 metadata requests (#734347)
Comment 4 Fedora Update System 2011-09-05 03:14:51 EDT
openstack-nova-2011.3-0.8.d4.fc16 has been submitted as an update for Fedora 16.
Comment 5 Fedora Update System 2011-09-06 14:08:45 EDT
Package openstack-nova-2011.3-0.8.d4.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing openstack-nova-2011.3-0.8.d4.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 6 Mark McLoughlin 2011-09-09 05:46:48 EDT
For reference, here's the upstream bug with two associated merge proposals for the patches I included in our package:

Comment 7 Fedora Update System 2011-09-30 15:43:13 EDT
openstack-nova-2011.3-0.8.d4.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

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