Skip to content

Conversation

wking
Copy link
Member

@wking wking commented May 28, 2020

Because every Failing=True condition should have a reason.

Also wordsmith the user-facing docs to replace "synchronize" with "reconcile", because our merge logic is more nuanced than the complete match "synchronize" implies for me.

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 28, 2020
@wking wking force-pushed the no-desired-image branch from 6a98c54 to 9b89802 Compare May 29, 2020 23:10
@wking wking force-pushed the no-desired-image branch 3 times, most recently from 4e4014e to 89b9af1 Compare June 8, 2020 23:52
@wking
Copy link
Member Author

wking commented Jun 9, 2020

e2e-aws:

level=fatal msg="failed to initialize the cluster: Cluster operator console is reporting a failure: RouteHealthDegraded: route not yet available, https://console-openshift-console.apps.ci-op-y4iighzl-928f7.origin-ci-int-aws.dev.rhcloud.com/health returns '503 Service Unavailable'"

Dunno what that's about.

/retest

@wking
Copy link
Member Author

wking commented Jun 9, 2020

Prow must have hiccuped, because e2e-aws failed (on RouteHealthDegraded on install), while e2e-aws-upgrade passed, despite Prow currently claiming Job triggered.

/refresh

@wking
Copy link
Member Author

wking commented Jun 10, 2020

/assign @LalatenduMohanty


The CVO has not been given a release image to reconcile.

This should not be possible, because clearing [`desiredUpdate`][api-desired-update] should return you to the current CVO's release image.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you say this should not be possible, do you mean this is a bug?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also I will suggest pointing to code i.e. [api-desired-update]: https://github.com/openshift/api/blob/34f54f12813aaed8822bb5bc56e97cbbfa92171d/config/v1/types_cluster_version.go#L40-L54 is not a good idea. As code can change and it will result in to a broken link.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you say this should not be possible, do you mean this is a bug?

I mean that if it happens, it is a CVO bug.

As code can change and it will result in to a broken link.

My link pins a specific API commit by hash, so it does not float with new API code changes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean that if it happens, it is a CVO bug.

In that case, lets mention that if that happens it is a CVO bug.

My link pins a specific API commit by hash, so it does not float with new API code changes.

Still this does not sound like a good idea because what happens the API changes and the code snippet does not reflect the current code correctly.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still this does not sound like a good idea because what happens the API changes and the code snippet does not reflect the current code correctly.

Then we yell at the API folks for the breaking change ;). But there's no way to float with master and also auto-guard against breaking changes (or even line renumbers). This commit-pinned link uses the same approach we use for vendored code, and I think that makes sense, and we periodically review and bump our pinned commit as needed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case, lets mention that if that happens it is a CVO bug.

Echoed the existing "If this happens it is a CVO coding error" wording with d459a57 -> 1249588.

Still outstanding for this thread is getting approval or a motivated alternative for the commit-pinned API repo link.

@wking wking force-pushed the no-desired-image branch from 89b9af1 to d459a57 Compare June 17, 2020 02:34
Because every Failing=True condition should have a reason.

Also wordsmith the user-facing docs to replace "synchronize" with
"reconcile", because our merge logic is more nuanced than the complete
match "synchronize" implies for me.

The ClusterOperatorNotAvailable special casing landed with
convertErrorToProgressing in c2ac20f (status: Report the operators
that have not yet deployed, 2019-04-09, openshift#158).
@wking wking force-pushed the no-desired-image branch from d459a57 to 1249588 Compare June 17, 2020 02:38
Copy link
Member

@LalatenduMohanty LalatenduMohanty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 17, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LalatenduMohanty, wking

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [LalatenduMohanty,wking]

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 7d703e3 into openshift:master Jun 17, 2020
@wking wking deleted the no-desired-image branch June 17, 2020 14:37
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants