Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-27859

Deleting BMH with foreground deletion causes deadlock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • ACM 2.16.0, ACM 2.13.5, ACM 2.12.6, ACM 2.15.1, ACM 2.14.5
    • None
    • Incidents & Support
    • False
    • Hide

      None

      Show
      None
    • False
    • Moderate
    • None

      Description of problem:

      Foreground deletion relies on deleting children before their owners.

      Recently assisted-service introduced a PreprovisioningImage finalizer https://issues.redhat.com/browse/ACM-25980

      Deleting BMH with foreground deletion causes a deadlock:

      The PreprovisioningImage finalizer waits for the BMH to be deleted before getting removed.

      However, the BMH with foreground deletion, waits for the PreprovisioningImage that it owns to be removed before getting deleted. 

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

      ACM 2.16 to ACM 2.12

      How reproducible:

      100%

      Steps to Reproduce:

      1. Create BMH w/ metadata cleaning enabled
      2. Delete BMH

      Actual results:

      BMH and preprovisioningimage are stuck deleting

      Expected results:

      BMH and preprovisioningimage get deleted

      Additional info:

      Analysis in slack thread

      https://redhat-internal.slack.com/archives/C012L9Y9C79/p1766155991963639?thread_ts=1763406140.517129&cid=C012L9Y9C79

              cchun@redhat.com Crystal Chun
              cchun@redhat.com Crystal Chun
              Federico Ferrando, Nick Carboni, Sharat Akhoury
              Vladislav Kolodny Vladislav Kolodny
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: