Bug 1449908
| Summary: | ReplicaSet is missing from Overview when deployment is deleted with cascade false | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | XiaochuanWang <xiaocwan> | ||||||
| Component: | Management Console | Assignee: | Samuel Padgett <spadgett> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | XiaochuanWang <xiaocwan> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 3.5.0 | CC: | aos-bugs, jforrest, jokerman, mmccomas, smunilla, spadgett, wmeng | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: |
When a deployment is deleted using the `--cascade=false` flag
oc delete deployment/my-deploymnet --cascade=false
the replica sets for that deployment are not deleted. Previously these replica sets were hidden on the web console overview. Now the orphaned replica sets will show up as standalone replica sets on the overview page.
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2017-08-10 05:23:08 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
XiaochuanWang
2017-05-11 06:53:07 UTC
I'm guessing it's just because we haven't switched yet to looking at ownerRef to decide if a replicaSet should be shown or rolled up. Unlike with a DC, when a Deployment is deleted the remaining RSes don't have the name of the deployment anymore. So the behavior will still be different, we will have to show all the orphaned RSes. We can't merge the fix for this until the oadm migrate story is complete for ownerRefs Opened a separate PR for only this bug since #1538 is blocked. The new PR is https://github.com/openshift/origin-web-console/pull/1553 Commit pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/f4abfc21bbb2fda30876b11abd6d60708dbac23b Bug 1449908 - Group replica sets by owner reference Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1449908 Use owner references to decide if a replica set is owned by a deployment. Change maps to use deployment UID instead of deployment name. This avoids problems when a deployment is deleted and another is created with the same name. Created attachment 1284910 [details]
rs displays on overview
Verified on
OpenShift Master: v3.6.94
Kubernetes Master: v1.6.1+5115d708d7
oc v3.6.94
Please refer to the screenshot "rs displays on overview"
QE assign it back 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/RHEA-2017:1716 |