patricksimonian / strapi-demo

A demonstration of Strapi in Openshift with a HA mongo replica set
0 stars 0 forks source link

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

Open patricksimonian opened 4 years ago

patricksimonian commented 4 years ago

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

patricksimonian commented 4 years ago

but why

patricksimonian commented 4 years ago

asdfasdf

patricksimonian commented 4 years ago

yarg