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

Bug 1968372

Summary: [master] BMAC re-attaches installed node on ISO regeneration
Product: OpenShift Container Platform Reporter: Flavio Percoco <fpercoco>
Component: assisted-installerAssignee: Flavio Percoco <fpercoco>
assisted-installer sub component: assisted-service QA Contact: Yuri Obshansky <yobshans>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: medium    
Priority: medium CC: mfilanov
Version: 4.8Keywords: Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AI-Team-Platform KNI-EDGE-4.8 KNI-EDGE-JUKE-4.8
Fixed In Version: OCP-Metal-v1.0.22.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 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: 1968373    

Description Flavio Percoco 2021-06-07 08:33:35 UTC
Description of problem:

BMH resources are marked as detached once the deployment completes. Currently, BMAC takes care of re-attaching the BMH when an ISO is regenerated. This will cause a node re-deployment for every BMH associated to the InfraEnv that an image has been regenerated for, including installed nodes.

As far as assisted service is concerned, an installed spoke cluster is not part of the hub cluster anymore. Therefore, BMAC should respect this principle and skip reconcile for BMH nodes that have been detached.