Bug 2086791 - Azure: Validate UltraSSD instances in multi-zone regions
Summary: Azure: Validate UltraSSD instances in multi-zone regions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.11
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.11.0
Assignee: Rafael Fonseca
QA Contact: Amogh Rameshappa Devapura
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-16 15:14 UTC by Rafael Fonseca
Modified: 2022-08-10 11:12 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:12:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 5937 0 None open Bug 2086791: Azure: validate ultrassd instance types in multi-zone regions 2022-05-26 18:53:36 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:12:37 UTC

Description Rafael Fonseca 2022-05-16 15:14:06 UTC
Version:

$ openshift-install version
openshift-install unreleased-master-6048-gbdab9b334f23f2ef1f277fced734f209d7840ae6
built from commit bdab9b334f23f2ef1f277fced734f209d7840ae6
release image registry.ci.openshift.org/origin/release:4.11
release architecture amd64

Platform: azure

Please specify:
* IPI (automated install with `openshift-install`. If you don't know, then it's IPI)

What happened?

The UltraSSD validation implemented in CORS-1991 [1] will only accept instances if they are in single-zone regions. Even then, the machine-api-provider-azure will create Availability Sets which is incompatible with UltraSSD. In order to correctly validate for ultrassds in multi-zone regions we need to check the zoneDetails in the location info. 

[1] https://issues.redhat.com/browse/CORS-1991
 

What did you expect to happen?

The Instance types are correctly validated based on whether ultrassd is available in a given region. We need to account for how to deal with the situation where ultrassd is not available in all of the zones in the region. Perhaps in those situations we require users to specify their zones in the install config.


How to reproduce it (as minimally and precisely as possible)?

* Enable ultraSSDCapability in a region with Availability Zones support:

cat > "${cluster_dir}"/install-config.yaml << EOF
apiVersion: v1
baseDomain: ${domain}.openshift.com
metadata:
  name: ${cluster_name}
platform:
  azure:
    baseDomainResourceGroupName: ${rg_name}
    cloudName: AzurePublicCloud
    region: centralus
controlPlane:
  platform:
    azure:
      type: Standard_D8s_v3
      ultraSSDCapability: Enabled

* Deploy the cluster

Anything else we need to know?

#Enter text here.

Comment 6 errata-xmlrpc 2022-08-10 11:12:25 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: 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


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