openshift-labs / starter-guides

Getting Started with OpenShift for Developers workshop
https://openshift-labs.github.io/starter-guides-html/
Apache License 2.0
135 stars 147 forks source link

Nexus is not deployed but used in mlbparks lab #107

Closed jbrannst closed 3 years ago

jbrannst commented 5 years ago

I was running the Python version of the workshop.

If the user chooses to deploy mlbparks using oc new-app mlbparks --name=mlbparks -p MAVEN_MIRROR_URL=http://nexus.nationalparks-lab.svc.cluster.local:8081/repository/maven-all-public then the build will fail. I deployed https://github.com/OpenShiftDemos/nexus/blob/master/nexus2-template.yaml into the lab namespace but that one uses /content/groups/public so it fails as well. It seems nexus3 will deploy the content where expected.

Maybe deploying a nexus3 can be an optional parameter?

jbrannst commented 5 years ago

I see that nexus3 is part of the APB so the cause must then have been a failed deployment. Not sure how to troubleshoot though.

jbrannst commented 5 years ago

Seems this issue and the other I filed on the devops workshop may be related to flaky redhat.registry.io access

jbrannst commented 5 years ago

Double check with RHPDS team confirms it is an issue with redhat.registry.io auth. A service account with credentials is required to be installed into each project. To avoid this manual work, we could update the APB to install a provided SA.

alberttwong commented 5 years ago

related to https://github.com/openshift-labs/starter-guides/issues/113 ???