Bug 1989176 - kube-cni-linux-bridge-plugin Pod is missing bridge CNI plugin
Summary: kube-cni-linux-bridge-plugin Pod is missing bridge CNI plugin
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Networking
Version: 4.9.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: 4.9.0
Assignee: Ram Lavi
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-02 15:34 UTC by Denis Ollier
Modified: 2021-11-02 15:59 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-02 15:59:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4104 0 None None None 2021-11-02 15:59:53 UTC

Description Denis Ollier 2021-08-02 15:34:58 UTC
Description of problem
----------------------

Deployment of CNV is failing due to kube-cni-linux-bridge-plugin getting in CrashLoopBackOff state because files are missing from the container image:

> kubectl -n openshift-cnv logs kube-cni-linux-bridge-plugin-7rnh5
> 
> Installing bridge and tuning CNIs
> cp: cannot stat '/usr/src/github.com/containernetworking/plugins/bin/bridge': No such file or directory

Version
-------

OCP: v4.9.0-0.nightly-2021-07-24-064622
RHCOS: v49.84.202107220219-0
CNV: http://cnv-version-explorer.apps.cnv.engineering.redhat.com/BundleDetails?ver=v4.9.0-66
cnv-containernetworking-plugins: v4.9.0-7

How reproducible
----------------

100%

Steps to Reproduce
------------------

Install CNV-v4.9 from the following IIB image: registry-proxy.engineering.redhat.com/rh-osbs/iib:95527.

Actual results
--------------

kube-cni-linux-bridge-plugin Pods fail to start:

> kubectl get pods -n openshift-cnv -l app=cni-plugins
> 
> NAME                                 READY   STATUS             RESTARTS   AGE
> kube-cni-linux-bridge-plugin-7rnh5   0/1     CrashLoopBackOff   6          10m
> kube-cni-linux-bridge-plugin-c2lwd   0/1     CrashLoopBackOff   6          10m
> kube-cni-linux-bridge-plugin-mb4j6   0/1     CrashLoopBackOff   6          10m
> kube-cni-linux-bridge-plugin-mbxk9   0/1     CrashLoopBackOff   6          10m
> kube-cni-linux-bridge-plugin-xbp7j   0/1     CrashLoopBackOff   6          11m
> kube-cni-linux-bridge-plugin-xhh7x   0/1     CrashLoopBackOff   6          10m

The cause seems to be missing files from the cnv-containernetworking-plugins container image:

> kubectl -n openshift-cnv logs kube-cni-linux-bridge-plugin-7rnh5
> 
> Installing bridge and tuning CNIs
> cp: cannot stat '/usr/src/github.com/containernetworking/plugins/bin/bridge': No such file or directory

Expected results
----------------

kube-cni-linux-bridge-plugin Pods should start properly.

Comment 2 Ram Lavi 2021-08-04 14:59:56 UTC
Last patch was not enough. Adding this patch as well: https://code.engineering.redhat.com/gerrit/c/cluster-network-addons-operator/+/261602

Comment 6 errata-xmlrpc 2021-11-02 15:59:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Virtualization 4.9.0 Images security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4104


Note You need to log in before you can comment on or make changes to this bug.