This is a tracking bug for Change: Fedora Images on Azure For more details, see: https://fedoraproject.org/wiki/Changes/Fedora_Images_On_Azure Azure is a massive public cloud and offering an official Fedora Cloud image there would expand Fedora's user base. It also gives Fedora Cloud users more options when selecting public clouds. If you encounter a bug related to this Change, please do not comment here. Instead create a new bug and set it to block this bug.
Images are rolling out now: https://koji.fedoraproject.org/koji/buildinfo?buildID=2201154 However, they are dynamic VHDs and not fixed VHDs. I used these commands to fix the image and upload it: qemu-img convert -f vpc -O raw Fedora-Cloud-Base-Azure-Rawhide-20230516.n.0.x86_64.vhd Fedora-Cloud-Base-Azure-Rawhide-20230516.n.0.x86_64.raw qemu-img convert -f raw -O vpc -o subformat=fixed,force_size Fedora-Cloud-Base-Azure-Rawhide-20230516.n.0.x86_64.raw Fedora-Cloud-Base-Azure-Rawhide-20230516-fixed.n.0.x86_64.vhd However, there's a new error about the size: The VHD for disk 'Fedora-Cloud-Base-Azure-Rawhide-20230516-fixed.n.0.x86_64.vhd' with blob Fedora-Cloud-Base-Azure-Rawhide-20230516-fixed.n.0.x86_64.vhd has an unsupported virtual size of 5120.2265625 MB. The size must be a whole number in (MBs)."
Ah here's the right path from Azure's docs: https://learn.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-generic#resizing-vhds
Opened an upstream issue with imagefactory to figure out how we can get the code updated: https://github.com/redhat-imaging/imagefactory/issues/453 The existing HyperV code seems to do about 1/3 of what we need. I'm not sure if we need a new piece of code for Azure or if we can add to what's already there for HyperV.