[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Errors: container "x" in pod/x-1-8vhpi is crash-looping



I'm on Origin 1.1.3
I've pulled an image from a private registry (insecure: self-signed certs + basic authentication).

docker pull ec2-xxx:5000/image:2.3

The image is on my node. I create a project where a will run an instance of this image:
$ oc new-project image
$ oc new-app --insecure-registry ec2-xxx:5000/image:2.3

W0225 09:55:55.322035    6777 pipeline.go:154] Could not find an image stream match for "ec2xxx:5000/image:2.3". Make sure that a Docker image with that tag is available on the node for the deployment to succeed.

--> Found Docker image 51e260c (20 hours old) from ec2-xxx:5000 for "ec2-xxx:5000/image:2.3"

 

    * This image will be deployed in deployment config "image"

    * Port 8080/tcp will be load balanced by service "image"

      * Other containers can access this service through the hostname "image"

    * WARNING: Image "image" runs as the 'root' user which may not be permitted by your cluster administrator

 

--> Creating resources with label app=image ...

    deploymentconfig "image" created

    service "image" created

--> Success

    Run 'oc status' to view your app.


oc status shows me:
Errors:
  * container "image" in pod/image-1-3J24 is crash-looping

Is it because there is no image-stream for this image at the moment? I've did already the same steps with another image from the same registry and it did not went in a loop.

The logs of the container show:
$ docker logs 457deef27b1
Feb 25, 2016 9:57:27 AM org.apache.catalina.startup.
Catalina load
WARNING: Unable to load server configuration from [/usr/local/tomcat/conf/server.xml]
Feb 25, 2016 9:57:27 AM org.apache.catalina.startup.Catalina load
WARNING: Permissions incorrect, read permission is not allowed on the file.
Feb 25, 2016 9:57:27 AM org.apache.catalina.startup.Catalina load
WARNING: Unable to load server configuration from [/usr/local/tomcat/conf/server.xml]
Feb 25, 2016 9:57:27 AM org.apache.catalina.startup.Catalina load
WARNING: Permissions incorrect, read permission is not allowed on the file.
Feb 25, 2016 9:57:27 AM org.apache.catalina.startup.Catalina start
SEVERE: Cannot start server. Server instance is not configured.


But when I just perform an 'docker run ec2-xxx:image:2.3' the container is running fine. So it's no issue with the container.
25-Feb-2016 10:16:44.047 INFO [localhost-startStop-1] xxx has finished in 41 ms
25-Feb-2016 10:16:44.056 INFO [main] xxx
25-Feb-2016 10:16:44.062 INFO [main] xxx
25-Feb-2016 10:16:44.064 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 13824 ms


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]