Bug 1454631

Summary: [3.5]'oc rollout pause' operation will erase 'Running' pods
Product: OpenShift Container Platform Reporter: ge liu <geliu>
Component: openshift-controller-managerAssignee: Michal Fojtik <mfojtik>
Status: CLOSED ERRATA QA Contact: zhou ying <yinzhou>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: aos-bugs
Target Milestone: ---   
Target Release: 3.5.z   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-20 06:21:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ge liu 2017-05-23 08:30:44 UTC
Description of problem:

This bug is copy from bug: https://bugzilla.redhat.com/show_bug.cgi?id=1441984, this issue have been fixed in 3.6, but still exists in 3.5.

Version-Release number of selected component (if applicable):

openshift v3.5.5.18
kubernetes v1.5.2+43a9be4


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 ge liu 2017-06-13 02:32:29 UTC
There is not puddle in but errata content link, we will verify it after the puddle is ready.

Comment 6 ge liu 2017-06-15 02:22:09 UTC
Verified in ocp 3.5 env.

openshift v3.5.5.26
kubernetes v1.5.2+43a9be4
etcd 3.1.0

# oc create -f hello.yaml 
deployment "hello-openshift" created
[root@ip-172-18-5-181 tmp]# oc get rs
NAME                         DESIRED   CURRENT   READY     AGE
hello-openshift-2049296760   1         1         1         36s
hello-openshift-2758264543   2         2         0         9s
[root@ip-172-18-5-181 tmp]# oc get pods
NAME                               READY     STATUS         RESTARTS   AGE
hello-openshift-2049296760-l7z65   1/1       Running        0          39s
hello-openshift-2758264543-jv70t   0/1       ErrImagePull   0          11s
hello-openshift-2758264543-l0c73   0/1       ErrImagePull   0          12s
[root@ip-172-18-5-181 tmp]# oc rollout pause deployment/hello-openshift
deployment "hello-openshift" paused
[root@ip-172-18-5-181 tmp]# oc get pods
NAME                               READY     STATUS             RESTARTS   AGE
hello-openshift-2049296760-l7z65   1/1       Running            0          54s
hello-openshift-2758264543-jv70t   0/1       ImagePullBackOff   0          26s
hello-openshift-2758264543-l0c73   0/1       ImagePullBackOff   0          27s
[root@ip-172-18-5-181 tmp]#  oc rollout resume deployment/hello-openshift
deployment "hello-openshift" resumed
[root@ip-172-18-5-181 tmp]# oc get pods
NAME                               READY     STATUS             RESTARTS   AGE
hello-openshift-2049296760-l7z65   1/1       Running            0          1m
hello-openshift-2758264543-jv70t   0/1       ImagePullBackOff   0          47s
hello-openshift-2758264543-l0c73   0/1       ImagePullBackOff   0          48s

Comment 8 errata-xmlrpc 2017-06-20 06:21:47 UTC
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:1492