Bug 1971293
| Summary: | [4.8.0] Deleting agent from one namespace causes all agents with the same name to be deleted from all namespaces | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Michael Filanov <mfilanov> |
| Component: | assisted-installer | Assignee: | Rom Freiman <rfreiman> |
| assisted-installer sub component: | Deployment Operator | QA Contact: | Chad Crum <ccrum> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | alazar, aos-bugs, ccrum, itsoiref |
| Version: | 4.8 | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | KNI-EDGE-JUKE-4.8 AI-Team-Hive | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1969974 | Environment: | |
| Last Closed: | 2021-07-27 23:12:53 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1969974 | ||
| Bug Blocks: | |||
|
Description
Michael Filanov
2021-06-13 12:09:37 UTC
Once https://bugzilla.redhat.com/show_bug.cgi?id=1968043 is in we can get the host by both id and namepsace and it will resolve this issue. this is probably the problematic line https://github.com/openshift/assisted-service/blob/master/internal/controller/controllers/agent_controller.go#L215 Validated bug is fixed in OCM DS snapshot 2.3.0-DOWNSTREAM-2021-07-06-05-34-53 Validation steps: - Create cluster sno-test-vm in ns sno-test-vm - wait for agent to be created - Create cluster sno-test-vm in ns sno-test-vm-2, using the same CR values + names (aci / cd / infraenv / bmh) - Wait for sno-test-vm in sno-test-vm-2 to have agent created - Delete agent in sno-test-vm ns - Confirm agent in sno-test-vm-2 ns still exists 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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/RHSA-2021:2438 |