Bug 2096691
Summary: | [Alibaba 4.11] Specifying ResourceGroup id in install-config.yaml, New pv are still getting created to default ResourceGroups | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Rohit Patil <ropatil> |
Component: | Storage | Assignee: | Jan Safranek <jsafrane> |
Storage sub component: | Storage | QA Contact: | Rohit Patil <ropatil> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | bihu, jiewu, jsafrane, ropatil, yqu |
Version: | 4.11 | ||
Target Milestone: | --- | ||
Target Release: | 4.11.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-08-10 11:17:47 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: |
Comment 3
Jan Safranek
2022-06-14 11:23:48 UTC
It works if we adding sc.parameters.resourceGroupId in the storageclass. Here I'm not sure if our operator should do this (adding resourceGroupId in preset sc) or CSI Driver should default create volume in the same resource group with cluster. ... and the resource group is part of infrastructure.status: apiVersion: config.openshift.io/v1 kind: Infrastructure metadata: name: cluster spec: cloudConfig: key: config name: cloud-provider-config platformSpec: type: AlibabaCloud status: [...] platform: AlibabaCloud platformStatus: alibabaCloud: region: us-east-1 resourceGroupID: rg-acfnxrgr6qtm3mq type: AlibabaCloud > Here I'm not sure if our operator should do this (adding resourceGroupId in preset sc) or CSI Driver should default create volume
> in the same resource group with cluster.
I think the operator should set the resource group in the default StorageClass, to have all cluster resources together.
> Here the "resourceGroupID" should be "resourceGroupId" inside default sc.
Good catch! I should not have tested in the default resource group!
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: OpenShift Container Platform 4.11.0 bug fix and security update), 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:5069 |