Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev template fails #5

Open
HelenCousins opened this issue Sep 5, 2018 · 3 comments
Open

Dev template fails #5

HelenCousins opened this issue Sep 5, 2018 · 3 comments

Comments

@HelenCousins
Copy link

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.

@lz006
Copy link

lz006 commented Oct 30, 2018

same issue here

@s-vincent
Copy link

Hi,

With recent version of OpenShift, the template no longer works as is. See https://forums.manning.com/posts/list/43288.page.

In attachment you have full json template with modification based on comment from Manning forum.
dev-todo-app-flask-mongo-gogs.json.txt

@maslick
Copy link

maslick commented Feb 12, 2019

@s-vincent thanks for the working json :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants