Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1969974

Summary: [master] Deleting agent from one namespace causes all agents with the same name to be deleted from all namespaces
Product: OpenShift Container Platform Reporter: Igal Tsoiref <itsoiref>
Component: assisted-installerAssignee: Rom Freiman <rfreiman>
assisted-installer sub component: Deployment Operator QA Contact: Omri Hochman <ohochman>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: high CC: aos-bugs
Version: 4.8Keywords: Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: KNI-EDGE-JUKE-4.8 AI-Team-Hive
Fixed In Version: OCP-Metal-v1.0.23.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1971293 (view as bug list) Environment:
Last Closed: 2022-08-28 08:45:59 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:
Bug Depends On:    
Bug Blocks: 1971293    

Description Igal Tsoiref 2021-06-09 14:56:58 UTC
Description of problem:
Deleting agent from one namespace causes all agents with the same name to be deleted from all namespaces

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


How reproducible:


Steps to Reproduce:
1. Create bmh/infraenv in one namespace
2. Wait for agent
3. recreate bmh/infraenv in another namespace
4. Wait for agent
5. Delete old agent

Actual results:
All agents with the same name will be deleted not matter in which namespace

Expected results:
One agent deleted and new one stays alive

Additional info:

Comment 1 Raz Regev 2021-06-22 12:48:29 UTC
merged in PR:
https://github.com/openshift/assisted-service/pull/2018