Bug 2108033 - remove ovn-kubernetes dependency on arping executable file
Summary: remove ovn-kubernetes dependency on arping executable file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.12
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.12.0
Assignee: zenghui.shi
QA Contact: Weibin Liang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-18 10:37 UTC by zenghui.shi
Modified: 2023-01-17 19:53 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-17 19:53:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:53:15 UTC

Description zenghui.shi 2022-07-18 10:37:51 UTC
Description of problem:

'arping' executable file is not used in ovn-kubernetes in 4.12 (previously needed for egress IP implementation), but still required to start ovnkube master or node.

Removing the arping dependency check in ovn-kubernetes would allow removing of iputils rpm package in ovn-kubernetes image, which in turn reduces the ovnk image size (required for small form factor deployment such as MicroShift).


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 zenghui.shi 2022-11-02 01:09:54 UTC
move status to ON_QA since the issue was fixed in another PR https://github.com/openshift/ovn-kubernetes/pull/1205

Comment 4 Weibin Liang 2023-01-10 15:07:01 UTC
Verification passed with below steps:
1.Using ovn-kubernetes-microshift image from release payload
2. arping binary doesn't exist in that image.
3. ovnkube daemonsets can run successfully in microshift deployment

[redhat@dhcp-1-235-129 ~]$ oc get ns
NAME                                 STATUS   AGE
default                              Active   3m40s
kube-node-lease                      Active   3m42s
kube-public                          Active   3m42s
kube-system                          Active   3m42s
openshift-dns                        Active   3m14s
openshift-infra                      Active   3m39s
openshift-ingress                    Active   3m14s
openshift-kube-controller-manager    Active   3m39s
openshift-ovn-kubernetes             Active   3m14s
openshift-route-controller-manager   Active   3m19s
openshift-service-ca                 Active   3m14s
openshift-storage                    Active   3m14s

[redhat@dhcp-1-235-129 ~]$ oc config set-context --current --namespace openshift-ovn-kubernetes
Context "microshift" modified.
[redhat@dhcp-1-235-129 ~]$ oc get pod
NAME                   READY   STATUS    RESTARTS   AGE
ovnkube-master-b89cr   4/4     Running   0          4m2s
ovnkube-node-mdn8l     1/1     Running   0          4m2s

[redhat@dhcp-1-235-129 ~]$ oc get all
NAME                       READY   STATUS    RESTARTS   AGE
pod/ovnkube-master-b89cr   4/4     Running   0          5m9s
pod/ovnkube-node-mdn8l     1/1     Running   0          5m9s

NAME                            DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR            AGE
daemonset.apps/ovnkube-master   1         1         1       1            1           kubernetes.io/os=linux   5m9s
daemonset.apps/ovnkube-node     1         1         1       1            1           kubernetes.io/os=linux   5m9s
[redhat@dhcp-1-235-129 ~]$ oc rsh ovnkube-node-mdn8l
sh-4.4# arping
sh: arping: command not found
sh-4.4# exit
exit
command terminated with exit code 127

[redhat@dhcp-1-235-129 ~]$ rpm -qi microshift
Name        : microshift
Version     : 4.12.0~0.nightly_2023_01_09_095104
Release     : 202301091528.p0.gc0fbb36.assembly.microshift.el8
Architecture: x86_64
Install Date: Tue Jan 10 07:34:24 2023
Group       : Unspecified
Size        : 118303276
License     : ASL 2.0
Signature   : (none)
Source RPM  : microshift-4.12.0~0.nightly_2023_01_09_095104-202301091528.p0.gc0fbb36.assembly.microshift.el8.src.rpm
Build Date  : Mon Jan  9 10:36:16 2023
Build Host  : x86-64-01.build.eng.rdu2.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : https://github.com/openshift/microshift
Summary     : MicroShift service
Description :
[Maintainer] project: OCPBUGS, component: Unknown
The microshift package provides an OpenShift Kubernetes distribution optimized for small form factor and edge computing.
[redhat@dhcp-1-235-129 ~]$

Comment 6 errata-xmlrpc 2023-01-17 19:53:01 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 Container Platform 4.12.0 bug fix and security 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-2022:7399


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