New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[release-4.11] OCPBUGS-4405: UPI: Azure: create HyperV2 rhcos image #6681
[release-4.11] OCPBUGS-4405: UPI: Azure: create HyperV2 rhcos image #6681
Conversation
Since HyperV support has been added to the installer, it now prefers the HyperV gen2 whenever the VM type selected supports it. This means that we need to upload both gen1 and gen2 RHCOS images to the storage account when doing UPI with MAO to avoid errors like: ``` 5h2m Warning FailedCreate machine/$cluster_id-worker-northeurope1-f6kc4 InvalidConfiguration: failed to reconcile machine "$cluster_id-worker-northeurope1-f6kc4": failed to create vm $cluster_id-worker-northeurope1-f6kc4: failure sending request for machine $cluster_id-worker-northeurope1-f6kc4: cannot create vm: compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=404 - Original Error: Code="NotFound" Message="The Image '/subscriptions/$sub_id/resourceGroups/$rgroup-rg/providers/Microsoft.Compute/images/$cluster_id-gen2' cannot be found in 'northeurope' region." ```
@r4f4: This pull request references Jira Issue OCPBUGS-4405, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@r4f4: No Bugzilla bug is referenced in the title of this pull request. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Overriding jira/valid-bug because the implementation in 4.12 was changed and doesn't suffer from this, nor would this specific code change be testable in 4.12. |
/cc @MayXuQQ |
/label backport-risk-assessed |
/test e2e-azure-upi |
/label cherry-pick-approved |
/retest-required |
/label qe-approved Running Command: az deployment group create --debug --name maxu-upi11_02_storage -g maxu-upi11-7tpsq-rg --template-file '/home/jenkins/ws/workspace/ocp-common/Flexy-install/flexy/private-templates/functionality-testing/aos-4_11/hosts/upi_on_azure-arm-templates/02_storage.json' --parameters vhdBlobURL='https://maxuupi11sa.blob.core.windows.net/maxu-upi11vhd/rhcos-411.86.202210041459-0-azure.x86_64.vhd' --parameters baseName='maxu-upi11-7tpsq' --parameters hyperVGeneration='V2' $ oc get nodes |
/test e2e-azure-upi |
@r4f4: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MayXuQQ, patrickdillon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/label bugzilla/valid-bug |
@r4f4: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-4405 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Since HyperV support has been added to the installer, it now prefers the HyperV gen2 whenever the VM type selected supports it. This means that we need to upload both gen1 and gen2 RHCOS images to the storage account when doing UPI with MAO to avoid errors like: