Bug 1844907 - kubemacpool deployment status errors regarding replicas
Summary: kubemacpool deployment status errors regarding replicas
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Networking
Version: 2.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 2.4.0
Assignee: Ram Lavi
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-07 22:48 UTC by yzaindbe
Modified: 2021-03-10 23:25 UTC (History)
4 users (show)

Fixed In Version: kubemacpool-container-v2.4.0-33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-28 19:10:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:3194 0 None None None 2020-07-28 19:10:43 UTC

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


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