Bug 1952632

Summary: 4.8 installer should default ClusterVersion channel to stable-4.8
Product: OpenShift Container Platform Reporter: W. Trevor King <wking>
Component: InstallerAssignee: W. Trevor King <wking>
Installer sub component: openshift-installer QA Contact: Pedro Amoedo <pamoedom>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: medium CC: pamoedom, tsze
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1995655 (view as bug list) Environment:
Last Closed: 2021-07-27 23:02:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description W. Trevor King 2021-04-22 17:25:36 UTC
When we install 4.8 clusters, the default channel should be stable-4.8, not stable-4.7.  Test with:

  $ oc get clusterversion -o jsonpath='{.spec.channel}{"\n"}' version
  stable-4.7

I forgot to bump this before feature freeze, so now it's a bug ;).

Comment 3 Pedro Amoedo 2021-04-28 15:43:00 UTC
QA Status: VERIFIED

Since the current nightly "4.8.0-0.nightly-2021-04-28-124654" doesn't contain yet the corresponding PR "openshift/installer#4868", I've proceeded with version "4.8.0-0.ci-2021-04-28-134626" and the channel is now the correct one as expected:

~~~
$ oc get clusterversion
NAME      VERSION                        AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.ci-2021-04-28-134626   True        False         12m     Cluster version is 4.8.0-0.ci-2021-04-28-134626

$ oc get clusterversion/version -o jsonpath={.spec.channel}
stable-4.8
~~~

Best Regards.

Comment 4 To Hung Sze 2021-04-28 22:29:17 UTC
Strangely, I have 
./oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2021-04-28-172951   True        False         84m     Cluster version is 4.8.0-0.nightly-2021-04-28-172951

$ oc get clusterversion/version -o jsonpath={.spec.channel}
stable-4.7

Comment 5 W. Trevor King 2021-04-28 22:43:11 UTC
Huh, installer there is too old:

$ oc adm release info --commits registry.ci.openshift.org/ocp/release:4.8.0-0.nightly-2021-04-28-172951 | grep ' installer '
  installer                                      https://github.com/openshift/installer                                      fdf0269c32e313b6213ec36a84a5a849b43318f4
$ git --no-pager log --oneline --first-parent origin/master -3 
911eb7f69 (origin/release-4.9, origin/release-4.8, origin/master) Merge pull request #4868 from wking/stable-4.8
18974847b Merge pull request #4755 from staebler/user_tags_in_cluster
fdf0269c3 Merge pull request #4859 from staebler/aws_byo_roles_permissions

But the older release had the newer commit:

$ oc adm release info --commits registry.ci.openshift.org/ocp/release:4.8.0-0.ci-2021-04-28-134626 | grep ' 
installer '
  installer                                      https://github.com/openshift/installer                                      911eb7f69a1316c48e883d08644cda0e7304a373

I'll follow up with ART...

Comment 6 W. Trevor King 2021-04-28 23:20:53 UTC
Yaakov cleared me up.  The issue was bug 1953551 breaking nightly builds of the installer, so 4.8.0-0.nightly-2021-04-28-172951 was behind, while CI builds were still passing so 4.8.0-0.ci-2021-04-28-134626 had the new code.  The PR for bug 1953551 has landed, so nightlies will hopefully catch up soon.

Comment 7 To Hung Sze 2021-04-29 13:33:02 UTC
Works now:
$ ./oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2021-04-29-071720   True        False         61s     Cluster version is 4.8.0-0.nightly-2021-04-29-071720

$ oc get clusterversion/version -o jsonpath={.spec.channel}
stable-4.8

Thanks.

Comment 10 errata-xmlrpc 2021-07-27 23:02:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438