Bug 2090731 - nmstate deploys two instances of webhook on a single-node cluster
Summary: nmstate deploys two instances of webhook on a single-node cluster
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.11.0
Assignee: Christoph Stäbler
QA Contact: Aleksandra Malykhin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-26 12:54 UTC by Aleksandra Malykhin
Modified: 2022-08-10 11:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:14:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift kubernetes-nmstate pull 272/commits/da39a4d738c41b486f52d47b41dce9d2860f537c 0 None None None 2022-05-26 13:01:51 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:14:54 UTC

Description Aleksandra Malykhin 2022-05-26 12:54:35 UTC
Description of problem:
The standalone knmstate operator deploys two instances of webhook pod

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


How reproducible:


Steps to Reproduce:
1. Install SNO cluster
2. Install KNMState operator
3.

Actual results:
two instances of webhook pod

Expected results:
one instance of webhook pod

Additional info:

Comment 1 Aleksandra Malykhin 2022-05-26 13:09:10 UTC
Verified with kubernetes-nmstate-operator.4.11.0-202205250927  

1. Deploy the sno cluster
2. Install KNMState
3. Check the pods

[root@ocp-edge39 ~]# oc get pods 
NAME                                    READY   STATUS    RESTARTS   AGE
nmstate-cert-manager-7ff9955f99-kkbnx   1/1     Running   0          53s
nmstate-handler-rc9xc                   1/1     Running   0          54s
nmstate-operator-67744d4779-7kkmv       1/1     Running   0          87s
nmstate-webhook-66b4f6bd6-v6wmk         1/1     Running   0          53s

Result: 
Only one instance of webhook pod is created, all pods are OK

Additional update case:

1. Deploy the sno cluster
2. Install KNMState 4.11 (not latest)
3. Check the pods (one instance of webhook pod)
4. Update the KNMState to the latest
5. Check the pods (one instance of webhook pod, all pods are OK)

Additional upgrade case:

1. Deploy the sno cluster
2. Install KNMState 4.10
3. Check the pods (two instances of webhook pod)
4. Upgrade the KNMState to 4.11
5. Check the pods (one instance of webhook pod, all pods are OK)

Comment 3 errata-xmlrpc 2022-08-10 11:14: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 (Important: OpenShift Container Platform 4.11.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:5069


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