Skip to content

fix(rhel): azure not supporting gen2 with Rhel images#728

Merged
adrianriobo merged 2 commits intoredhat-developer:mainfrom
adrianriobo:azure-rhel
Feb 24, 2026
Merged

fix(rhel): azure not supporting gen2 with Rhel images#728
adrianriobo merged 2 commits intoredhat-developer:mainfrom
adrianriobo:azure-rhel

Conversation

@adrianriobo
Copy link
Collaborator

This commit set the right offering for rhel machines to use gen2

Copy link
Collaborator

@anjannath anjannath left a comment

Choose a reason for hiding this comment

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

Tested and it is working as expected

@anjannath
Copy link
Collaborator

unrelated to the PR, but we have too little usable disk space in the azure linux machines, for the rhel instances the whole disk is 200GB but the partitions donot fully utilise the available spaces:

[rhqp@mapt4471e941 snc]$ lsblk
NAME              MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sr0                11:0    1  630K  0 rom
nvme0n1           259:0    0  200G  0 disk
├─nvme0n1p1       259:1    0  500M  0 part /boot/efi
├─nvme0n1p2       259:2    0    1G  0 part /boot
├─nvme0n1p3       259:3    0    2M  0 part
└─nvme0n1p4       259:4    0 62.5G  0 part
  ├─rootvg-homelv 253:0    0    1G  0 lvm  /home
  ├─rootvg-rootlv 253:1    0    2G  0 lvm  /
  ├─rootvg-tmplv  253:2    0    2G  0 lvm  /tmp
  ├─rootvg-usrlv  253:3    0   10G  0 lvm  /usr
  └─rootvg-varlv  253:4    0   10G  0 lvm  /var

@adrianriobo adrianriobo force-pushed the azure-rhel branch 3 times, most recently from 53282f1 to 5b22f42 Compare February 23, 2026 16:48
This commit set the right offering for rhel machines to use gen2

Signed-off-by: Adrian Riobo <ariobolo@redhat.com>
@adrianriobo adrianriobo force-pushed the azure-rhel branch 5 times, most recently from d4077ad to 7f85c5f Compare February 24, 2026 11:07
Previously the instance kept the size for the image, now it is expanded within cloud-init to the actual space for the external disk.

Co-authored-by: ChatGPT <noreply@openai.com>
Signed-off-by: Adrian Riobo <ariobolo@redhat.com>
@XiyangDong
Copy link

Tested working on both provisioning Azure with rhel images and the disk space fix.

@adrianriobo adrianriobo merged commit 394b17e into redhat-developer:main Feb 24, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants