Bug 2079015

Summary: Uninstall pod crashed when destroying Azure Gov cluster in ACM
Product: Red Hat Advanced Cluster Management for Kubernetes Reporter: Kevin Cormier <kcormier>
Component: ConsoleAssignee: Randy Bruno-Piverger <rbrunopi>
Status: CLOSED ERRATA QA Contact: Hui Chen <huichen>
Severity: high Docs Contact: Christopher Dawson <cdawson>
Priority: unspecified    
Version: rhacm-2.5CC: cdawson, daliu, dho, dhuynh, ecai, huichen, jqiu, thnguyen, yuhe
Target Milestone: ---Flags: kcormier: rhacm-2.5+
Target Release: rhacm-2.5   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2073562 Environment:
Last Closed: 2022-06-09 02:11:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kevin Cormier 2022-04-26 17:32:45 UTC
+++ This bug was initially created as a clone of Bug #2073562 +++

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:

--- Additional comment from  on 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.

--- Additional comment from Eric Fried on 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

--- Additional comment from  on 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 2 dhuynh 2022-05-26 22:30:00 UTC
Was pending Azure-Gov access. Validated on v2.5.0-RC5, provisioned and deprovisioned successfully via ACM.

Comment 5 errata-xmlrpc 2022-06-09 02:11:44 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 (Important: Red Hat Advanced Cluster Management 2.5 security updates, images, 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:4956