commit a9af6cebf1c75cb7149d75ec8f054388d4cc2739
Author: Mark Goddard <email address hidden>
Date: Thu Oct 8 17:43:37 2020 +0100
baremetal: Install iptables for Docker if enabled
If iptables is not installed, e.g. in the CentOS 8 cloud image, and
Docker iptables management is enabled, we get the following errors:
Failed to find iptables: exec: \"iptables\": executable file not found
in $PATH failed to start daemon: Error initializing network controller:
error obtaining controller instance: failed to create NAT chain DOCKER:
Iptables not found
This change installs the iptables package Docker iptables management is
enabled.
Change-Id: I3ba5318debccafb28c3cbce8e4e9813c28b086fc
Closes-Bug: #1899060
(cherry picked from commit bc1d02d89681b92f379b3e356d7778aa6044f297)
Reviewed: https:/ /review. opendev. org/758070 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=a9af6cebf1c 75cb7149d75ec8f 054388d4cc2739
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit a9af6cebf1c75cb 7149d75ec8f0543 88d4cc2739
Author: Mark Goddard <email address hidden>
Date: Thu Oct 8 17:43:37 2020 +0100
baremetal: Install iptables for Docker if enabled
If iptables is not installed, e.g. in the CentOS 8 cloud image, and
Docker iptables management is enabled, we get the following errors:
Failed to find iptables: exec: \"iptables\": executable file not found
in $PATH failed to start daemon: Error initializing network controller:
error obtaining controller instance: failed to create NAT chain DOCKER:
Iptables not found
This change installs the iptables package Docker iptables management is
enabled.
Change-Id: I3ba5318debccaf b28c3cbce8e4e98 13c28b086fc f379b3e356d7778 aa6044f297)
Closes-Bug: #1899060
(cherry picked from commit bc1d02d89681b92