WIP: pkg/cvo/status: Always set 'reason' for Available, Failing, and Progressing#867
WIP: pkg/cvo/status: Always set 'reason' for Available, Failing, and Progressing#867wking wants to merge 1 commit intoopenshift:masterfrom
Conversation
|
/hold while we green up CI |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wking The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
d2383be to
084f7bf
Compare
084f7bf to
ba222ec
Compare
…essing
From [1]:
> Operators should set `reason` and `message` for both happy and sad
> conditions. For sad conditions, the strings help explain what is
> going wrong. For happy conditions, the strings help convince users
> that things are going well.
>
> `AsExpected` is a common choice for happy reasons with messages like `All is well` or `NodeInstallerProgressing: 3 nodes are at revision 7`.
>
> Having an explicit happy reasons also make it easier to do things like:
>
> sort_desc(count by (reason) (cluster_operator_conditions{name="cloud-credential",condition="Degraded"}))
>
> for convenient aggregation, without having to mix in the time-series
> values to distinguish happy and sad cases.
[1]: openshift/enhancements#1266
ba222ec to
0d89b90
Compare
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
@wking: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
From our org guidelines: