Skip to content

Conversation

@arturshadnik
Copy link
Member

@arturshadnik arturshadnik commented Aug 19, 2025

  • Adds a check to ensure that all addOn manifestWorks have been deleted before proceeding with a spoke unjoin.
  • Makes the handleAddonDisable() function idempotent by not returning an error if an addon was already disabled.
    This prevents a race condition where the addon is successfully disabled but all of its associated resources have not been cleaned up yet, causing the unjoin to fail.

Signed-off-by: Artur Shad Nik <arturshadnik@gmail.com>
Signed-off-by: Artur Shad Nik <arturshadnik@gmail.com>
@arturshadnik arturshadnik changed the title fix: poll until addon manifestworks have been cleaned up fix: WIP poll until addon manifestworks have been cleaned up Aug 19, 2025
Signed-off-by: Artur Shad Nik <arturshadnik@gmail.com>
@arturshadnik arturshadnik changed the title fix: WIP poll until addon manifestworks have been cleaned up fix poll until addon manifestworks have been cleaned up Aug 19, 2025
@ahmad-ibra
Copy link
Member

/lgtm

@xuezhaojun
Copy link
Member

/approve

@openshift-ci
Copy link

openshift-ci bot commented Aug 20, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: arturshadnik, xuezhaojun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 3e6de26 into open-cluster-management-io:main Aug 20, 2025
7 checks passed
@arturshadnik arturshadnik deleted the fix/deregister branch August 20, 2025 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants