You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(azure): set DiskControllerType in StorageProfile for RHEL AI VMs
- Add DiskControllerType field to ImageReference; rhelai sets it to "SCSI"
as a fallback when the gallery API is unavailable
- Wire ImageReference.DiskControllerType into StorageProfile in
virtual-machine.go via diskControllerTypePtr helper
- Add GetSharedImageDiskControllerTypes to read disk controller types from
gallery image definition features (not the version)
- Add FilterComputeSizesByDiskControllerType combining location and disk
controller type filtering in a single SKU enumeration; replaces the
previous two-pass approach in allocation.go
- resolveImageRef enriches DiskControllerType from gallery API only when
the image supports exactly one type (capability != requirement)
- Filter both spot and non-spot compute sizes; return a clear error if no
compatible sizes remain after filtering
Co-Authored-By: Claude <Sonnet 4.6> <noreply@anthropic.com>
Signed-off-by: Rishabh Kothari <rkothari@redhat.com>
0 commit comments