Bug 1986129 - OpenShift web console not deployed after installing OCP 4.8.2 using single-node-developer profile
Summary: OpenShift web console not deployed after installing OCP 4.8.2 using single-no...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.9.0
Assignee: Jakub Hadvig
QA Contact: Yanping Zhang
URL:
Whiteboard:
Depends On:
Blocks: 1987315
TreeView+ depends on / blocked
 
Reported: 2021-07-26 17:53 UTC by Ales Nosek
Modified: 2023-09-15 01:12 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Missing 'include.release.openshift.io/single-node-developer: "true"' annotation on the ConsolePlugins CRD. Consequence: Console pod is not deployed at all. Fix: Add missing 'include.release.openshift.io/single-node-developer: "true"' annotation on the ConsolePlugins CRD. Result: After applying this CRD manually to the cluster, the console is deployed and the console operator becomes available.
Clone Of:
Environment:
Last Closed: 2021-10-18 17:41:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift api pull 980 0 None open Bug 1986129: Add missing 'include.release.openshift.io/single-node-developer' annotation to the ConsolePlugin CRD 2021-07-29 10:42:10 UTC
Github openshift console-operator pull 573 0 None None None 2021-08-12 11:48:01 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:42:29 UTC

Description Ales Nosek 2021-07-26 17:53:23 UTC
Description of problem:

Installed OCP 4.8.2 using the single-node-developer profile:

$ export OPENSHIFT_INSTALL_EXPERIMENTAL_CLUSTER_PROFILE=single-node-developer
$ oc create manifests
$ oc create ignition-configs


Version-Release number of selected component (if applicable):

4.8.2, link https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.8.2/

How reproducible:

Just install OpenShift 4.8.2 using the single-node-developer profile

Actual results:

The console cluster operator won't become available:

$ oc get clusteroperator
NAME                                       VERSION   AVAILABLE   PROGRESSING   DEGRADED   SINCE
authentication                             4.8.2     True        False         False      23m
baremetal
cluster-autoscaler                         4.8.2     True        False         False      39m
config-operator                            4.8.2     True        False         False      40m
console                                    4.8.2     False       False         False      32m
csi-snapshot-controller                    4.8.2     True        False         False      40m
dns                                        4.8.2     True        False         False      40m
etcd                                       4.8.2     True        False         False      39m
image-registry                             4.8.2     True        False         False      33m
ingress                                    4.8.2     True        False         False      34m
insights                                   4.8.2     True        False         False      33m
kube-apiserver                             4.8.2     True        False         True       35m
kube-controller-manager                    4.8.2     True        False         False      39m
kube-scheduler                             4.8.2     True        False         False      36m
machine-api                                4.8.2     True        False         False      39m
machine-approver                           4.8.2     True        False         False      40m
machine-config                             4.8.2     True        False         False      39m
marketplace                                4.8.2     True        False         False      39m
monitoring                                 4.8.2     True        False         False      31m
network                                    4.8.2     True        False         False      41m
node-tuning                                4.8.2     True        False         False      39m
openshift-apiserver                        4.8.2     True        False         False      33m
openshift-controller-manager               4.8.2     True        False         False      39m
openshift-samples                          4.8.2     True        False         False      32m
operator-lifecycle-manager                 4.8.2     True        False         False      40m
operator-lifecycle-manager-catalog         4.8.2     True        False         False      40m
operator-lifecycle-manager-packageserver   4.8.2     True        False         False      33m
service-ca                                 4.8.2     True        False         False      40m
storage                                    4.8.2     True        False         False      40m

Console pod is not deployed at all.

Expected results:

The console cluster operator should deploy console.

Additional info:

This issue is caused by the cluster-version-operator not deploying consoleplugin CRD. After applying this CRD manually to the cluster, the console is deployed and the console operator becomes available. This is the command that fixes the issue for me:

$ oc rsh -n openshift-cluster-version cluster-version-operator-789d46ff9d-lbcn4 cat /release-manifests/0000_10_consoleplugin.crd.yaml | oc apply -f -
customresourcedefinition.apiextensions.k8s.io/consoleplugins.console.openshift.io created

Comment 3 Yanping Zhang 2021-08-06 09:10:20 UTC
@Ales are you available to help to try the fix from your side?

Comment 4 Ales Nosek 2021-08-06 14:10:44 UTC
(In reply to Yanping Zhang from comment #3)
> @Ales are you available to help to try the fix from your side?

Yes, I can test the fix. What should I do?

Comment 5 Yanping Zhang 2021-08-09 09:01:45 UTC
@Ales, thanks for your help, will tell you when we get the exact info about the but test.

@Jakub or @Sam, I noticed the fix in pr https://github.com/openshift/api/pull/980/files is not bumped into console-operator repo, the file console-operator/vendor/github.com/openshift/api/console/v1alpha1/0000_10_consoleplugin.crd.yaml doesn't contain the update from pr980. Could you help to check?

Comment 6 Samuel Padgett 2021-08-10 20:09:41 UTC
Moving back to assigned. We still need to bump openshift/api in the console-operator.

Comment 8 Yanping Zhang 2021-09-01 09:06:25 UTC
Launched SNO cluster with payload 4.9.0-0.nightly-2021-08-30-192239, all cluster operators are installed successfully, and check annotation in the ConsolePlugin CRD yaml, there is new annotation added:   include.release.openshift.io/single-node-developer: 'true'

Comment 10 Yanping Zhang 2021-09-03 07:31:31 UTC
After discussed with Jakub, the test in Comment 8 is correct to verify this bug, so move the bug to Verified. Thanks all!

Comment 13 errata-xmlrpc 2021-10-18 17:41:12 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.9.0 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:3759

Comment 14 Red Hat Bugzilla 2023-09-15 01:12:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


Note You need to log in before you can comment on or make changes to this bug.