Hi. Thank you for the suggestion, I'll try that out soon. For now I did the workaround I specified in initial letter.
Lugupidamisega / Best regards, Joann Mõndresku Süsteemiadministraator | Systems Administrator | [email protected] WaveCom AS | ISO 9001, 27001 & 27017 Certified DC and Cloud services Endla 16, Tallinn 10142 | www.wavecom.ee | www.facebook.com/wavecom.ee ----- Original Message ----- From: "Wei ZHOU" <[email protected]> To: "users" <[email protected]> Sent: Monday, September 29, 2025 12:22:47 PM Subject: Re: Ubuntu 24.04 cloud-init race-condition on Xen Hi, You can convert the cloud images to vhd format and use them on xen , for example qemu-img convert -f qcow2 -O vpc ubuntu-24.04-minimal-cloudimg-amd64.qcow2 ubuntu-24.04-minimal-cloudimg-amd64.vhd -Wei On Mon, Sep 29, 2025 at 11:12 AM Joann Mõndresku <[email protected]> wrote: > Hello. > > We seem to have a really weird race condition with Ubuntu 24.04 and Xen > (XCP-ng 8.3). > systemd-networkd starts, gets a DHCP link, cloud-init starts, successfully > sees network info, cloud-init sends a network reconfigure which reloads > systemd-networkd. > Doing that errors out the next stage of cloud-init which also subsequently > skips setting the machine hostname, root password and other customizations. > > One workaround I could think of is leaving a base network config for DHCP > in place and making cloud-init not touch network config at all. I haven't > needed to do that for other OSes so far. > > Has anyone else encountered this issue? > Xen can't use official cloud images from Ubuntu as far as I am aware as > they are made for KVM or hyperscalers - if I am wrong about that, I'd be > glad to be proven wrong of course. > > > > Lugupidamisega / Best regards, > > Joann Mõndresku > > > > Süsteemiadministraator | Systems Administrator | [email protected] > > WaveCom AS | ISO 9001, 27001 & 27017 Certified DC and Cloud services > Endla 16, Tallinn 10142 | www.wavecom.ee | www.facebook.com/wavecom.ee >
