Giter Site home page Giter Site logo

openshift-labs / cloud-native-guides Goto Github PK

View Code? Open in Web Editor NEW
38.0 38.0 70.0 32.72 MB

The Workshopper Guides for Cloud Native Roadshow on OpenShift https://www.openshift.com

Dockerfile 14.71% Makefile 1.78% Shell 83.51%
cloud-native containers hands-on-lab kubernetes microservices openshift

cloud-native-guides's People

Contributors

douglasawoods avatar ipurdy avatar jankleinert avatar jorgemoralespou avatar mmistretta avatar siamaksade avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloud-native-guides's Issues

OutOfMemory issue on Inventory component

When making requests to the Inventory (wildfly) component, the pod crashes with an out of memory error. The pod will restart but this issue seems to happen constantly. The problem seems that the Max Metaspace size is set to 100m, which is too small in this case.

Solution -
You are required to set the "GC_MAX_METASPACE_SIZE" variable in the Inventory Deployment config
as per this ticket resolution - https://access.redhat.com/solutions/3394951

After manually setting this environment variable to "300" the issue did not appear anymore.

[RFE] bash to make curling deployed inventory easier

Copy/paste out of the Che terminal is kind of a bear. The following bash makes it so that you don't need to copy/paste:

`curl http://`oc get route inventory -o jsonpath --template='{.status.ingress[0].host}'`/api/inventory/329299`

Project Skeletons

Looks like you don't have to "Convert to Project" any more with a newer version of CodeReady.

Openshift OAuth not working with Cloud Ready workspaces on a 4.1 cluster

When having cloud ready workspaces set up on an OpenShift 4.1 cluster the OpenShift OAuth login with Code Ready Workspaces does not work and provides a "Were Sorry Unexpected error when handling authentication request to identity provider message" The log stream in the codeready workspaces pod is showing a warning message of

"2019-11-13 21:36:55,904[75f-cp6fm-48701] [WARN ] [unknown.jul.logger 49] - Problem getting Pod json from Kubernetes Client[masterUrl=https://172.30.0.1:443/api/v1, headers={}, connectTimeout=5000, readTimeout=30000, operationAttempts=3, operationSleep=1000, streamProvider=org.openshift.ping.common.stream.TokenStreamProvider@dff9cfb] for cluster [EclipseLinkCommandChannel], namespace [lab-infra], labels [app=che]; encountered [java.lang.Exception: 3 attempt(s) with a 1000ms sleep to execute [OpenStream] failed. Last failure was [javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]]"

But am not sure if it is related to the OAuth authentication attempt though. Please reach me at [email protected] if this is able to be resolved.

[debugging module] lab guide errors do not appear

lab guide says:

$ oc logs dc/gateway | grep -i error

...
WARNING: Inventory error for 444436: status code 204
SEVERE: Inventory error for 444436: null
...

What actually comes up:

SEVERE: Inventory error for 329299: operation timeout                                                                                                                                                         
SEVERE: Inventory error for 329199: operation timeout                                                                                                                                                         
SEVERE: Inventory error for 165613: operation timeout                                                                                                                                                         
SEVERE: Inventory error for 165614: operation timeout                                                                                                                                                         
SEVERE: Inventory error for 165954: operation timeout                                                                                                                                                         
SEVERE: Inventory error for 444434: operation timeout                                                                                                                                                         
SEVERE: Inventory error for 444435: operation timeout                                                                                                                                                         
SEVERE: Inventory error for 444436: operation timeout                                                                                                                                                         
SEVERE: Inventory error for 329199: open circuit                                                                                                                                                              
SEVERE: Inventory error for 165613: open circuit                                                                                                                                                              
SEVERE: Inventory error for 165614: open circuit                                                                                                                                                              
SEVERE: Inventory error for 165954: open circuit                                                                                                                                                              
SEVERE: Inventory error for 444434: open circuit                                                                                                                                                              
SEVERE: Inventory error for 444435: open circuit                                                                                                                                                              
SEVERE: Inventory error for 444436: open circuit                                                                                                                                                              
SEVERE: Inventory error for 329299: operation timeout

Along with the java exec itself.

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.