-
Notifications
You must be signed in to change notification settings - Fork 33
OCPBUGS-56664: Support DataDisks on Azure Stack Hub #164
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
Conversation
|
@RadekManak: This pull request references Jira Issue OCPBUGS-56664, 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 openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, a couple of thoughts
100fd93 to
9813a8e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Looks reasonable to me
/approve
|
/assign @mdbooth |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: damdo 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 |
Because ASH does not support DeleteOption API field for dataDisks we need to implement the deletion behavior by deleting the disks that have DiskDeletionPolicyTypeDelete when machine is deleted.
9813a8e to
46b9149
Compare
|
/retest |
|
/jira refresh |
|
@RadekManak: This pull request references Jira Issue OCPBUGS-56664, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
|
@RadekManak: This pull request references Jira Issue OCPBUGS-56664, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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 openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@RadekManak: The following test 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-sigs/prow repository. I understand the commands that are listed here. |
|
/verified by @sunzhaohua2 For DeletionPolicy == Detach , if we delete machine, the data disk will not be deleted And for azure, same behavior |
|
@sunzhaohua2: This PR has been marked as verified by 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. |
|
/hold cancel |
|
@RadekManak: Jira Issue OCPBUGS-56664: Some pull requests linked via external trackers have merged: The following pull request, linked via external tracker, has not merged:
All associated pull requests must be merged or unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with Jira Issue OCPBUGS-56664 has not been moved to the MODIFIED state. This PR is marked as verified. If the remaining PRs listed above are marked as verified before merging, the issue will automatically be moved to VERIFIED after all of the changes from the PRs are available in an accepted nightly payload. 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. |
|
/cherry-pick release-4.20 release-4.19 release-4.18 release-4.17 |
|
@RadekManak: new pull request created: #165 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-sigs/prow repository. |
This PR replaces PR #156.
More internal context on this change available here: https://redhat-internal.slack.com/archives/GE2HQ9QP4/p1760537328624939
AI Summary
This PR adds support for DataDisks on Azure Stack Hub. It implements extra logic for data disk deletion on Azure Stack Hub when VMs are deleted.
Key Changes:
DeletionPolicy=Deleteare now manually deleted during VM deletion, since the Stack Hub VM API doesn't support theDeleteOptionparameterNewFakeMachineScopehelper to enable testing with different Azure cloud environments (Public Cloud vs Stack Hub)TestStackHubDataDiskDeletionto verify data disk deletion behavior across multiple scenarios (single/multiple disks, Delete/Detach policies, Stack Hub vs Public Cloud)Behavior:
DeletionPolicy=Deleteare now explicitly deleted after VM deletionDeletionPolicy=Detachare not deleted (as expected)