Skip to content

Dev template fails #5

@HelenCousins

Description

@HelenCousins

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions