diff options
author | Zuul <zuul@review.openstack.org> | 2019-03-21 13:19:10 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-03-21 13:19:10 +0000 |
commit | 3052d9a14c8288f66cf542dd6ca1033e3e1c47a9 (patch) | |
tree | bb25ca4c965ffb52aaf85ccc0aa645d6c67cc453 | |
parent | 7c0083ba7c785c4a26448c8ae9d09bdac8f6b03e (diff) | |
parent | da966c9873535f52c75858f543af2a321b30543f (diff) | |
download | ironic-3052d9a14c8288f66cf542dd6ca1033e3e1c47a9.tar.gz |
Merge "Workaround for postgres job with ubuntu bionic"
-rw-r--r-- | devstack/lib/ironic | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 690bc00e4..5c959eedc 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -2172,6 +2172,13 @@ function configure_iptables { if [[ "${IRONIC_STORAGE_INTERFACE}" == "cinder" ]]; then sudo iptables -I INPUT -d $HOST_IP -p tcp --dport $ISCSI_SERVICE_PORT -s $FLOATING_RANGE -j ACCEPT || true fi + + # (rpittau) workaround to allow TFTP traffic on ubuntu bionic with conntrack helper disabled + local qrouter + qrouter=$(sudo ip netns list | grep qrouter | awk '{print $1;}') + if [[ ! -z "$qrouter" ]]; then + sudo ip netns exec $qrouter /sbin/iptables -A PREROUTING -t raw -p udp --dport 69 -j CT --helper tftp + fi } function configure_tftpd { |