[Bug 1122024] New: [Build20190112] Podman containers have no network after CNI configured for kubeadm cluster
http://bugzilla.opensuse.org/show_bug.cgi?id=1122024 Bug ID: 1122024 Summary: [Build20190112] Podman containers have no network after CNI configured for kubeadm cluster Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kubic Assignee: kubic-bugs@opensuse.org Reporter: rbrown@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- https://openqa.opensuse.org/tests/831669#step/podman/24 After installing kubeadm and setting up flannel CNI using the https://en.opensuse.org/Kubic:kubeadm approach, podman containers should inherit that CNI config and use it with a CNI network Instead, there seems to be some form of incompatibility between the kubeadm flannel CNI and Podmans expectations Error message from a "podman container run hello-world" error parsing CNI plugin result "IP4:{IP:{IP:10.244.0.3 Mask:ffffff00} Gateway:10.244.0.1 Routes:[{Dst:{IP:10.244.0.0 Mask:ffff0000} GW:10.244.0.1} {Dst:{IP:0.0.0.0 Mask:00000000} GW:10.244.0.1}]}, DNS:{Nameservers:[] Domain: Search:[] Options:[]}": cannot convert version ["" "0.1.0" "0.2.0"] to 0.4.0: cannot convert version ["" "0.1.0" "0.2.0"] to 0.4.0 Suspicion is that podman requires a CNI config of version 0.4.0 but flannel is providing a version 0.1.0/0.2.0 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122024 http://bugzilla.opensuse.org/show_bug.cgi?id=1122024#c1 Richard Brown <rbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED Component|Kubic |Containers Assignee|kubic-bugs@opensuse.org |containers-bugowner@suse.de --- Comment #1 from Richard Brown <rbrown@suse.com> --- Bug confirmed, the flannel CNI config breaks podman networking. The CNI config from podman-cni-config remains incompatible with flannel's config - if it is forced on the system them both flannel's networking and podmans networking break, compared to this report where only podmans networking is broken and flannel works fine for k8s. Assigning to the containers team because a) They're responsible and most knowledgable in podman+kubernetes and at least partially responsible/knowledgable about the CNI stack b) they need all of the above working in CaaSP c) If my suspicion is correct, they should have a strong voice in deciding how we fix flannel or what we replace it with, because of the above. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122024 Richard Brown <rbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122024 http://bugzilla.opensuse.org/show_bug.cgi?id=1122024#c2 Richard Brown <rbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |containers-bugowner@suse.de Flags| |needinfo?(containers-bugown | |er@suse.de) --- Comment #2 from Richard Brown <rbrown@suse.com> --- https://build.opensuse.org/request/show/666428 This change makes podman use its "podman" named CNI network, if it's present, regardless of what other CNI networks are present. (This is the modern upstream behaviour) This means that on a kubeadm Kubic system, if podman-cni-config is installed (currently requiring forced installation due to intentional conflicts in the rpms), podman still works, even if flannel has been configured However, kubernetes/flannel doesn't seem to be able to (as far as my knowledge shows) do a similar hard-binding to a single CNI network Therefore, the above approach does not solve this bug, and would just changing it symptoms if we removed the podman-cni-config rpm conflicts with kubeadm. In short, this means I need input from the containers team/anyone on the following 1) Is there any way for kubernetes/CNI to be configured to use a specific CNI network? This would mean we could tell k8s to use the "cbr0" network configured by flannel and this bug could be closed. 2) If 1) is not feasible - what alternatives to flannel or what changes to flannel can be made so we can have a CNI network configuration that will work even in the presence of another CNI network? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122024 Richard Brown <rbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122024 Richard Brown <rbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Containers |Kubic -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122024 http://bugzilla.opensuse.org/show_bug.cgi?id=1122024#c3 Richard Brown <rbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 - High |P1 - Urgent CC| |fvogt@suse.com Severity|Major |Critical --- Comment #3 from Richard Brown <rbrown@suse.com> --- Raising priority and severity as this issue is preventing the creation of working VM images for Kubic MicroOS and Kubic kubeadm due to the conflicts inheritance in the problem -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122024 Richard Brown <rbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |UPSTREAM Flags|needinfo?(rbrown@suse.com) | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com