openshift-labs / cloud-native-guides Goto Github PK
View Code? Open in Web Editor NEWThe Workshopper Guides for Cloud Native Roadshow on OpenShift https://www.openshift.com
The Workshopper Guides for Cloud Native Roadshow on OpenShift https://www.openshift.com
As an example, in the Swarm module the auto copy-paste for the Inventory.class doesn't work -- clicking in the box doesn't highlight everything.
When selecting the admin user and password for the infra services, admin
is not a valid value. We need to force a check at the beginning of the execution preventing this.
In the instruction Download lab project, attendees are instructed to go to cd ~
.
They should create a folder, to download the projects.zip, otherwise their home folder will become a mess.
current docs say
cd labs/inventory-wildfly-swarm
But if user has changed their PWD this might fail
cd /projects/labs/inventory-wildfly-swarm/
would be safer
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.
Screenshot is wrong under 'Creating a Domain Model'
related to #24 we may wish to use the full path when telling users where to go in the terminal.
Should add a curl within the APB to document utilization.
Is there a reason the gogs user account isn't precreated like we do for the starter workshop?
the pipeline lab says to test delivery as the last step.
I happened to magically try to debug right as the new pipeline build of the inventory pod was deploying. This resulted in a weird error about the pod not being able to be found.
We may wish to add a warning to the debug lab that they should wait for the test pipeline delivery to finish before continuing.
When first loading the file, Che shows errors on the various imports. It's not until the Maven build runs that the errors disappear.
I noticed this when testing something else. in OCP 3.11 the oc delete
behavior is changed. The command doesn't actually seem to return until after the specified pod is already terminated, so you won't see the terminating
state any more, even if you use ;
or &&
between the delete
and the get
.
It doesn't appear that the pipeline builds are using the internal nexus repo:
Downloaded: https://maven.repository.redhat.com/ga/org/jboss/eap/wildfly-clustering-web-undertow/7.1.1.GA-redhat-2/wildfly-clustering-web-undertow-7.1.1.GA-redhat-2.jar (102 kB at 4.2 kB/s)
the curl of the inventory endpoint is not in a command box -- it's just block text.
The instructions have you use curl to hit the test URL and then say "you can..." with the browser. If the user doesn't use the browser, they will still be on the terminal tab.
When on the terminal tab, the stop icon does not appear when you mouse over the "run wildfly-swarm" machine.
CHE workspace is very slow and a great resource consumer. We should have an ENV var to disable it
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`
the jenkins new-app
command appears as red block text as opposed to being in a command / copy-paste box.
Add
LABEL "com.redhat.apb.spec"=
after FROM
Looks like you don't have to "Convert to Project" any more with a newer version of CodeReady.
There's no instruction on the guides that tells attendees to register themselves before using CHE
looks like the asciidoc annotation might have a typo
In that case we would make NEXUS_URL act as a proxy for every workshop attendee.
Click on Open to open the workspace and then on the Start button to start the workspace for use, if it hasn’t started automatically.
Should this read "Open in IDE" as the button doesn't only say "Open"?
oc delete pod -l app=catalog
causes the pgsql container/pod to be deleted as well.
oc delete pod -l deploymentconfig=catalog
will only delete the catalog pod without deleting the pgsql pod.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.