Description of problem: When try to resume the paused DC, met error: Error from server: Operation cannot be fulfilled on deploymentconfigs "hello-openshift": the object has been modified; please apply your changes to the latest version and try again Version-Release number of selected component (if applicable): openshift version openshift v3.4.0.15+9c963ec kubernetes v1.4.0+776c994 etcd 3.1.0-alpha.1 How reproducible: always Steps to Reproduce: 1. Login OpenShift and create project; `oc new-app openshift/hello-openshift` 2. Create DC and pause it;could you list your commands? `oc rollout pause dc/hello-openshift` 3. Use command to resume the paused DC `oc rollout pause dc/hello-openshift` Actual results: 3. Met error: Error from server: Operation cannot be fulfilled on deploymentconfigs "hello-openshift": the object has been modified; please apply your changes to the latest version and try again Expected results: 3. Could resume the DC succeed. Additional info:
Should be fixed here: https://github.com/openshift/origin/pull/11658 Additionally there will be more work post-1.4 that will involve adding PATCH for pausing/resuming which should make this error go away completely.
Confirmed with latest ami, the issue has fixed: openshift version openshift v1.4.0-alpha.0+90d8c62-1000 kubernetes v1.4.0+776c994 etcd 3.1.0-rc.0 [root@zhouy 1101]# oc rollout pause dc/deployment-example deploymentconfig "deployment-example" paused [root@zhouy 1101]# oc rollout resume dc/deployment-example deploymentconfig "deployment-example" resumed
Confirmed with latest OCP , can't reproduce it. openshift version openshift v3.4.0.24+52fd77b kubernetes v1.4.0+776c994 etcd 3.1.0-rc.0
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0066