Bug 1844907

Summary: kubemacpool deployment status errors regarding replicas
Product: Container Native Virtualization (CNV) Reporter: yzaindbe
Component: NetworkingAssignee: Ram Lavi <ralavi>
Status: CLOSED ERRATA QA Contact: Meni Yakove <myakove>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.4.0CC: cnv-qe-bugs, danken, oramraz, phoracek
Target Milestone: ---   
Target Release: 2.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kubemacpool-container-v2.4.0-33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-28 19:10:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description yzaindbe 2020-06-07 22:48:18 UTC
Description of problem:
In CNV 2.4, kubemacpool-mac-controller-manager deployment gets 2 errors in status:conditions regarding number of replicas.

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

How reproducible:
always

Steps to Reproduce:
1.deploy CNV 2.4
2.
3.

Actual results:
oc get deployment kubemacpool-mac-controller-manager -n openshift-cnv -o yaml
...
status:
  availableReplicas: 1
  conditions:
  - lastTransitionTime: "2020-06-07T13:42:28Z"
    lastUpdateTime: "2020-06-07T13:42:28Z"
    message: Deployment does not have minimum availability.
    reason: MinimumReplicasUnavailable
    status: "False"
    type: Available
  - lastTransitionTime: "2020-06-07T20:21:51Z"
    lastUpdateTime: "2020-06-07T20:21:51Z"
    message: ReplicaSet "kubemacpool-mac-controller-manager-57b6cc7986" has          
             timed out progressing.
    reason: ProgressDeadlineExceeded
    status: "False"
    type: Progressing
  observedGeneration: 1
  readyReplicas: 1
  replicas: 2
  unavailableReplicas: 1
  updatedReplicas: 2

Comment 1 Ram Lavi 2020-06-09 18:07:53 UTC
fixing the issue in https://github.com/k8snetworkplumbingwg/kubemacpool/pull/182

Comment 2 yzaindbe 2020-06-25 10:25:56 UTC
Test Environment :
==================

$ oc version
Client Version: 4.4.0-0.nightly-2020-02-17-022408
Server Version: 4.5.0-rc.2
Kubernetes Version: v1.18.3+91d0edd

CNV Version
$ oc get csv -n openshift-cnv | awk ' { print $4 } ' | tail -n1
2.4.0

Steps:
=====
$ oc get deployment kubemacpool-mac-controller-manager -n openshift-cnv -o yaml
...
status:
  availableReplicas: 2
  conditions:
  - lastTransitionTime: "2020-06-25T03:17:35Z"
    lastUpdateTime: "2020-06-25T03:19:14Z"
    message: ReplicaSet "kubemacpool-mac-controller-manager-96d494c75" has successfully
      progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  - lastTransitionTime: "2020-06-25T08:45:37Z"
    lastUpdateTime: "2020-06-25T08:45:37Z"
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  observedGeneration: 1
  readyReplicas: 2
  replicas: 2
  updatedReplicas: 2

Comment 5 errata-xmlrpc 2020-07-28 19:10:31 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, 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-2020:3194