Bug 2073562

Summary: Uninstall pod crashed when destroying Azure Gov cluster in ACM
Product: Red Hat Advanced Cluster Management for Kubernetes Reporter: Thuy Nguyen <thnguyen>
Component: Cluster LifecycleAssignee: Randy Bruno-Piverger <rbrunopi>
Status: CLOSED ERRATA QA Contact: Napoco Agbetra <nagbetra>
Severity: high Docs Contact: Christopher Dawson <cdawson>
Priority: unspecified    
Version: rhacm-2.5CC: daliu, dhuynh, kcormier, nagbetra, yuhe
Target Milestone: ---Flags: kcormier: rhacm-2.4.z+
kcormier: rhacm-2.5-
Target Release: rhacm-2.4.5   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2079015 (view as bug list) Environment:
Last Closed: 2022-06-27 17:04:01 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:
Attachments:
Description Flags
uninstall pod log none

Description Thuy Nguyen 2022-04-08 20:06:01 UTC
Created attachment 1871514 [details]
uninstall pod log

Description of the problem: Pod crashed when destroying Azure Gov cluster in ACM

Release version:

Operator snapshot version:

OCP version:

Browser Info:

Steps to reproduce:
1. Create Azure Gov cluster successfully
2. Destroy the cluster created in step 1

Actual results:
Uninstall pod crashed

Expected results:

Additional info:

Comment 1 daliu 2022-04-11 01:28:52 UTC
@efried Could you help to take a look?
This is the latest ocm-2.5 image for hive.

Comment 2 Eric Fried 2022-04-11 16:36:09 UTC
Did the uninstall pod crash, or did it fail? The log makes it seem like the latter.

"AADSTS900382: Confidential Client is not supported in Cross Cloud request."

Is it possible your ClusterDeployment needs to specify an appropriate Spec.Platform.Azure.CloudName[1]?

[1] https://github.com/openshift/hive/commit/4d813057d712b43ebefaaae1622fbddf0d89adad

Comment 3 daliu 2022-04-12 03:18:48 UTC
@thnguyen 
Please help to check the config follow https://bugzilla.redhat.com/show_bug.cgi?id=2073562#c2
And it's better to provide the clusterdeployment and install-config detail here.
Thank you

Comment 4 bot-tracker-sync 2022-05-05 17:34:06 UTC
G2Bsync 1118677136 comment 
 KevinFCormier Thu, 05 May 2022 15:12:08 UTC 
 G2Bsync Fix delivered May 5 for 2.4.5

Comment 5 dhuynh 2022-06-06 22:40:00 UTC
Verified on v2.4.5-FC0. Successfully deprovisioned az-gov cluster.

Comment 11 errata-xmlrpc 2022-06-27 17:04:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Advanced Cluster Management 2.4.5 security updates and bug fixes), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5201