Bug 734347 - Fix nova's iptables rules
Summary: Fix nova's iptables rules
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openstack-nova
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mark McLoughlin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-30 07:05 UTC by Mark McLoughlin
Modified: 2011-09-30 19:43 UTC (History)
3 users (show)

Fixed In Version: openstack-nova-2011.3-0.8.d4.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-30 19:43:24 UTC


Attachments (Terms of Use)

Description Mark McLoughlin 2011-08-30 07:05:42 UTC
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 19:09:00 UTC
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 13:52:21 UTC
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 169.254.169.254 meta-data service too, though

Comment 3 Mark McLoughlin 2011-09-05 07:08:05 UTC
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 07:14:51 UTC
openstack-nova-2011.3-0.8.d4.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/openstack-nova-2011.3-0.8.d4.fc16

Comment 5 Fedora Update System 2011-09-06 18:08:45 UTC
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:
https://admin.fedoraproject.org/updates/openstack-nova-2011.3-0.8.d4.fc16
then log in and leave karma (feedback).

Comment 6 Mark McLoughlin 2011-09-09 09:46:48 UTC
For reference, here's the upstream bug with two associated merge proposals for the patches I included in our package:

  https://bugs.launchpad.net/nova/+bug/844935

Comment 7 Fedora Update System 2011-09-30 19:43:13 UTC
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.