Comment 5 for bug 1873951

Revision history for this message
sean mooney (sean-k-mooney) wrote : Re: ironinc inspector deploy fails due to iptables --flush

that will not fix it.

the issue is the chain does not exist because this was a new install

sean@workstation ~]$ sudo iptables -N sean-test
[sean@workstation ~]$ sudo iptables --flush sean-test
[sean@workstation ~]$ sudo iptables -X sean-test
[sean@workstation ~]$ sudo iptables --flush sean-test
iptables: Operation not supported.

so the code need to be updated to check if the chain exsits and only delete it if it does

in my case the ironic-inspector chain neve exsited and in the nft implementation its is an error to delete a chain that does not exist.