Skip to content
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

NO-JIRA: Fix docs commands related to Azure ephemeral OS disks #3809

Merged

Conversation

fxierh
Copy link
Contributor

@fxierh fxierh commented Mar 27, 2024

Encountered this error when following commands in the docs (was testing HOSTEDCP-1373):
"OS disk of Ephemeral VM with size greater than 86 GB is not allowed for VM size Standard_DS2_v2 when the DiffDiskPlacement is CacheDisk. Please refer to https://aka.ms/Ephemeral for more details."

Some YAMLs:
AzureMachine.txt
np.txt

Root case:
A Standard_DS2_v2 VM allows for 86GB of temp storage but OS disk size defaults to 120GB.
See https://learn.microsoft.com/en-us/azure/virtual-machines/dv2-dsv2-series#dsv2-series.

@openshift-ci openshift-ci bot added do-not-merge/needs-area do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Mar 27, 2024
@openshift-ci openshift-ci bot requested review from csrwng and enxebre March 27, 2024 10:01
@openshift-ci openshift-ci bot added area/documentation Indicates the PR includes changes for documentation and removed do-not-merge/needs-area labels Mar 27, 2024
Copy link

netlify bot commented Mar 27, 2024

Deploy Preview for hypershift-docs ready!

Name Link
🔨 Latest commit 620c094
🔍 Latest deploy log https://app.netlify.com/sites/hypershift-docs/deploys/66058b8705cf2700081f9bf7
😎 Deploy Preview https://deploy-preview-3809--hypershift-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@fxierh fxierh changed the title Fix docs commands related to Azure ephemeral OS disks NO-JIRA: Fix docs commands related to Azure ephemeral OS disks Mar 27, 2024
@openshift-ci-robot
Copy link

@fxierh: This pull request explicitly references no jira issue.

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 27, 2024
@fxierh
Copy link
Contributor Author

fxierh commented Mar 27, 2024

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 27, 2024
@fxierh
Copy link
Contributor Author

fxierh commented Mar 27, 2024

/cc @bryan-cox @Patryk-Stefanski

Could you please take a look ? Thanks.

@bryan-cox
Copy link
Member

/retest

@fxierh
Copy link
Contributor Author

fxierh commented Mar 27, 2024

Konflux failed but the failure (which seems to be caused by a Go version that's too low) is kinda unrelated to this PR. Wondering if we could override it.

@Patryk-Stefanski
Copy link
Contributor

Yeah I see it failing with note: module requires Go 1.21 we saw this earlier today. Im happy to overide this after we have a rhtap build that we can use for HO release, wdyt @bryan-cox ?

@bryan-cox
Copy link
Member

Yeah let's wait until we know RHTAP is working again. They may want to use this PR as an example of what's broke.

@fxierh
Copy link
Contributor Author

fxierh commented Mar 28, 2024

Rebased.

@fxierh
Copy link
Contributor Author

fxierh commented Mar 28, 2024

Konflux passed. This one is ready for review now.

@@ -111,7 +111,7 @@ To enable the ephemeral OS disk option on the Azure VMs in your HostedCluster, s
You may need to adjust the disk storage account type; to adjust the disk storage account type,
use the `disk-storage-account-type` flag as shown in the example below.

You may need to adjust the disk size depending on the instance type used; to adjust the disk size, use the
The OS disk size defaults to 120GB. You may need to adjust the disk size depending on the instance type used; to adjust the disk size, use the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not true. It defaults to 30Gb.

// +kubebuilder:default:=30

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The required disk size is based on the instance type you use. Maybe you could rewrite this to say The default size disk size of the instance type, Standard_DS4_v2, is 120GB. You should update the examples to show the updated disk size flag setting this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted this phrase to its original state.

Signed-off-by: Feilian Xie <fxie@redhat.com>
Copy link
Contributor

openshift-ci bot commented Mar 28, 2024

@fxierh: all tests passed!

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.

@bryan-cox
Copy link
Member

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 28, 2024
Copy link
Contributor

openshift-ci bot commented Mar 28, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bryan-cox, fxierh

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 28, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit d140126 into openshift:main Mar 28, 2024
8 checks passed
@openshift-bot
Copy link

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-hypershift-container-v4.16.0-202403281444.p0.gd140126.assembly.stream.el9 for distgit hypershift.
All builds following this will include this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/documentation Indicates the PR includes changes for documentation jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants