Skip to content

emit specific events for version changes - #367

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
deads2k:version-event
Apr 24, 2019
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
deads2k:version-event

Conversation

@deads2k

@deads2k deads2k commented Apr 24, 2019

Copy link
Copy Markdown
Contributor

This will help us track how long it takes to indicate that we've achieved the next version.

@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Apr 24, 2019
@mfojtik

mfojtik commented Apr 24, 2019

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 24, 2019
@openshift-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, mfojtik

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot
openshift-merge-robot merged commit 154bc7b into openshift:master Apr 24, 2019
wking added a commit to wking/cluster-dns-operator that referenced this pull request Oct 18, 2019
Using the Infof and 'old: %#v, new: %#v' precedents set by 8338eb5
(corefile: switch deprecated proxy plugin to forward plugin,
2019-07-08, openshift#123).  This will hopefully shed light on cases like [1]:

  $ curl -s https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94/build-log.txt | grep 'clusteroperator/dns changed Degraded'
  Oct 18 02:36:11.767 E clusteroperator/dns changed Degraded to True: NotAllDNSesAvailable: Not all desired DNS DaemonSets available
  Oct 18 02:36:17.197 W clusteroperator/dns changed Degraded to False: AsExpected: All desired DNS DaemonSets available and operand Namespace exists

Where the current logs are not very informative:

  $ curl https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocphttps://prow.svc.ci.openshift.org/vhttps://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94iew/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94-installer-e2e-aws-serial-4.3/94/artifacts/e2e-aws-serial/must-gather/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-d9c0004f08d06ea4901dd6efd6bdac47e5f8f6c599b1674d0094f5d66c0bffc1/namespaces/openshift-dns-operator/pods/dns-operator-ccdb4b5f9-2qrz9/dns-operator/dns-operator/logs/current.log
  ...
  2019-10-18T02:35:25.3133104Z time="2019-10-18T02:35:25Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:11.641432392Z time="2019-10-18T02:36:11Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:11.767310473Z time="2019-10-18T02:36:11Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:17.108292034Z time="2019-10-18T02:36:17Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:17.196969585Z time="2019-10-18T02:36:17Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:48.018249079Z time="2019-10-18T02:36:48Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:48.092325372Z time="2019-10-18T02:36:48Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:55.377673018Z time="2019-10-18T02:36:55Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:55.489970054Z time="2019-10-18T02:36:55Z" level=info msg="reconciling request: /default"
  2019-10-18T02:37:05.32660449Z time="2019-10-18T02:37:05Z" level=info msg="reconciling request: /default"
  2019-10-18T02:37:05.411167811Z time="2019-10-18T02:37:05Z" level=info msg="reconciling request: /default"
  ...

And while the event logs show some activity:

  $ curl -s https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94/artifacts/e2e-aws-serial/must-gather/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-d9c0004f08d06ea4901dd6efd6bdac47e5f8f6c599b1674d0094f5d66c0bffc1/namespaces/openshift-dns/core/events.yaml |
  >   yaml2json |
  >   jq -r '
  >     [
  >       .items[] |
  >       .timePrefix = if .firstTimestamp == null or .firstTimestamp == "null"
  >         then
  >           .eventTime
  >         else
  >           .firstTimestamp + " - " + .lastTimestamp + " (" + (.count | tostring) + ")"
  >         end
  >     ] |
  >     sort_by(.timePrefix)[] |
  >     .timePrefix + " " + .metadata.namespace + " " + .message'
  ...
  2019-10-18T01:12:48Z - 2019-10-18T01:12:48Z (1) openshift-dns Started container dns-node-resolver
  2019-10-18T02:35:25.185779Z openshift-dns Successfully assigned openshift-dns/dns-default-bhkr7 to ip-10-0-147-35.ec2.internal
  2019-10-18T02:35:25Z - 2019-10-18T02:35:25Z (1) openshift-dns Created pod: dns-default-bhkr7
  2019-10-18T02:35:25Z - 2019-10-18T02:35:52Z (15) openshift-dns network is not ready: runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: Missing CNI default network
  2019-10-18T02:36:01Z - 2019-10-18T02:36:01Z (1) openshift-dns Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a82c1464f81a54536bfe2f48f5f4abb5a0f9734a7915ff1cc0f9abe24ace1f1b"
  2019-10-18T02:36:05Z - 2019-10-18T02:36:05Z (1) openshift-dns Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a82c1464f81a54536bfe2f48f5f4abb5a0f9734a7915ff1cc0f9abe24ace1f1b"
  2019-10-18T02:36:05Z - 2019-10-18T02:36:05Z (1) openshift-dns Created container dns
  2019-10-18T02:36:05Z - 2019-10-18T02:36:05Z (1) openshift-dns Started container dns
  2019-10-18T02:36:05Z - 2019-10-18T02:36:05Z (1) openshift-dns Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:fb1317080c09aa30e85b70b3f5ec4b87408992b0a22137beef59276fcfeccf1f"
  2019-10-18T02:36:09Z - 2019-10-18T02:36:09Z (1) openshift-dns Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:fb1317080c09aa30e85b70b3f5ec4b87408992b0a22137beef59276fcfeccf1f"
  2019-10-18T02:36:09Z - 2019-10-18T02:36:09Z (1) openshift-dns Created container dns-node-resolver
  2019-10-18T02:36:09Z - 2019-10-18T02:36:09Z (1) openshift-dns Started container dns-node-resolver
  2019-10-18T02:36:11.619641Z openshift-dns Successfully assigned openshift-dns/dns-default-zlml2 to ip-10-0-132-20.ec2.internal
  2019-10-18T02:36:11Z - 2019-10-18T02:36:11Z (1) openshift-dns Created pod: dns-default-zlml2
  2019-10-18T02:36:11Z - 2019-10-18T02:36:38Z (14) openshift-dns network is not ready: runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: Missing CNI default network
  2019-10-18T02:36:48Z - 2019-10-18T02:36:48Z (1) openshift-dns Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a82c1464f81a54536bfe2f48f5f4abb5a0f9734a7915ff1cc0f9abe24ace1f1b"
  ...

it is not obvious to me how that activity is leading to the
degradation.

We'd have a better UX if we bubbled the underlying DNS degradation
message(s) into the operator's degradation message, but that's a
bigger refactor than I have time for now.  When we get that, we can
roll this commit back, and get the details from the
Degraded-status-change events.  Once we start firing events; the
current "clusteroperator/dns changed Degraded" are from the test
suite's openshift/origin@9bc285f7f7 (Display status about cluster
operator in the monitor, 2019-02-15, openshift/origin#22062), and the
DNS operator does not use library-go's status controller and its
openshift/library-go@41805e145b (emit specific events for version
changes, 2019-04-24, openshift/library-go#367).

[1]: https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94
wking added a commit to wking/cluster-dns-operator that referenced this pull request Oct 18, 2019
Using the Infof and 'old: %#v, new: %#v' precedents set by 8338eb5
(corefile: switch deprecated proxy plugin to forward plugin,
2019-07-08, openshift#123).  We don't need to log the namespace, because DNS
objects are cluster-scoped.

This will hopefully shed light on cases like [1]:

  $ curl -s https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94/build-log.txt | grep 'clusteroperator/dns changed Degraded'
  Oct 18 02:36:11.767 E clusteroperator/dns changed Degraded to True: NotAllDNSesAvailable: Not all desired DNS DaemonSets available
  Oct 18 02:36:17.197 W clusteroperator/dns changed Degraded to False: AsExpected: All desired DNS DaemonSets available and operand Namespace exists

Where the current logs are not very informative:

  $ curl https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocphttps://prow.svc.ci.openshift.org/vhttps://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94iew/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94-installer-e2e-aws-serial-4.3/94/artifacts/e2e-aws-serial/must-gather/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-d9c0004f08d06ea4901dd6efd6bdac47e5f8f6c599b1674d0094f5d66c0bffc1/namespaces/openshift-dns-operator/pods/dns-operator-ccdb4b5f9-2qrz9/dns-operator/dns-operator/logs/current.log
  ...
  2019-10-18T02:35:25.3133104Z time="2019-10-18T02:35:25Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:11.641432392Z time="2019-10-18T02:36:11Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:11.767310473Z time="2019-10-18T02:36:11Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:17.108292034Z time="2019-10-18T02:36:17Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:17.196969585Z time="2019-10-18T02:36:17Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:48.018249079Z time="2019-10-18T02:36:48Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:48.092325372Z time="2019-10-18T02:36:48Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:55.377673018Z time="2019-10-18T02:36:55Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:55.489970054Z time="2019-10-18T02:36:55Z" level=info msg="reconciling request: /default"
  2019-10-18T02:37:05.32660449Z time="2019-10-18T02:37:05Z" level=info msg="reconciling request: /default"
  2019-10-18T02:37:05.411167811Z time="2019-10-18T02:37:05Z" level=info msg="reconciling request: /default"
  ...

And while the event logs show some activity:

  $ curl -s https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94/artifacts/e2e-aws-serial/must-gather/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-d9c0004f08d06ea4901dd6efd6bdac47e5f8f6c599b1674d0094f5d66c0bffc1/namespaces/openshift-dns/core/events.yaml |
  >   yaml2json |
  >   jq -r '
  >     [
  >       .items[] |
  >       .timePrefix = if .firstTimestamp == null or .firstTimestamp == "null"
  >         then
  >           .eventTime
  >         else
  >           .firstTimestamp + " - " + .lastTimestamp + " (" + (.count | tostring) + ")"
  >         end
  >     ] |
  >     sort_by(.timePrefix)[] |
  >     .timePrefix + " " + .metadata.namespace + " " + .message'
  ...
  2019-10-18T01:12:48Z - 2019-10-18T01:12:48Z (1) openshift-dns Started container dns-node-resolver
  2019-10-18T02:35:25.185779Z openshift-dns Successfully assigned openshift-dns/dns-default-bhkr7 to ip-10-0-147-35.ec2.internal
  2019-10-18T02:35:25Z - 2019-10-18T02:35:25Z (1) openshift-dns Created pod: dns-default-bhkr7
  2019-10-18T02:35:25Z - 2019-10-18T02:35:52Z (15) openshift-dns network is not ready: runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: Missing CNI default network
  2019-10-18T02:36:01Z - 2019-10-18T02:36:01Z (1) openshift-dns Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a82c1464f81a54536bfe2f48f5f4abb5a0f9734a7915ff1cc0f9abe24ace1f1b"
  2019-10-18T02:36:05Z - 2019-10-18T02:36:05Z (1) openshift-dns Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a82c1464f81a54536bfe2f48f5f4abb5a0f9734a7915ff1cc0f9abe24ace1f1b"
  2019-10-18T02:36:05Z - 2019-10-18T02:36:05Z (1) openshift-dns Created container dns
  2019-10-18T02:36:05Z - 2019-10-18T02:36:05Z (1) openshift-dns Started container dns
  2019-10-18T02:36:05Z - 2019-10-18T02:36:05Z (1) openshift-dns Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:fb1317080c09aa30e85b70b3f5ec4b87408992b0a22137beef59276fcfeccf1f"
  2019-10-18T02:36:09Z - 2019-10-18T02:36:09Z (1) openshift-dns Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:fb1317080c09aa30e85b70b3f5ec4b87408992b0a22137beef59276fcfeccf1f"
  2019-10-18T02:36:09Z - 2019-10-18T02:36:09Z (1) openshift-dns Created container dns-node-resolver
  2019-10-18T02:36:09Z - 2019-10-18T02:36:09Z (1) openshift-dns Started container dns-node-resolver
  2019-10-18T02:36:11.619641Z openshift-dns Successfully assigned openshift-dns/dns-default-zlml2 to ip-10-0-132-20.ec2.internal
  2019-10-18T02:36:11Z - 2019-10-18T02:36:11Z (1) openshift-dns Created pod: dns-default-zlml2
  2019-10-18T02:36:11Z - 2019-10-18T02:36:38Z (14) openshift-dns network is not ready: runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: Missing CNI default network
  2019-10-18T02:36:48Z - 2019-10-18T02:36:48Z (1) openshift-dns Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a82c1464f81a54536bfe2f48f5f4abb5a0f9734a7915ff1cc0f9abe24ace1f1b"
  ...

it is not obvious to me how that activity is leading to the
degradation.

We'd have a better UX if we bubbled the underlying DNS degradation
message(s) into the operator's degradation message, but that's a
bigger refactor than I have time for now.  When we get that, we can
roll this commit back, and get the details from the
Degraded-status-change events.  Once we start firing events; the
current "clusteroperator/dns changed Degraded" are from the test
suite's openshift/origin@9bc285f7f7 (Display status about cluster
operator in the monitor, 2019-02-15, openshift/origin#22062), and the
DNS operator does not use library-go's status controller and its
openshift/library-go@41805e145b (emit specific events for version
changes, 2019-04-24, openshift/library-go#367).

[1]: https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94
wking added a commit to wking/cluster-dns-operator that referenced this pull request Oct 18, 2019
Using the Infof and 'old: %#v, new: %#v' precedents set by 8338eb5
(corefile: switch deprecated proxy plugin to forward plugin,
2019-07-08, openshift#123).  We don't need to log the namespace, because DNS
objects are cluster-scoped.

This will hopefully shed light on cases like [1]:

  $ curl -s https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94/build-log.txt | grep 'clusteroperator/dns changed Degraded'
  Oct 18 02:36:11.767 E clusteroperator/dns changed Degraded to True: NotAllDNSesAvailable: Not all desired DNS DaemonSets available
  Oct 18 02:36:17.197 W clusteroperator/dns changed Degraded to False: AsExpected: All desired DNS DaemonSets available and operand Namespace exists

Where the current logs are not very informative:

  $ curl https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocphttps://prow.svc.ci.openshift.org/vhttps://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94iew/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94-installer-e2e-aws-serial-4.3/94/artifacts/e2e-aws-serial/must-gather/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-d9c0004f08d06ea4901dd6efd6bdac47e5f8f6c599b1674d0094f5d66c0bffc1/namespaces/openshift-dns-operator/pods/dns-operator-ccdb4b5f9-2qrz9/dns-operator/dns-operator/logs/current.log
  ...
  2019-10-18T02:35:25.3133104Z time="2019-10-18T02:35:25Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:11.641432392Z time="2019-10-18T02:36:11Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:11.767310473Z time="2019-10-18T02:36:11Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:17.108292034Z time="2019-10-18T02:36:17Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:17.196969585Z time="2019-10-18T02:36:17Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:48.018249079Z time="2019-10-18T02:36:48Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:48.092325372Z time="2019-10-18T02:36:48Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:55.377673018Z time="2019-10-18T02:36:55Z" level=info msg="reconciling request: /default"
  2019-10-18T02:36:55.489970054Z time="2019-10-18T02:36:55Z" level=info msg="reconciling request: /default"
  2019-10-18T02:37:05.32660449Z time="2019-10-18T02:37:05Z" level=info msg="reconciling request: /default"
  2019-10-18T02:37:05.411167811Z time="2019-10-18T02:37:05Z" level=info msg="reconciling request: /default"
  ...

And while the event logs show some activity:

  $ curl -s https://storage.googleapis.com/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94/artifacts/e2e-aws-serial/must-gather/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-d9c0004f08d06ea4901dd6efd6bdac47e5f8f6c599b1674d0094f5d66c0bffc1/namespaces/openshift-dns/core/events.yaml |
  >   yaml2json |
  >   jq -r '
  >     [
  >       .items[] |
  >       .timePrefix = if .firstTimestamp == null or .firstTimestamp == "null"
  >         then
  >           .eventTime
  >         else
  >           .firstTimestamp + " - " + .lastTimestamp + " (" + (.count | tostring) + ")"
  >         end
  >     ] |
  >     sort_by(.timePrefix)[] |
  >     .timePrefix + " " + .metadata.namespace + " " + .message'
  ...
  2019-10-18T01:12:48Z - 2019-10-18T01:12:48Z (1) openshift-dns Started container dns-node-resolver
  2019-10-18T02:35:25.185779Z openshift-dns Successfully assigned openshift-dns/dns-default-bhkr7 to ip-10-0-147-35.ec2.internal
  2019-10-18T02:35:25Z - 2019-10-18T02:35:25Z (1) openshift-dns Created pod: dns-default-bhkr7
  2019-10-18T02:35:25Z - 2019-10-18T02:35:52Z (15) openshift-dns network is not ready: runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: Missing CNI default network
  2019-10-18T02:36:01Z - 2019-10-18T02:36:01Z (1) openshift-dns Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a82c1464f81a54536bfe2f48f5f4abb5a0f9734a7915ff1cc0f9abe24ace1f1b"
  2019-10-18T02:36:05Z - 2019-10-18T02:36:05Z (1) openshift-dns Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a82c1464f81a54536bfe2f48f5f4abb5a0f9734a7915ff1cc0f9abe24ace1f1b"
  2019-10-18T02:36:05Z - 2019-10-18T02:36:05Z (1) openshift-dns Created container dns
  2019-10-18T02:36:05Z - 2019-10-18T02:36:05Z (1) openshift-dns Started container dns
  2019-10-18T02:36:05Z - 2019-10-18T02:36:05Z (1) openshift-dns Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:fb1317080c09aa30e85b70b3f5ec4b87408992b0a22137beef59276fcfeccf1f"
  2019-10-18T02:36:09Z - 2019-10-18T02:36:09Z (1) openshift-dns Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:fb1317080c09aa30e85b70b3f5ec4b87408992b0a22137beef59276fcfeccf1f"
  2019-10-18T02:36:09Z - 2019-10-18T02:36:09Z (1) openshift-dns Created container dns-node-resolver
  2019-10-18T02:36:09Z - 2019-10-18T02:36:09Z (1) openshift-dns Started container dns-node-resolver
  2019-10-18T02:36:11.619641Z openshift-dns Successfully assigned openshift-dns/dns-default-zlml2 to ip-10-0-132-20.ec2.internal
  2019-10-18T02:36:11Z - 2019-10-18T02:36:11Z (1) openshift-dns Created pod: dns-default-zlml2
  2019-10-18T02:36:11Z - 2019-10-18T02:36:38Z (14) openshift-dns network is not ready: runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: Missing CNI default network
  2019-10-18T02:36:48Z - 2019-10-18T02:36:48Z (1) openshift-dns Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a82c1464f81a54536bfe2f48f5f4abb5a0f9734a7915ff1cc0f9abe24ace1f1b"
  ...

it is not obvious to me how that activity is leading to the
degradation.

We'd have a better UX if we bubbled the underlying DNS degradation
message(s) into the operator's degradation message, but that's a
bigger refactor than I have time for now.  When we get that, we can
roll this commit back, and get the details from the
Degraded-status-change events.  Once we start firing events; the
current "clusteroperator/dns changed Degraded" are from the test
suite's openshift/origin@9bc285f7f7 (Display status about cluster
operator in the monitor, 2019-02-15, openshift/origin#22062), and the
DNS operator does not use library-go's status controller and its
openshift/library-go@41805e145b (emit specific events for version
changes, 2019-04-24, openshift/library-go#367).

[1]: https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-serial-4.3/94
bertinatto pushed a commit to bertinatto/library-go that referenced this pull request Jul 2, 2020
emit specific events for version changes
jottofar added a commit to jottofar/library-go that referenced this pull request Aug 20, 2020
This package was created by the updates (OTA) team and is currently used by
the cluster-version operator and 'oc adm release mirror' command both of
which are maintained by the updates team.  I'm seeding the alias with the
content from [1] (and adding Lala, who's the team lead).  I've left
the 'component' property (added to the root OWNERS in e83f2ac, Add
BZ component name to OWNERS, 2020-04-03, openshift#367) off for now, because
the tooling around that only consumes entries at the repo level.

[1]: https://github.com/openshift/cluster-version-operator/blob/914467c03b5bc25dbe4c9295c420fdb2598db821/OWNERS
jottofar added a commit to jottofar/library-go that referenced this pull request Aug 21, 2020
This package will be created by the updates (OTA) team and will be used by
the cluster-version operator and 'oc adm release mirror' command both of
which are maintained by the updates team. I'm seeding the alias with the
content from 1 (and adding Lala, who's the team lead). I've left
the 'component' property (added to the root OWNERS in e83f2ac, Add
BZ component name to OWNERS, 2020-04-03, openshift#367) off for now, because
the tooling around that only consumes entries at the repo level.

This PR depends on commit 35b150a, which defines the update-approvers
alias, being merged first.
jottofar added a commit to jottofar/library-go that referenced this pull request Aug 21, 2020
This package will be created by the updates (OTA) team and will be used by
the cluster-version operator and 'oc adm release mirror' command both of
which are maintained by the updates team. I'm seeding the alias with the
content from 1 (and adding Lala, who's the team lead). I've left
the 'component' property (added to the root OWNERS in e83f2ac, Add
BZ component name to OWNERS, 2020-04-03, openshift#367) off for now, because
the tooling around that only consumes entries at the repo level.

This PR depends on commit 35b150a, which defines the update-approvers
alias, being merged first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants