Bug#980528: debian-installer: net-install impossible because link is always reset
Control: tag -1 moreinfo
On Wed, Jan 20, 2021 at 08:08:24AM +0000, etkaar wrote:
> Package: debian-installer
> Severity: important
> Tags: d-i
> Good Morning!
> I noticed a strange bug with the debian installer when I wanted to
> install a virtual machine (KVM) using virt-install. I use MacVTap in
> VEPA mode for networking. While the host would create an interface
> such like "macvtap[n]@eth0", the VM gets an interface such like "ens1"
> when using the e1000 NIC.
> The fact, which lets me think that it is actually a bug of the installer,is,
I think it is an interresting problem, not convinced about a "bug".
> that a) the network works without any problem in all VMs which are installed
> and b) that I can configure the network manually, but *only* using the shell,
> for instance:
> > ip link set ens1 up
> > ip addr add 255.255.8.243/29 dev ens1
> > ip route add default via 255.255.8.1 dev ens1 onlink
(the triple question marks are for expressing my "Realy?",
please elaborate what is going on.
Yes, my request could be recieved as "vague",
do know that is being transmitted as "open")
> The bug is, that the installer - e.g. even if I, after DHCP has failed, try to manually configure it
> using the installer (not the shell) - always resets the link "ens1" to a state where the link is not up:
> > ~ # ip link show
> > ...
> > 2: ens1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
> > link/ether 52:54:00:fb:a1:98 brd ff:ff:ff:ff:ff:ff
> Expected is "<BROADCAST,MULTICAST,UP,LOWER_UP>", but the interface is always set to down by the installer.
> If I enable it by typing "ip link set ens1 up" it gets up and I can configure the network in the shell.
And after configuring is actual traffic possible?
If so, provide some proof.
> I even tried it with a preseed file, but whatever I try, the interface is always down and so it is
> impossible to configure it within the installation.
> # libvirt VM configuration
> <interface type='direct'>
> <mac address='52:54:00:5c:d3:e7'/>
> <source dev='eth0' mode='vepa'/>
I'm not sure if that is correct.
> <model type='e1000'/>
> <address type='pci' domain='0x0000' bus='0x09' slot='0x01' function='0x0'/>
> # Preseed (which also does not work)
> d-i netcfg/choose_interface select ens1
> d-i netcfg/disable_autoconfig boolean true
> d-i netcfg/get_ipaddress string 255.255.8.243
> d-i netcfg/get_netmask string 255.255.255.248
> d-i netcfg/get_gateway string 255.255.8.1
> d-i netcfg/get_nameservers string 220.127.116.11
> d-i netcfg/confirm_static boolean true
The "preseed stuff" is for later.
Silence is hard to parse