[Bug 2059898] Re: ubuntu-24.04 daily build install failed with netwok cable connected

wang 2059898 at bugs.launchpad.net
Sun Apr 7 02:13:08 UTC 2024


Hi jeff,
Here are the answers:
1: NO network cable connected, installation is successful
yes, after removing network cable, installation is successfully whatever disks(SATA,NVME...) we used.
And when cable disconnected, they can install successfully.

2.Network cable connected and internet is available, installation is successful
The machine's network is our local area network, i think it cannot connect to ubuntu mirror address and cannot connect to internet. And our network proxy is broken, so i am not sure whether it can install successfully when our network can connect to internet. We only confirm when it connect to local area network without internet, it is always failed.

3.Network cable connected, network is available, INTERNET is unavailable (airgapped lab), installation fails
yes in this case, it fails.


I believe from what you described elsewhere #3 is the case you are seeing, because you are in a lab with no external access, is that correct?
yes, correct, and i also confirm #1.

-- 
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/2059898

Title:
  ubuntu-24.04 daily build install failed with netwok cable connected

Status in subiquity package in Ubuntu:
  Confirmed

Bug description:
  verison:ubuntu 24.04 subiquity version
  OS:noble-live-server-amd64.iso
  CPU:AMD EPYC 9634 84-Core Processor*1
  MEMORY: M321R2GA3BB6-CQKVG*2
  ThinkSystem E1.S 5.9mm 7450 PRO 3.84TB Read Intensive NVMe PCIe 4.0 x4 HS SSD
  UEFI MODE

  lsb_release -rd: Description:Untun Noble Numbat(development branch)
  Release: 24.04

  What you expected to happen:
  Install os on disk with with netwok cable connected,expected to install succefully.

  What happened instead:
  Install os with netwok cable connected, install always failed.

  
  we opened this case https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/2057996 to solve nvme disk install fail issue before and we use daily build which build on 3/26 have a try and that version is good working at both of netwok cable connected and disconnected case.
  But for 3/29 daily build version, our QA found when connect cable(It's a local area network (LAN) and it cannot connect to the mirror source), it is always failed and report error:
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         Traceback (most recent call last):
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:           File "/snap/subiquity/5645/lib/python3.10/site-packages/curtin/commands/main.py", line 202, in main
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:             ret = args.func(args)
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:           File "/snap/subiquity/5645/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 2224, in curthooks
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:             builtin_curthooks(cfg, target, state)
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:           File "/snap/subiquity/5645/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 2048, in builtin_curthooks
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:             install_kernel(cfg, target)
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:           File "/snap/subiquity/5645/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 393, in install_kernel
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:             install(kernel_package)
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:           File "/snap/subiquity/5645/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 369, in install
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:             distro.install_packages([pkg], target=target, env=env)
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:           File "/snap/subiquity/5645/lib/python3.10/site-packages/curtin/distro.py", line 473, in install_packages
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:             return install_cmd('install', args=pkglist, opts=opts, target=target,
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:           File "/snap/subiquity/5645/lib/python3.10/site-packages/curtin/distro.py", line 255, in run_apt_command
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:             cmd_rv = apt_install(mode, args, opts=opts, env=env, target=target,
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:           File "/snap/subiquity/5645/lib/python3.10/site-packages/curtin/distro.py", line 303, in apt_install
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:             cmd_rv = inchroot.subp(cmd + dl_opts + packages, env=env,
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:           File "/snap/subiquity/5645/lib/python3.10/site-packages/curtin/util.py", line 843, in subp
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:             return subp(*args, **kwargs)
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:           File "/snap/subiquity/5645/lib/python3.10/site-packages/curtin/util.py", line 323, in subp
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:             return _subp(*args, **kwargs)
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:           File "/snap/subiquity/5645/lib/python3.10/site-packages/curtin/util.py", line 172, in _subp
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:             raise ProcessExecutionError(stdout=out, stderr=err,
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         curtin.util.ProcessExecutionError: Unexpected error while running command.
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'linux-generic']
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         Exit code: 100
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         Reason: -
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         Stdout: ''
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         Stderr: ''
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         Unexpected error while running command.
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'linux-generic']
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         Exit code: 100
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         Reason: -
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         Stdout: ''
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         Stderr: ''
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]:         
  Apr 01 07:15:35 ubuntu-server subiquity_log.3119[4902]: Stderr: ''
  Apr 01 07:15:35 ubuntu-server subiquity_event.3119[3119]:   executing curtin install curthooks step
  Apr 01 07:15:35 ubuntu-server subiquity_event.3119[3119]: installing system
  Apr 01 07:15:35 ubuntu-server subiquity_event.3119[3119]: 
  Apr 01 07:15:36 ubuntu-server subiquity_event.3119[3119]:     curtin command install
  Apr 01 07:15:44 ubuntu-server systemd-timesyncd[2495]: Timed out waiting for reply from [2620:2d:4000:1::40]:123 (ntp.ubuntu.com).
  Apr 01 07:15:46 ubuntu-server systemd[1]: systemd-timedated.service: Deactivated successfully.

  i uploaded journalctl log on attachment.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/2059898/+subscriptions




More information about the foundations-bugs mailing list