Repository navigation
Replies: 2 comments · 8 replies
|
Did you modify any of the tutorial steps? And did the webserver show http requests during boot? |
All reactions
|
No, I did not modify any of the tutorial steps. And yes, the webserver show the http requests during boot. |
All reactions
It likely is relevant. Are you using Apple's operating system?
Hmm, interesting. Could you share / compare your output? Web server output: $ python3 -m http.server --directory .
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
127.0.0.1 - - [17/Sep/2025 08:50:09] "GET /meta-data HTTP/1.1" 200 -
127.0.0.1 - - [17/Sep/2025 08:50:09] "GET /user-data HTTP/1.1" 200 -
127.0.0.1 - - [17/Sep/2025 08:50:09] "GET /vendor-data HTTP/1.1" 200 -Serial console output:``` SeaBIOS (version 1.16.3-debian-1.16.3-2)iPXE (https://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+1EFCAF30+1EF0AF30 CA00 Booting from Hard Disk... Welcome to Ubuntu 24.04.3 LTS! [ 2.977565] systemd[1]: Hostname set to . [ OK ] Finished systemd-udev-trigger.service - Coldplug All udev Devices. Ubuntu 24.04.3 LTS ubuntu ttyS0 ubuntu
System information as of Wed Sep 17 14:50:46 UTC 2025 System load: 0.42 Expanded Security Maintenance for Applications is not enabled. 0 updates can be applied immediately. Enable ESM Apps to receive additional future security updates. The list of available updates is more than a week old. The programs included with the Ubuntu system are free software; Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by To run a command as administrator (user "root"), use "sudo ". ubuntu@ubuntu:~$ |
All reactions
|
Sure, here it is. In the Opens a new terminal (same CWD): Goes back to the first terminal: QEMU instance outputUsername and Password used: Check on the webserver: |
All reactions
|
@holmanb I noticed that your |
All reactions
Works fine with Alpine (nocloud, generic) images.QEMU call: Webserver log: Alpine login: |
All reactions
|
Unfortunately, I cannot reproduce the issue, it works fine on my end, and I don't see anything wrong in the logs. |
All reactions
|
Thanks for the test, @aciba90 . Do you have suggestions on how could I debug? I mean, let me know if you want/need any help... QEMU's docs say "If you can mount a copy of the virtual machine’s filesystem locally to inspect the logs, it should be possible to get clues about what went wrong." , but: (1) I don't really know how to "mount the vm's filesystem", (2) maybe there is another way of debugging/testing the cloud-init in it(?). |
All reactions
|
If the image is qcow2, you can use https://libguestfs.org/guestmount.1.html to mount it and share:
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm following the New User Tutorial with QEMU but the
#cloud-configexample doesn't seem to work. The problem I'm experience is:After boot is complete, I can't login with (default) user
ubuntuusing the set passwordpassword(as per section "Verify that cloud init ran successfully").QEMU instance starts without any issues (boot logs, inspected to my best effort, show no errors)
the webserver providing
user-datais running fine and answering the requests from launched QEMU instanceExtra info
I also tried using
plain_text_passwdinstead "password", as well as setting a new user "user" with its own "user123" password throughusersobject. But none of these worked.All reactions