[Bug 2022030] Re: vlan network device lost after the ubuntu 23.04 install complete

mayijie 2022030 at bugs.launchpad.net
Wed Jul 5 11:27:48 UTC 2023


Hi Lukas,

Thanks for the investigation, I followed your instruction, added the
"ignore-carrier: true", netplan apply and reboot, the vlan interface
shows up after reboot, cool~

But what I don't understand is the trunk mode adapter actually neither
cable disconnected, nor VM exist, and from my previous test, this case
only happened in ubut23.04, you can reference my comment #9.

So I did another installation ubut23.04 using another trunk adapter as
the backend adapter of vNic device, the vlan interface lost again, I
tried added the "ignore-carrier: true" in the yaml file, but this time,
no luchy.

Here the systemd-networkd.log read :

'''
"'-- Boot 02eb864dc23541f0911df9f082c7d33e --
"
"Jul 05 10:04:49 a90ubut21 systemd[1]: Starting systemd-networkd.service - Network Configuration...
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: lo: Link UP
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: lo: Gained carrier
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: Enumeration completed
"
"Jul 05 10:04:49 a90ubut21 systemd[1]: Started systemd-networkd.service - Network Configuration.
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Configuring with /run/systemd/network/10-netplan-enc1000.network.
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Link UP
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Gained carrier
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Link DOWN
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Lost carrier
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Could not create stacked netdev: No such device
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Failed
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Link UP
"
"Jul 05 10:04:49 a90ubut21 systemd-networkd[1070]: enc1000: Gained carrier
"
"Jul 05 10:04:51 a90ubut21 systemd-networkd[1070]: enc1000: Gained IPv6LL
'''


>From the log, it seems 'lost carrier' again, Hmm......

I compared the 10-netplan-enc1000.network, no difference I found from
the repaired one.

Here is the configure files:

'''
cat 10-netplan-enc1000.network
[?2004l
[Match]
Name=enc1000
 
[Network]
LinkLocalAddressing=ipv6
ConfigureWithoutCarrier=yes
VLAN=enc1000.1300

cat 10-netplan-enc1000.1300.network
[?2004l
[Match]
Name=enc1000.1300
 
[Network]
LinkLocalAddressing=ipv6
Address=10.20.103.66/24
Gateway=10.20.103.254
DNS=10.20.0.2
ConfigureWithoutCarrier=yes

cat 10-netplan-enc1000.1300.netdev
[?2004l
[NetDev]
Name=enc1000.1300
Kind=vlan
 
[VLAN]
Id=1300
'''

Thanks~

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

Title:
  vlan network device lost after the ubuntu 23.04 install complete

Status in Ubuntu on IBM z Systems:
  Incomplete
Status in netplan.io package in Ubuntu:
  New
Status in subiquity package in Ubuntu:
  New

Bug description:
  ubuntu at ibm:~$ cat /etc/os-release                                               
  PRETTY_NAME="Ubuntu 23.04"                                                      
  NAME="Ubuntu"                                                                   
  VERSION_ID="23.04"                                                              
  VERSION="23.04 (Lunar Lobster)"

  System hardware: IBM LinuxONE

  Details:
  During the installation, I set up and actived a vlan device, after the installation, when I login the OS, the vlan device disappeared, I opened the '/etc/netplan/00-installer-config.yaml', double checked the config file, the vlan1300 is existing, and then when I 'netplan apply' to perform the configuration, an error message shows up, 

  "[?2004hubuntu at ibm:~$ 
  "sudo netplan apply
  "[?2004l
  "Cannot call openvswitch: ovsdb-server.service is not running.

  And during the boot stage, the systemd-networkd-wait-online.se tart
  running message shows a lot in the log, not sure these are related.

  "M[K[    [0;31m*[0;1;31m*[0m] Job systemd-networkd-wait-online.se  tart running (1min 11s / no limit)
  "
  "M[K[     [0;31m*[0m] Job systemd-networkd-wait-online.se  tart running (1min 12s / no limit)
  "
  "M[K[    [0;31m*[0;1;31m*[0m] Job systemd-networkd-wait-online.se  tart running (1min 12s / no limit)
  "
  "M[K[   [0;31m*[0;1;31m*[0m[0;31m*[0m] Job systemd-networkd-wait-online.se  tart running (1min 13s / no limit)
  "
  "M[K[  [0;31m*[0;1;31m*[0m[0;31m* [0m] Job systemd-networkd-wait-online.se  tart running (1min 13s / no limit)
  "
  "M[K[ [0;31m*[0;1;31m*[0m[0;31m*  [0m] Job systemd-networkd-wait-online.se  tart running (1min 14s / no limit)
  "
  "M[K[[0;31m*[0;1;31m*[0m[0;31m*   [0m] Job systemd-networkd-wait-online.se  tart running (1min 14s / no limit)
  "
  "M[K[[0;1;31m*[0m[0;31m*    [0m] Job systemd-networkd-wait-online.se  tart running (1min 15s / no limit)

  Attached the operating system boot log.

  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2022030/+subscriptions




More information about the foundations-bugs mailing list