Bug 1935792 - Destroying cluster after a failed baremetal install leaves bootstrap vm running
Summary: Destroying cluster after a failed baremetal install leaves bootstrap vm running
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Cluster Lifecycle
Version: rhacm-2.1.z
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: rhacm-2.3
Assignee: James Talton
QA Contact: Derek Ho
Christopher Dawson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-05 15:09 UTC by Lars Kellogg-Stedman
Modified: 2021-10-06 20:41 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-12 16:41:22 UTC
Target Upstream Version:
Embargoed:
juhsu: rhacm-2.3.z+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github open-cluster-management backlog issues 10171 0 None None None 2021-03-08 14:34:54 UTC

Description Lars Kellogg-Stedman 2021-03-05 15:09:26 UTC
Description of problem:

After a failed baremetal install, the operator must destroy the cluster in order to retry the install. Unfortunately, destroying the cluster in ACM leaves the bootstrap vm running on the baremetal provisioning host.

E.g., after destroying the "crc" cluster in our ACM 2.1.4 deployment, on the provisioning host I see:

  [root@neu-15-29 ~]# virsh list
   Id   Name                  State
  -------------------------------------
   2    crc-mh2lk-bootstrap   running

This will cause problems in subsequent installs because the bootstrap
vm is configured with the API VIP for the cluster, so having an old
bootstrap vm lying around will prevent a new bootstrap vm from being
configured correctly.


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

ACM 2.1.4

Comment 1 Nathan Weatherly 2021-03-08 14:10:37 UTC
Hey Lars!

To be clear, you're not talking about ACM's Hub cluster. You're talking about a baremetal cluster that you wanted to manage. Is that correct?

Thanks!

Nathan

Comment 2 Nathan Weatherly 2021-03-09 13:00:18 UTC
This is concerning the installation of a Bare Metal cluster, not ACM's Hub; reassigning to Cluster Lifecycle for triage.

Comment 3 Mike Ng 2021-06-16 21:37:23 UTC
G2Bsync 862667538 comment 
 chrisahl Wed, 16 Jun 2021 19:50:51 UTC 
 G2Bsync
This will be fixed in 2.3.0


Note You need to log in before you can comment on or make changes to this bug.