Giter Club home page Giter Club logo

Comments (12)

dgutride avatar dgutride commented on August 21, 2024 2

I also had this issue - it's a missing a displayName in the Infinispan Operator for the Cache - once that was added in the yaml for the operator, the Catalog page was visible. This is because the tileName is undefined.

on this page: /k8s/ns/user2/operators.coreos.comv1alpha1ClusterServiceVersion/infinispan-operator.v2.0.2/yaml (I added displayName)

spec:
customresourcedefinitions:
owned:
- description: Cache is the Schema for the caches API
displayName: Infinispan Cache
kind: Cache
name: caches.infinispan.org
version: v2alpha1

from dayinthelife-streaming.

sigreen avatar sigreen commented on August 21, 2024 1

I had the same issue with two separate workshops today on RHPDS @evanshortiss . Work around is to naviagate to the Administrator Console, select the Operator and create the Address Space that way. Unfortunately this didn't work for Postgres lab as there is no operator available.

from dayinthelife-streaming.

evanshortiss avatar evanshortiss commented on August 21, 2024 1

@sigreen looks like that'll do the trick 👍

@dgutride I just checked and the displayName is there on my cluster. So maybe there's another issue at play here?

Screenshot 2020-07-24 at 2 57 10 PM

from dayinthelife-streaming.

dgutride avatar dgutride commented on August 21, 2024 1

@evanshortiss - you need another displayName entry for the cache (line 60 or so)

from dayinthelife-streaming.

evanshortiss avatar evanshortiss commented on August 21, 2024

Navigating to https://$CLUSTER_HOST/catalog/ns/user1 results in an error or blank page. Web inspector reveals 403 HTTP response from https://$CLUSTER_HOST/api/kubernetes/apis/config.openshift.io/v1/clusterversions/version and 404 from https://$CLUSTER_HOST/api/kubernetes/api/v1/namespaces/openshift-logging/configmaps/sharing-config`

from dayinthelife-streaming.

evanshortiss avatar evanshortiss commented on August 21, 2024
  • /api/kubernetes/apis/ocs.openshift.io/v1/namespaces/openshift-storage/storageclusters/ocs-independent-storagecluster - 403
  • /api/kubernetes/apis/operators.coreos.com/v1alpha1/namespaces/openshift-storage/subscriptions/ocs-subscription - 404
  • api/kubernetes/apis/config.openshift.io/v1/infrastructures/cluster - 403
  • /api/kubernetes/apis/apiregistration.k8s.io/v1/apiservices? - 403

from dayinthelife-streaming.

evanshortiss avatar evanshortiss commented on August 21, 2024

Even after adding full cluster-admin rights (oc adm policy add-cluster-role-to-user cluster-admin user1) the user cannot view the catalog. Might be an issue with this cluster?

from dayinthelife-streaming.

evanshortiss avatar evanshortiss commented on August 21, 2024

Nice find @dgutride! So do we know if this is isolated to OCP 4.4 or is it an issue with the pre-created Infinispan operator that can be addressed in the installer, or perhaps caused by a mixture of hte the two?

from dayinthelife-streaming.

dgutride avatar dgutride commented on August 21, 2024

@evanshortiss - the code is the same between minor versions of OpenShift - I upgraded to try to fix this in the process. I'm not quite sure why they aren't validating the displayName on the operator yaml unless the install process here is doing something unusual.

I think the issue is with infinispan - looks like this commit broke things a few weeks ago: infinispan/infinispan-operator@20e7885#diff-350feddf31ee00a2f0bcf71b204a30c1.

Created this PR: infinispan/infinispan-operator#485 to see if they'll take it in for the issue.

from dayinthelife-streaming.

sigreen avatar sigreen commented on August 21, 2024

Thanks @dgutride and @evanshortiss . I can confirm that Dana's fix has resolve my issue. I updated the Infinispan operator YAML in userX project at line 55 to the following:

spec:
  customresourcedefinitions:
    owned:
      - description: Cache is the Schema for the caches API
        displayName: Infinispan Cache
        kind: Cache
        name: caches.infinispan.org
        version: v2alpha1
      - description: An Infinispan cluster instance.
        displayName: Infinispan Cluster
        kind: Infinispan
        name: infinispans.infinispan.org

After saving that change, I was able to login to my user project and view the catalog!

from dayinthelife-streaming.

evanshortiss avatar evanshortiss commented on August 21, 2024

Thanks @dgutride, and @sigreen

from dayinthelife-streaming.

hguerrero avatar hguerrero commented on August 21, 2024

This should have been fixed by the change to Data Grid instead.

from dayinthelife-streaming.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.