[system_tests] add iptables rule for tftp traffic when Multiple Networks are true
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Andrew Woodward |
Bug Description
Found while analyze System Test failure.
Test performs deploy Fuel with multiple networks (MULTIPLE_
There are two networks for nodes:
10.108.72.0/24 dev eth5 proto kernel scope link src 10.108.72.2
10.108.59.0/24 dev eth0 proto kernel scope link src 10.108.59.2
For nodes from 10.108.59.0/24 we have iptables rules for forwarding tftp traffic when pxe load:
[root@nailgun ~]# iptables-save -t nat| grep :69
-A DOCKER -d 10.108.59.2/32 -p udp -m udp --dport 69 -j DNAT --to-destination 172.17.0.8:69
-A DOCKER -d 127.0.0.1/32 -p udp -m udp --dport 69 -j DNAT --to-destination 172.17.0.8:69
For nodes from network 10.108.72.0/24 there should be rule:
-A DOCKER -d 10.108.72.2/32 -p udp -m udp --dport 69 -j DNAT --to-destination 172.17.0.8:69
otherwise node couldn't access tftp server and download bootstrap image.
Changed in fuel: | |
assignee: | Fuel for Openstack (fuel) → Fuel QA Team (fuel-qa) |
Changed in fuel: | |
assignee: | Fuel QA Team (fuel-qa) → Fuel Python Team (fuel-python) |
Changed in fuel: | |
assignee: | Ryan Moe (rmoe) → Andrew Woodward (xarses) |
status: | Triaged → In Progress |
Please check the server on which the test was executed variable net.bridge. bridge- nf-call- iptables should be in 0. nf-call- iptables If it is not in 0 - this is the reason of the failure (traffic on the bridges are firewalled).
#sysctl -a | grep bridge-