Skip to content

[wip] refactor: sdrs disk placement for multi-disk vms #2457

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tenthirtyam
Copy link
Collaborator

@tenthirtyam tenthirtyam commented Apr 30, 2025

Description

Warning

TESTING IS PENDING

  • Modifes expandVMPodConfigForPlacement to generate a single VmPodConfigForPlacement structure containing PodDiskLocator entries for all disks associated with the VM. This sends a cohesive placement request to Storage DRS.
  • Modifies applySDRS to collect all recommendation keys from the StoragePlacementResult and pass them to the ApplyStorageDrsRecommendation API call. This ensures all parts of the placement recommendation are executed.

Reference

Closes #2448

@tenthirtyam tenthirtyam added the refactor Refactor label Apr 30, 2025
@tenthirtyam tenthirtyam added this to the v2.13.0 milestone Apr 30, 2025
@tenthirtyam tenthirtyam self-assigned this Apr 30, 2025
@tenthirtyam tenthirtyam force-pushed the refactor/storagepod-disk-placement branch from fcc0b24 to 2bb0f56 Compare May 1, 2025 17:57
- Modifoes `expandVMPodConfigForPlacement` to generate a single `VmPodConfigForPlacement` structure containing `PodDiskLocator` entries for all disks associated with the VM. This sends a cohesive placement request to Storage DRS.
- Modifies `applySDRS` to collect all recommendation keys from the `StoragePlacementResult` and pass them to the `ApplyStorageDrsRecommendation` API call. This ensures all parts of the placement recommendation are executed.

Ref: #2448

Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
@tenthirtyam tenthirtyam force-pushed the refactor/storagepod-disk-placement branch from 2bb0f56 to 1a97e56 Compare May 1, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Refactor
Projects
None yet
1 participant