Bug 2107134 - Region information is not available for Azure cloud in managedcluster CR
Summary: Region information is not available for Azure cloud in managedcluster CR
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Cluster Lifecycle
Version: rhacm-2.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: rhacm-2.5.2
Assignee: Le Yang
QA Contact: Hui Chen
Christopher Dawson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-14 12:20 UTC by Aswin Suryanarayanan
Modified: 2022-09-13 20:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-13 20:06:28 UTC
Target Upstream Version:
Embargoed:
bot-tracker-sync: rhacm-2.5.z+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github stolostron backlog issues 24289 0 None None None 2022-07-14 15:50:03 UTC
Red Hat Product Errata RHSA-2022:6507 0 None None None 2022-09-13 20:06:41 UTC

Description Aswin Suryanarayanan 2022-07-14 12:20:23 UTC
Description of the problem:

Region information is not available for Azure cloud in managedcluster CR

Release version: 2.6.0

Operator snapshot version:2.6.0-SNAPSHOT-2022-07-11-13-49-57

OCP version:4.11.0-0

Browser Info:

Steps to reproduce:
1.Deploy a Azure cluster
2.Add it as a spoke cluster in ACM
3.Check the platformStatus in  managedcluster

Actual results: region info is missing

    azure:
      cloudName: AzurePublicCloud
      networkResourceGroupName: asuryana1-wnwjk-rg
      resourceGroupName: asuryana1-wnwjk-rg
    type: Azure

Expected results:
region info is expected to be present like other clouds like AWS

  platformStatus:
    aws:
      region: us-east-1
    type: AWS

Additional info:

Comment 1 Hui Chen 2022-09-09 10:58:27 UTC
verified on 2.5.2.


```
  clusterClaims:
  - name: id.k8s.io
    value: hchen-az
  - name: kubeversion.open-cluster-management.io
    value: v1.21.11+31d53a1
  - name: platform.open-cluster-management.io
    value: Azure
  - name: product.open-cluster-management.io
    value: OpenShift
  - name: consoleurl.cluster.open-cluster-management.io
    value: https://console-openshift-console.apps.hchen-az.acm-dev06.azure.devcluster.openshift.com
  - name: controlplanetopology.openshift.io
    value: HighlyAvailable
  - name: id.openshift.io
    value: 4d7dd92b-1a9b-4ed5-b914-783fb1703997
  - name: infrastructure.openshift.io
    value: '{"infraName":"hchen-az-68mcz"}'
  - name: oauthredirecturis.openshift.io
    value: https://oauth-openshift.apps.hchen-az.acm-dev06.azure.devcluster.openshift.com/oauth/token/implicit
  - name: region.open-cluster-management.io
    value: southcentralus
  - name: version.openshift.io
    value: 4.8.48
```
we can see the clusterclaim now have region info.

Comment 6 errata-xmlrpc 2022-09-13 20:06:28 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 (Critical: Red Hat Advanced Cluster Management 2.5.2 security fixes 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:6507


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