Git Product home page Git Product logo

strapi-demo's Issues

Unable to run deploy mongo playbook twice without deleting the stateful set

This is a known bug with processing Openshift templates,

fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc process -n \"va3azs-patricksimonian-ocp201-tst-dev\" -f \"../openshift/templates/mongo/stateful-set.yaml\" -p MEMORY_REQUEST=256Mi \\\n-p MEMORY_LIMIT=512Mi \\\n-p CPU_REQUEST=500m \\\n-p CPU_LIMIT=1 \\\n-p VOLUME_CAPACITY=512Mi \\\n-p SC_MONGO=netapp-file-standard \\\n-p MONGODB_SERVICE_NAME=mongo-ha \\\n-p MONGODB_SECRET_NAME=mongo-ha \\\n-p MONGODB_REPLICAS=3 \\\n-p MONGODB_IMAGE=docker-registry.default.svc:5000/openshift/mongodb \\\n-p MONGODB_IMAGE_TAG=3.6 \\\n-p SUFFIX=pr-6 \\\n-p PULL_REQUEST_NUMBER=6 |  oc apply -n \"va3azs-patricksimonian-ocp201-tst-dev\" -f -\n", "delta": "0:00:00.653894", "end": "2020-07-13 11:34:51.015339", "msg": "non-zero return code", "rc": 1, "start": "2020-07-13 11:34:50.361445", "stderr": "Error from server: unrecognized type: int32", "stderr_lines": ["Error from server: unrecognized type: int32"], "stdout": "service/mongo-ha-pr-6 unchanged\nservice/mongo-ha-pr-6-internal unchanged\nsecret/mongo-ha-pr-6 configured", "stdout_lines": ["service/mongo-ha-pr-6 unchanged", "service/mongo-ha-pr-6-internal unchanged", "secret/mongo-ha-pr-6 configured"]}

Deploy strapi playbook fails if you run it twice quickly on the first deploy

If the strapi deployment was just triggered. Running it again will cause the error:

fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc rollout latest strapi-pr-6 -n va3azs-patricksimonian-ocp201-tst-dev", "delta": "0:00:00.370958", "end": "2020-07-13 11:37:38.516262", "msg": "non-zero return code", "rc": 1, "start": "2020-07-13 11:37:38.145304", "stderr": "error: #1 is already in progress (Pending).", "stderr_lines": ["error: #1 is already in progress (Pending)."], "stdout": "", "stdout_lines": []}

because it attempts to cancel the first rollout

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.