]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Fix CNI error when net=host is not used in some podman calls
authorJohn Fulton <fulton@redhat.com>
Thu, 31 Jan 2019 21:17:20 +0000 (16:17 -0500)
committerSébastien Han <seb@redhat.com>
Tue, 5 Feb 2019 17:14:28 +0000 (18:14 +0100)
commitdab3f6ee3fb83e0f844793661e1e2253ebb8ad7c
tree4d11a0d22275a5f7924811b8adb9a21226903b55
parenta31058374b6d71de9e631f4bee8e15fdecee6bb7
Fix CNI error when net=host is not used in some podman calls

With 'podman version 1.0.0' on RHEL8 beta the 'get ceph version' and
'ceph monitor mkfs' commands fail [1] with "error configuring network
namespace for container Missing CNI default network".

When net=host is added these errors are resolved. net=host is used in
many other calls (grep -R net=host | wc -l --> 38).

Fixes: #3561
Signed-off-by: John Fulton <fulton@redhat.com>
(cherry picked from commit 410abd77455a92a85f0674577e22af0af894964f)
roles/ceph-container-common/tasks/main.yml
roles/ceph-mon/tasks/deploy_monitors.yml