crc-org / crc

CRC is a tool to help you run containers. It manages a local OpenShift 4.x cluster, Microshift or a Podman VM optimized for testing and development purposes
https://crc.dev
Apache License 2.0
1.25k stars 237 forks source link

[BUG] Unable to view operators from community-operators [Kogito, ArgoCD] #1264

Closed rahgadda closed 4 years ago

rahgadda commented 4 years ago

General information

CRC version

crc version: 1.10.0+9025021
OpenShift version: 4.4.3 (embedded in binary)
# Put the output of `crc version`

CRC status

CRC VM:          Running
OpenShift:       Running (v4.4.3)
Disk Usage:      19.33GB of 32.72GB (Inside the CRC VM)
Cache Usage:     11.9GB
Cache Directory: /scratch/Home/.crc/cache
# Put the output of `crc status`

CRC config

- http-proxy                            : http://<>:80
- https-proxy                           : http://<>:80
- no-proxy                              : localhost,127.0.0.1,.oraclecorp.com
# Put the output of `crc config view`

Host Operating System

VERSION="7.5"
ID="ol"
VERSION_ID="7.5"
PRETTY_NAME="Oracle Linux Server 7.5"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:7:5:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7"
ORACLE_BUGZILLA_PRODUCT_VERSION=7.5
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=7.5
# Put the output of `cat /etc/os-release` in case of Linux
# put the output of `sw_vers` in case of Mac
# Put the output of `systeminfo` in case of Windows

Steps to reproduce

  1. Install crc on Oracle Linux 7
  2. Login to kubeadmin via WebConsole -> Operator Hub
  3. Try to search for any community operator [Kogito, ArgoCD]
  4. The system is not displaying any results

Expected

Should be able to install Kogito, ArgoCD via community operator using Operator Hub

Actual

Unable to install any community operator. Followed this video here

Logs

$ oc get co

NAME                                       VERSION   AVAILABLE   PROGRESSING   DEGRADED   SINCE
authentication                             4.4.3     True        False         False      28d
cloud-credential                           4.4.3     True        False         False      28d
cluster-autoscaler                         4.4.3     True        False         False      28d
console                                    4.4.3     True        False         False      2d6h
csi-snapshot-controller                    4.4.3     True        False         False      28d
dns                                        4.4.3     True        False         False      2d6h
etcd                                       4.4.3     True        False         False      28d
image-registry                             4.4.3     True        False         False      2d6h
ingress                                    4.4.3     True        False         False      28d
insights                                   4.4.3     True        False         False      28d
kube-apiserver                             4.4.3     True        False         False      28d
kube-controller-manager                    4.4.3     True        False         False      28d
kube-scheduler                             4.4.3     True        False         False      28d
kube-storage-version-migrator              4.4.3     True        False         False      28d
machine-api                                4.4.3     True        False         False      28d
machine-config                             4.4.3     True        False         False      28d
marketplace                                4.4.3     True        False         False      2d5h
monitoring                                 4.4.3     True        False         False      28d
network                                    4.4.3     True        False         False      28d
node-tuning                                4.4.3     True        False         False      28d
openshift-apiserver                        4.4.3     True        False         False      2d6h
openshift-controller-manager               4.4.3     True        False         False      2d6h
openshift-samples                          4.4.3     True        False         False      28d
operator-lifecycle-manager                 4.4.3     True        False         False      28d
operator-lifecycle-manager-catalog         4.4.3     True        False         False      28d
operator-lifecycle-manager-packageserver   4.4.3     True        False         False      2d5h
service-ca                                 4.4.3     True        False         False      28d
service-catalog-apiserver                  4.4.3     True        False         False      28d
service-catalog-controller-manager         4.4.3     True        False         False      28d
storage                                    4.4.3     True        False         False      28d

$ oc get catsrc --all-namespaces
NAMESPACE               NAME                  DISPLAY               TYPE   PUBLISHER   AGE
openshift-marketplace   certified-operators   Certified Operators   grpc   Red Hat     28d
openshift-marketplace   community-operators   Community Operators   grpc   Red Hat     28d
openshift-marketplace   redhat-marketplace    Red Hat Marketplace   grpc   Red Hat     28d
openshift-marketplace   redhat-operators      Red Hat Operators     grpc   Red Hat     28d

$ oc get opsrc -n openshift-marketplace   
bash-4.2$ oc get opsrc -n openshift-marketplace
NAME                  TYPE          ENDPOINT              REGISTRY              DISPLAYNAME           PUBLISHER   STATUS      MESSAGE                                       AGE
certified-operators   appregistry   https://quay.io/cnr   certified-operators   Certified Operators   Red Hat     Succeeded   The object has been successfully reconciled   28d
community-operators   appregistry   https://quay.io/cnr   community-operators   Community Operators   Red Hat     Succeeded   The object has been successfully reconciled   28d
redhat-marketplace    appregistry   https://quay.io/cnr   redhat-marketplace    Red Hat Marketplace   Red Hat     Succeeded   The object has been successfully reconciled   28d
redhat-operators      appregistry   https://quay.io/cnr   redhat-operators      Red Hat Operators     Red Hat     Succeeded   The object has been successfully reconciled   28d

You can start crc with crc start --log-level debug to collect logs. Please consider posting this on http://gist.github.com/ and post the link in the issue.

praveenkumar commented 4 years ago

@rahgadda how long did you wait till the operator hub able to fetch all the operators, I just tried 1.10 release and after waiting a bit ( also refreshed the console url 2-3 times) I am able to see the mentioned operator.

Screenshot from 2020-06-01 08-47-24

rahgadda commented 4 years ago

It was a network proxy that was blocking this. Thanks @praveenkumar , i am closing this issue.