Bug 2085380
| Summary: | [IPI-Azure] Incorrect error prompt validate VM image and instance HyperV gen match when install cluster | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | MayXu <maxu> |
| Component: | Installer | Assignee: | Rafael Fonseca <rdossant> |
| Installer sub component: | openshift-installer | QA Contact: | MayXu <maxu> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | low | ||
| Priority: | low | CC: | anarayan, mifiedle, rdossant |
| Version: | 4.11 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.11.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| 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:11:36 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: | |||
|
Description
MayXu
2022-05-13 08:05:37 UTC
Can you show the compute node section of the install-config? This does not look like a Hyper-V generation error but a PremiumIO error. Compute nodes also need PremiumIO capability in the instance type selected along with the V2 version as our recommendations for the compute nodes include Premium disk capability so you need to pick another instance type with both the capabilities for testing. From the error message, it looks like you are picking "Standard_DC8s_v3" which I guess does not support PremiumIO capability for the region you selected. (In reply to Aditya Narayanaswamy from comment #1) > Can you show the compute node section of the install-config? This does not > look like a Hyper-V generation error but a PremiumIO error. Compute nodes > also need PremiumIO capability in the instance type selected along with the > V2 version as our recommendations for the compute nodes include Premium disk > capability so you need to pick another instance type with both the > capabilities for testing. From the error message, it looks like you are > picking "Standard_DC8s_v3" which I guess does not support PremiumIO > capability for the region you selected. This error is a result of commit https://github.com/openshift/installer/commit/baabb7daa3d8133a750a1f1fc04fb910c11d00df which changed the way the instance capabilities are checked. Before that, we were looping through the present capabilities and validating each one of them. So if some capability was not present, it was silently ignored during validation. With those changes, the capabilities are now accessed directly and validation fails if one of the capabilities is not found. apiVersion: v1
controlPlane:
architecture: amd64
hyperthreading: Enabled
name: master
platform:
azure:
type: Standard_DC8s_v3
osDisk:
diskSizeGB: 256
diskType: StandardSSD_LRS
replicas: 3
compute:
- architecture: amd64
hyperthreading: Enabled
name: worker
platform:
azure:
type: Standard_DC4s_v3
osDisk:
diskSizeGB: 256
diskType: Premium_LRS
vmNetworkingType: Basic
osImage:
publisher: redhat
offer: ocp-worker
sku: ocp-worker-c-gen1
version: 4.8.2021122100
replicas: 2
metadata:
name: maxu-hym1
platform:
azure:
region: eastus2
baseDomainResourceGroupName: os4-common
pullSecret: HIDDEN
networking:
clusterNetwork:
- cidr: 10.128.0.0/14
hostPrefix: 23
serviceNetwork:
- 172.30.0.0/16
machineNetwork:
- cidr: 10.0.0.0/16
networkType: OpenShiftSDN
publish: External
baseDomain: qe.azure.devcluster.openshift.com
verified on registry.ci.openshift.org/ocp/release:4.11.0-0.nightly-2022-06-05-215804 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 |