Bug 1838266

Summary: DNS Operator Reports Confusing Status Conditions
Product: OpenShift Container Platform Reporter: Daneyon Hansen <dhansen>
Component: NetworkingAssignee: Daneyon Hansen <dhansen>
Networking sub component: DNS QA Contact: Hongan Li <hongli>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: aos-bugs
Version: 4.5   
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:40:29 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 Daneyon Hansen 2020-05-20 19:06:42 UTC
Description of problem:
From [1], dns operator may report confusing status conditions:

config/clusteroperator/dns
    operator 4.3.18
    coredns quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:50ef63040a0e46976a6e92401cccba84df77c4886d0ee7cdfa1a88270d767303
    openshift-cli quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0a70026a8b193e61356054ab92ec825aac23c52ac5410c5e49c2412f92fe195b
  2020-05-19T06:59:27Z Degraded=False AsExpected: All desired DNS DaemonSets available and operand Namespace exists
  2020-05-19T07:04:04Z Progressing=True Reconciling: Not all DNS DaemonSets available.
  2019-12-05T18:24:26Z Available=True AsExpected: At least 1 DNS DaemonSet available

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

How reproducible:
Always

Steps to Reproduce:
1. N/A

Actual results:
Conditions referenced above.

Expected results:
A Progressing condition that states at least 1 dns daemonset is still progressing.

Additional info:
[1] https://coreos.slack.com/archives/CDCP2LA9L/p1589953544126800

Comment 4 Hongan Li 2020-05-27 09:08:53 UTC
verified with 4.5.0-0.nightly-2020-05-27-010813 and issue has been fixed.

$ oc get co/dns -o yaml
<---snip--->
status:
  conditions:
  - lastTransitionTime: "2020-05-27T04:06:44Z"
    message: All desired DNS DaemonSets available and operand Namespace exists
    reason: AsExpected
    status: "False"
    type: Degraded
  - lastTransitionTime: "2020-05-27T09:01:20Z"
    message: At least 1 DNS DaemonSet is progressing.
    reason: Reconciling
    status: "True"
    type: Progressing
  - lastTransitionTime: "2020-05-27T03:55:44Z"
    message: At least 1 DNS DaemonSet available
    reason: AsExpected
    status: "True"
    type: Available

Comment 5 errata-xmlrpc 2020-07-13 17:40:29 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/RHBA-2020:2409