diff --git a/devstack/lib/ironic b/devstack/lib/ironic index ca5e0e70e8..7ff7177ce5 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -2145,6 +2145,9 @@ function configure_iptables { else sudo iptables -I INPUT -d $HOST_IP -p tcp --dport 80 -j ACCEPT || true sudo iptables -I INPUT -d $HOST_IP -p tcp --dport 443 -j ACCEPT || true + # open ironic API on baremetal network + sudo iptables -I INPUT -d $IRONIC_HTTP_SERVER -p tcp --dport 80 -j ACCEPT || true + sudo iptables -I INPUT -d $IRONIC_HTTP_SERVER -p tcp --dport 443 -j ACCEPT || true fi if is_deployed_by_agent; then # agent ramdisk gets instance image from swift