Skip to content

Conversation

@wking
Copy link
Member

@wking wking commented Apr 21, 2020

When users want to know what channel they're in, make life more convienent then pointing them at a bare oc get clusterversion.

When users want to know what channel they're in, make life more
convienent then pointing them at a bare 'oc get clusterversion' [1].

[1]: https://github.com/openshift/openshift-docs/blame/c710f7cf5fe8327d6d4275b8a894efb08cc80342/modules/update-upgrading-cli.adoc#L34-L38
@openshift-ci-robot
Copy link

@wking: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-cmd 5d92ae8 link /test e2e-cmd

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

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. I understand the commands that are listed here.

}
if len(cv.Spec.Upstream) > 0 && len(cv.Spec.Channel) > 0 { // if these are unset, we notify the user via RetrievedUpdates handling below
fmt.Fprintf(o.Out, "Cluster is watching %s for updates in channel %s\n", cv.Spec.Upstream, cv.Spec.Channel)
}
Copy link
Member

Choose a reason for hiding this comment

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

So as per the PR when users runs the oc adm upgrade command we show the user the Cincinnati API link and the channel name, right? I do think this is a good UX as user has asked for upgrades not for the details. I wonder if this is right place for this kind of information. Ideally we should have a command which should information about the cluster to the user and this information should be part of that command output.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ideally we should have a command which should information about the cluster to the user and this information should be part of that command output.

Knowing your upstream and channel gives context for the update source. Otherwise we can... point them at oc get clusterversion -o=jsonpath..., which seems... at least hard to remember. You don't like oc adm upgrade listing the source from which it pulled the available updates along with the "current" version?

@openshift-ci-robot
Copy link

[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

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-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 24, 2020
@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 10, 2020
@wking
Copy link
Member Author

wking commented Oct 21, 2020

Obsoleted by #576. Hopefully that one doesn't rot out too :p.

/close

@openshift-ci-robot
Copy link

@wking: Closed this PR.

Details

In response to this:

Obsoleted by #576. Hopefully that one doesn't rot out too :p.

/close

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.

@wking wking deleted the upgrade-list-channel-part-2 branch October 21, 2020 04:13
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. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants