Git Product home page Git Product logo

chapter6's People

Contributors

johnfosborneiii avatar sferich888 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chapter6's Issues

Template instantiations fails to deploy docker image

the template instantiation fails.
Chapter 6, thsi is the step after importing the template.
oc new-app --template="dev/dev-todo-app-flask-mongo-gogs"

....
....
http://todo-app-flask-mongo-dev.192.168.42.252.nip.io to pod port 8080-tcp (svc/todo-app-flask-mongo)
dc/todo-app-flask-mongo deploys istag/todo-app-flask-mongo:latest <-
bc/todo-app-flask-mongo source builds ${GIT_URI#master on openshift/python:3.5
not built yet
deployment #1 waiting on image or update

pod/install-gogs runs docker.io/openshiftdemos/oc

Unresolved Images

I'm working through Chapter 6 of OpenShift In Action. After I download the template and walk through the oc new-app scenario the gogs, mongodb, and postgresql-gogs pods start up but the todo-app-flask-mongo will not deploy stating "cannot trigger a deployment for todo-app-flask-mongo because it contains unresolved images. I'm new enough I'm not sure how to resolve this to continue on.

Dev template fails

oc new-app --template="dev/dev-todo-app-flask-mongo-gogs"

does not work:
The logs for po/install-gogs (in error state) end

/tmp/installgogs.sh: line 80: /tmp/data.json: Read-only file system
++ curl -o /dev/null -sL -w '%{http_code}' -H 'Content-Type: application/json' -u gogs:password -X POST http://192.168.3.223:3000/api/v1/repos/migrate -d @/tmp/data.json

  • RETURN=200
  • '[' 200 '!=' 201 ']'
  • echo 'ERROR: Failed to imported openshift-cicd-flask-mongo GitHub repo'
  • exit 255
    ERROR: Failed to imported openshift-cicd-flask-mongo GitHub repo

The template says to mount install-gogs rw, but it appears to be ro from this log?

I am an admin on our system, so I don't think it's a permissions issue, but I can't see where that volume is being provisioned. I feel like I must have missed a step, but I'm not at all sure what.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.