chapter6's People
Forkers
johnfosborneiii sferich888 tiangreen petermartin1 oaltankova vinoku mohan-raj nikolatsio angelusgj minishiftvg evinel sgolikov tonyli2018 injeti-manohar fanm decay tale-toul hanfried vinaykumarnc2019 aryulianto samzhang01 tdhbui sellihsen josema-antonchapter6's Issues
syntax error: extra , in json in chapter6/jenkins-s2i/jenkins-s2i-template.json
See
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
bad syntax in cicd example
If you have this in the file when trying to run the examples you get!
error: json: line 136: invalid character ',' looking for beginning of object key string
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.