Bug 1838934
| Summary: | `oc new-app` will rollout twice when deployment created at the first time | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | zhou ying <yinzhou> |
| Component: | kube-controller-manager | Assignee: | Michal Fojtik <mfojtik> |
| Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.5 | CC: | aos-bugs, mfojtik |
| Target Milestone: | --- | ||
| Target Release: | 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-07-13 17:41:00 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: | |||
[root@dhcp-140-138 ~]# oc create deployment mydd --image=openshift/hello-openshift deployment.apps/mydd created [root@dhcp-140-138 ~]# oc get rs NAME DESIRED CURRENT READY AGE mydd-5c8d976bcd 1 1 1 14s [root@dhcp-140-138 ~]# oc rollout history deploy/mydd deployment.apps/mydd REVISION CHANGE-CAUSE 1 <none> [root@dhcp-140-138 ~]# oc get po NAME READY STATUS RESTARTS AGE mydd-5c8d976bcd-jr5jn 1/1 Running 0 46s [root@dhcp-140-138 ~]# oc version Client Version: 4.5.0-202005270117-384535d Server Version: 4.5.0-0.nightly-2020-05-26-224432 Kubernetes Version: v1.18.2+9835af5 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-2020:2409 |
Description of problem: `oc new-app` will rollout twice when deployment created at the first time Version-Release number of selected component (if applicable): [root@dhcp-140-138 ~]# oc version Client Version: 4.5.0-202005201357-24c1ae6 Server Version: 4.5.0-0.nightly-2020-05-21-135919 Kubernetes Version: v1.18.2 How reproducible: always Steps to Reproduce: 1) `oc new-app openshift/hello-openshift` 2) `oc status` Actual results: 2) Will show deployment has rollout tiwce. [root@dhcp-140-138 ~]# oc status svc/hello-openshift - 172.30.99.251 ports 8080, 8888 deployment/hello-openshift deploys istag/hello-openshift:latest deployment #2 running for 23 minutes - 1 pod deployment #1 deployed 23 minutes ago [root@dhcp-140-138 ~]# oc get rs NAME DESIRED CURRENT READY AGE hello-openshift-6bb694df8b 1 1 1 42s hello-openshift-857f8d6b7d 0 0 0 43s Expected results: 2. Only rollout one time. Additional info: