Public bug reported:

While trying out multipass (edge) on s390x I ran into an issue using LXD 4.6 
with KVM on s390x.
I verified that it's independent from multipass.

Launching a plain KVM virtual machine with LXD, the VM reached the 'running' 
state, but the network didn't came up.
After digging a bit deeper I figured out that this is most likely due to a 
mismatch of the used interface names.
The KVM virtual machine that's created shows an interface name (enc9) in 'ip 
a', but that doesn't fit to the interface name in 
'/etc/netplan/50-cloud-init.yaml' (enp5s0), hence the interface does not 
automatically come up, hence no network (, hence multipass fails).

Please see attached file for further details and steps to reproduce.

It's assumed that this is most likely an issue with the Cloud image(s) (rather 
than with LXD itself). The Cloud images include a template that generates the 
netplan configuration (including the hardcoded enp5s0 interface).
But for s390x, the only architecture that usually does not have fixed-address 
PCI-based names (but it can have, in case of RoCE / SMC adapters are 
installed), interface 'enc9' needs to be used. So an architecture check might 
be needed here.

** Affects: cloud-images
     Importance: High
     Assignee: Ubuntu Cloud Images (cloudimages)
         Status: New

** Affects: ubuntu-z-systems
     Importance: High
         Status: New


** Tags: s390x

** Attachment added: "lxd_with_KVM_on_s390x_-_28.09.2020.txt"
   
https://bugs.launchpad.net/bugs/1897615/+attachment/5415019/+files/lxd_with_KVM_on_s390x_-_28.09.2020.txt

** Also affects: ubuntu-z-systems
   Importance: Undecided
       Status: New

** Package changed: ubuntu => cloud-images

** Changed in: ubuntu-z-systems
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1897615

Title:
  LXD / KVM cannot bring up network due to network interface mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1897615/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to