Giter Site home page Giter Site logo

Comments (7)

vazirim avatar vazirim commented on July 17, 2024

@dcberg could you share the yaml you used?

from cloud-operators.

vazirim avatar vazirim commented on July 17, 2024

@dcberg I just tried the mystreams example we have in our samples.
It seems to provision fine, but I cannot access the web console. This isn't actually a problem with the cloud operator but the service itself. I asked on Slack to see if the service is down (in the past they have fixed stuff for us), cc'ed you there

from cloud-operators.

pdettori avatar pdettori commented on July 17, 2024

I was able to reproduce the issue with a different service (watson translator) so this is not related to provisioning IBM Streaming Analytics. However, the issue seems to happen only with the console in 3.11, and it works fine in OpenShift 4. Will continue to explore to see what is affecting this.

from cloud-operators.

pdettori avatar pdettori commented on July 17, 2024

so, I tested also with a Binding and the 3.11 console works fine for that. I have a strong suspicion at this point that there might be an issue with the 3.11 console due to the resource name 'Service' (it happens only with that). It is possible that the console is not considering the api group and version and is trying to find a native Kubernetes Service, so it hangs there. This does not happen with OpenShift 4, where the issue is likely resolved. Not sure there is a solution for this with the 3.11 console.

from cloud-operators.

pdettori avatar pdettori commented on July 17, 2024

Following the steps in https://github.ibm.com/seed/olm/tree/master/pocs/openshift-ibmcloud#installing-upstream-openshift-console I have pointed a OpenShift 4 console to my ROKS cluster and verified that the issue does not happen there.

The conclusion is that this is a specific issue for the 3.11 console, where operator support was just experimental and it is likely due to the 3.11 console support not handling correctly the a resource with name Service (overlapping with the native Service in Kubernetes).

To point a v4 console to the existing 3.11 cluster, you may try to run the console locally in docker, as long as your oc command is setup:

endpoint=$(kubectl config view -o json | jq '{myctx: .["current-context"], ctxs: .contexts[], clusters: .clusters[]}' | jq 'select(.myctx == .ctxs.name)' | jq 'select(.ctxs.context.cluster ==  .clusters.name)' | jq '.clusters.cluster.server' -r)
token=$(kubectl config view -o json | jq '{myctx: .["current-context"], ctxs: .contexts[], clusters: .clusters[], users: .users[]}' | jq 'select(.myctx == .ctxs.name)' | jq 'select(.ctxs.context.user ==  .users.name)' | jq '.users.user.token' -r)

args="--net=host"
if [[ $OSTYPE == darwin* ]]; then
  args="-p 9000:9000"
fi

docker run --name console -d $args \
  -e BRIDGE_USER_AUTH="disabled" \
  -e BRIDGE_K8S_MODE="off-cluster" \
  -e BRIDGE_K8S_MODE_OFF_CLUSTER_ENDPOINT=$endpoint \
  -e BRIDGE_K8S_MODE_OFF_CLUSTER_SKIP_VERIFY_TLS=true \
  -e BRIDGE_K8S_AUTH="bearer-token" \
  -e BRIDGE_K8S_AUTH_BEARER_TOKEN=$token\
  quay.io/openshift/origin-console:latest

On OSX, you should be able to access to OpenShift 4 console at http://localhost:9000

from cloud-operators.

pdettori avatar pdettori commented on July 17, 2024

View with the v4 console pointed to my ROKS instance:
image

from cloud-operators.

pdettori avatar pdettori commented on July 17, 2024

Closing, since this issue cannot is caused by a OpenShift 3.11 UI issue.

from cloud-operators.

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.