Bugzilla – Bug 1218129
Tumbleweed cloud image not pingable and no SSH access on DigitalOcean
Last modified: 2023-12-21 17:12:54 UTC
Hi there, I need to create some Tumbleweed VMs on DigitalOcean, which needs cloud-init for assigning the public IP and gateway. From https://download.opensuse.org/tumbleweed/appliances/ I tried `openSUSE-Tumbleweed-Minimal-VM.x86_64-Cloud.qcow2`, but it doesn't work with `cloud-init`, the VM isn't pingable and requires me to login over the VPS console and manually configure the network. The `openSUSE-MicroOS.x86_64-OpenStack-Cloud.qcow2` image does work as I expect, but I'd prefer to not use MicroOS. It looks like the problem is shown in the console screenshots I'm attaching, but I'm not sure because I don't really understand how cloud-init works.
Created attachment 871402 [details] error?
Created attachment 871403 [details] screenshot 2
Created attachment 871404 [details] screenshot 3
The image is missing the "systemd-network" user and/or group. While cloud-init should not generate a traceback that the user is not there has nothing to do with cloud-init. # grep systemd /etc/passwd # grep systemd /etc/group should both return entries and one line in each output should have systemd-network
Thanks, so I guess the title of this bug was wrong. However, this bug was improperly marked as "Invalid", as the Tumbleweed cloud image is unusable on DigitalOcean (VM not pingable and no SSH access to the VM and need to boot a rescue image to reset the root password and then login over the VNC console to manually configure the network). This problem does not exist in the MicroOS or Leap images on the same infrastructure.
It shouldn't be using systemd-networkd in the first place. I see that cloud-init finally (!) no longer hard requires wicked, so it could be switched to NetworkManager. Please try https://download.opensuse.org/repositories/home:/favogt:/branches:/Virtualization:/Appliances:/Images:/openSUSE-Tumbleweed/openSUSE_Tumbleweed/openSUSE-Tumbleweed-Minimal-VM.x86_64-Cloud.qcow2.
(In reply to Fabian Vogt from comment #6) > It shouldn't be using systemd-networkd in the first place. I see that > cloud-init finally (!) no longer hard requires wicked, so it could be > switched to NetworkManager. > > Please try > https://download.opensuse.org/repositories/home:/favogt:/branches:/ > Virtualization:/Appliances:/Images:/openSUSE-Tumbleweed/openSUSE_Tumbleweed/ > openSUSE-Tumbleweed-Minimal-VM.x86_64-Cloud.qcow2. I have tested the image in openstack with cloud init. I could reach it with ssh, however the default network manager was set to wicked
(In reply to Martin Loviska from comment #7) > (In reply to Fabian Vogt from comment #6) > > It shouldn't be using systemd-networkd in the first place. I see that > > cloud-init finally (!) no longer hard requires wicked, so it could be > > switched to NetworkManager. > > > > Please try > > https://download.opensuse.org/repositories/home:/favogt:/branches:/ > > Virtualization:/Appliances:/Images:/openSUSE-Tumbleweed/openSUSE_Tumbleweed/ > > openSUSE-Tumbleweed-Minimal-VM.x86_64-Cloud.qcow2. > > I have tested the image in openstack with cloud init. I could reach it with > ssh, however the default network manager was set to wicked "default network manager" in which way? wicked shouldn't even be installed
> "default network manager" in which way? wicked shouldn't even be installed Sorry my bad, only NetworkManager 1.44.2 is there.
(In reply to Fabian Vogt from comment #6) > Please try > https://download.opensuse.org/repositories/home:/favogt:/branches:/ > Virtualization:/Appliances:/Images:/openSUSE-Tumbleweed/openSUSE_Tumbleweed/ > openSUSE-Tumbleweed-Minimal-VM.x86_64-Cloud.qcow2. Hi Fabian, many thanks for looking into this. Sorry I couldn't reply sooner. It looks like your test image no longer exists?
(In reply to S. B. from comment #10) > (In reply to Fabian Vogt from comment #6) > > Please try > > https://download.opensuse.org/repositories/home:/favogt:/branches:/ > > Virtualization:/Appliances:/Images:/openSUSE-Tumbleweed/openSUSE_Tumbleweed/ > > openSUSE-Tumbleweed-Minimal-VM.x86_64-Cloud.qcow2. > > Hi Fabian, many thanks for looking into this. Sorry I couldn't reply sooner. > It looks like your test image no longer exists? Yep, the submission was accepted and the project cleaned up. The fix is in TW Snapshot 20231220, or you can try https://download.opensuse.org/repositories/Virtualization:/Appliances:/Images:/openSUSE-Tumbleweed/openSUSE_Tumbleweed/openSUSE-Tumbleweed-Minimal-VM.x86_64-Cloud.qcow2