The server installer double or triple fetches source ISO file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello, hello,
I'm not sure if this is bug or expected behavior but here we go.
I was doing server reinstall from already installed linux OS via grub bootstraping (to continue installation via SSH due to lacking access to the server's physical console). I noticed that ISO file pointed by url bootoption is fetched three times by Ubuntu installer. I did some checking and this is my observation.
ISO file: ubuntu-
(SHA256: 84aeaf7823c8c61
IP used:
100.64.241.175 / local-install.vm - http server providing ISO and {meta,user}-data files
100.64.100.100 - static IP for reinstalled server
100.64.0.1 - default gw
100.64.255.255 - DNS resolver
I tested two cases. One with DNS support and second one without DNS resolver in place.
My grub.cfg looks like that:
menuentry 'Install with DNS support' {
load_video
gfxmode text
insmod gzio
insmod part_msdos
insmod part_gpt
insmod lvm
insmod diskfilter
insmod mdraid1x
insmod ext2
insmod xfs
search --no-floppy --fs-uuid --set=root 2559c296-
linux /boot/reinstall
initrd /boot/reinstall
}
menuentry 'Install without DNS support' {
load_video
gfxmode text
insmod gzio
insmod part_msdos
insmod part_gpt
insmod lvm
insmod diskfilter
insmod mdraid1x
insmod ext2
insmod xfs
search --no-floppy --fs-uuid --set=root 2559c296-
linux /boot/reinstall
initrd /boot/reinstall
}
user-data file:
#cloud-config
chpasswd:
expire: false
list:
- installer:
meta-data is empty.
When running from 'Install with DNS support' http server logs shows:
local-install.vm 100.64.100.100 - - [27/Apr/
local-install.vm 100.64.100.100 - - [27/Apr/
local-install.vm 100.64.100.100 - - [27/Apr/
local-install.vm 100.64.100.100 - - [27/Apr/
ubuntu-
But when running from 'Install without DNS support' I got this in the logs:
100.64.241.175 100.64.100.100 - - [27/Apr/
100.64.241.175 100.64.100.100 - - [27/Apr/
100.64.241.175 100.64.100.100 - - [27/Apr/
100.64.241.175 100.64.100.100 - - [27/Apr/
100.64.241.175 100.64.100.100 - - [27/Apr/
ubuntu-
I additonaly checked this with ubuntu-
It's not big problem in LAN - but this is slow for insalling from remote (Internet) location.
Best regards
affects: | ubuntu → subiquity (Ubuntu) |
tags: | added: jammy |
description: | updated |
Thanks for the report, and thanks as well for the detailed analysis. /bugs.launchpad .net/cloud- init/+bug/ 1937319, so I think we should merge these.
I believe this issue to be a duplicate of https:/