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
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.
Screenshot is wrong under 'Creating a Domain Model'
the curl of the inventory endpoint is not in a command box -- it's just block text.
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.
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.
Is there a reason the gogs user account isn't precreated like we do for the starter workshop?
Add
LABEL "com.redhat.apb.spec"=
after FROM
When first loading the file, Che shows errors on the various imports. It's not until the Maven build runs that the errors disappear.
Looks like you don't have to "Convert to Project" any more with a newer version of CodeReady.
Should add a curl within the APB to document utilization.
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"?
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.
CHE workspace is very slow and a great resource consumer. We should have an ENV var to disable it
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
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)
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.
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
.
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.
related to #24 we may wish to use the full path when telling users where to go in the terminal.
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.
the jenkins new-app
command appears as red block text as opposed to being in a command / copy-paste box.
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.
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.
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 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.
There's no instruction on the guides that tells attendees to register themselves before using CHE
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.