[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Generic image not working with IPv6 only



On 8/15/24 16:33, Noah Meyerhans wrote:
On Thu, Aug 15, 2024 at 04:27:01PM +0200, Thomas Goirand wrote:
There's 2 issues that I'm aware of with our current generic image.

First, the genericcloud image kernel has the SATA AHCI driver stripped-out,
so then the config drive doesn't work anymore. I reported this here:

https://bugs.debian.org/1078702

Bastian, do you think, with your kernel team hat, that you can take care of
this one?

This is by design.  Use the generic image if you need more drivers.

Well, no. This is a wrong design. We really want the AHCI driver to be in the cloud kernel.

The 2nd issue is that booting with IPv6 only connectivity leads to systemd
waiting forever on the systemd-networkd-wait-online.service unit. When I can
log in, then:

dhclient -6 enp3s0

does its job, and I'm getting the IPv6 address. Note that such ipv6-only
config works with an Ubuntu image.

I have no clue how to fix this in our image. Any idea?

This isn't an image issue.  Pass appropriate cloud-config at launch to
tell cloud-init to configure the network the way you want it, and it
will work.  Did you miss Bastian's response to your previous message
about this?  https://lists.debian.org/debian-cloud/2024/08/msg00028.html

I missed it, though...

I did another try, and it's working for me in fact. Not sure what was wrong when I tried yesterday.

With the generic image, I can ssh, though with genericcloud, as it's not getting the metadata as the config driver cannot be mounted (due to AHCI driver missing). My ssh key isn't installed in the VM therefore, and I can't log in.

Cheers,

Thomas Goirand (zigo)


Reply to: