-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
4.13, 4.14, 4.15
-
None
-
False
-
Description of problem:
When you execute the undo deployment(oc rollout undo deploy/<name>) won't works. The version doesn't rollback
Version-Release number of selected component (if applicable):
4.13, 4.14, 4.15
How reproducible:
Create an application builded using imagestreams.
Steps to Reproduce:
Follow the steps below to reproduce the error: mkdir lab cd lab ls -la oc new-project lab oc new-app httpd --name helloworld --binary echo "hello world" > index.html oc start-build helloworld --from-dir . --follow oc expose svc/helloworld oc get routes URL=$(oc get route helloworld -o jsonpath='{.spec.host}' ) curl $URL #show hello world echo "hello world (undo lab)" > index.html oc start-build helloworld --from-dir . --follow curl $URL #show hello world (undo lab) oc rollout undo deploy/helloworld curl $URL # must show hello world
Actual results:
The rollout undo is not working
Expected results:
The rollout to back the latest version
Additional info: