console icon indicating copy to clipboard operation
console copied to clipboard

Show the OpenShift version to normal users in the About page

Open omajid opened this issue 4 years ago • 12 comments

As someone who is just getting started with OpenShift, one of the first questions I generally want an answer to when I am looking at an OpenShift console is to find out the version.

The "About" dialog shows the Kubernetes version. I have to read through the OpenShift release notes to figure out what version of OpenShift that maps to.

Can you include the OpenShift version the about dialog as well?

omajid avatar May 27 '20 16:05 omajid

Hi @omajid

The Details card in the top-left corner of the Cluster Overview landing page and the About dialog should both include the OpenShift version. I believe it was added to the Overview in 4.2-ish, and it may have been in the About dialog before then (not sure).

Are those the places you'd expect to see the OpenShift version?

image

image

andybraren avatar May 27 '20 17:05 andybraren

Oh, that's great to see!

I think I must be using an older version of OpenShift. I don't see the "Cluster Overview" page in my instance. The About dialog only shows the Kubernetes version (1.16.2), which makes me suspect I am running 4.3?

omajid avatar May 27 '20 17:05 omajid

Thanks @omajid for filing. I'm glad this is addressed in 4.4 in some respect. I'd also expect ot see it in the output of oc version. (Just firing up a 4.4 cluster to check the output of that)

Edit: it does:

▶ oc version
Client Version: openshift-clients-4.3.19-202005020952
Server Version: 4.4.6
Kubernetes Version: v1.17.1+f63db30

jmtd avatar Jun 01 '20 10:06 jmtd

I started up a local instance using Code Ready Containers.

image

$ oc version
Client Version: 4.3.19-202005020952-4fb2d4d
Kubernetes Version: v1.17.1

Is this something CRC is doing? Or something more general to OpenShift

omajid avatar Jun 01 '20 14:06 omajid

You currently need authority to see the ClusterVersion resource to get the OpenShift version. This is not a console limitation per se. It's true across the platform.

I agree normal users should be able to see the version.

spadgett avatar Jun 01 '20 16:06 spadgett

I opened this Bugzilla against the OpenShift API server since there's currently no API the console can use:

https://bugzilla.redhat.com/show_bug.cgi?id=1850656

spadgett avatar Jun 24 '20 16:06 spadgett

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-bot avatar Oct 23 '20 07:10 openshift-bot

/remove-lifecycle stale

spadgett avatar Oct 23 '20 15:10 spadgett

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-bot avatar Jan 23 '21 06:01 openshift-bot

/lifecycle frozen

spadgett avatar Jan 24 '21 20:01 spadgett

This seems to be fixed now? I am not running as admin and I see version 4.8 in Help > About:

image

omajid avatar Mar 15 '22 14:03 omajid

Maybe I am not on the right version but it does not work. I use Openshift in company as a normal user and do not see openshift version. At leas I can run "oc command and see this:

oc version Client Version: 4.8.0-202111041632.p0.git.88e7eba.assembly.stream-88e7eba Kubernetes Version: v1.23.5+012e945

So it looks that we have already version 4.8 but on the "About" I see still the old information:

Red Hat OpenShift Container Platform OpenShift is Red Hat's container application platform that allows developers to quickly develop, host, and scale applications in a cloud environment.

Kubernetes version v1.23.5+012e945 API server https://api.ocpazrp04.cloud.internal:6443

image

Is this really fixed?

Thanks.

vlskrbek avatar Sep 23 '22 10:09 vlskrbek

Migrated to Jira: https://issues.redhat.com/browse/OCPBUGS-8783

TheRealJon avatar Sep 18 '23 18:09 TheRealJon