Skip to content

Instantly share code, notes, and snippets.

@dipak-pawar
Created February 28, 2017 11:24
Show Gist options
  • Save dipak-pawar/21fd50592c5b836857168647f06d4d78 to your computer and use it in GitHub Desktop.
Save dipak-pawar/21fd50592c5b836857168647f06d4d78 to your computer and use it in GitHub Desktop.
In project openshift on server https://192.168.42.98:8443
svc/hello-world-service - 172.30.142.231:80
rc/hello-world-controller runs tutum/hello-world
rc/hello-world-controller created 15 minutes ago - 1 pod
http://nodejs-example-openshift.192.168.42.98.xip.io (svc/nodejs-example)
dc/nodejs-example deploys istag/nodejs-example:latest <-
bc/nodejs-example source builds https://github.com/openshift/nodejs-ex.git on istag/nodejs:0.10
not built yet
deployment #1 waiting on image or update
pod/hello-openshift runs openshift/hello-openshift
Errors:
* pod/hello-world-controller-e6wrg is crash-looping
The container is starting and exiting repeatedly. This usually means the container is unable
to start, misconfigured, or limited by security restrictions. Check the container logs with
oc logs hello-world-controller-e6wrg -c hello-world-container
Current security policy prevents your containers from being run as the root user. Some images
may fail expecting to be able to change ownership or permissions on directories. Your admin
can grant you access to run containers that need to run as the root user with this command:
oadm policy add-scc-to-user anyuid -n openshift -z default
* route/hello-world-service-1 is routing traffic to svc/hello-world-service-1, but either the administrator has not installed a router or the router is not selecting this route.
try: oc adm router -h
* route/nodejs-example is routing traffic to svc/nodejs-example, but either the administrator has not installed a router or the router is not selecting this route.
try: oc adm router -h
Warnings:
* rc/hello-world-controller has no liveness probe to verify pods are still running.
try: oc set probe rc/hello-world-controller --liveness ...
* pod/hello-openshift has no liveness probe to verify pods are still running.
try: oc set probe pod/hello-openshift --liveness ...
* bc/nodejs-example builds from istag/nodejs:0.10, but the image stream tag does not exist.
try: istag/nodejs:0.10 needs to be imported.
* The image trigger for dc/nodejs-example will have no effect until istag/nodejs-example:latest is imported or created by a build.
* route/hello-world-service-1 is supposed to route traffic to svc/hello-world-service-1 but svc/hello-world-service-1 doesn't exist.
* istag/nodejs-example:latest needs to be imported or created by a build.
try: oc start-build nodejs-example
View details with 'oc describe <resource>/<name>' or list everything with 'oc get all'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment