[Bug 2092945] Re: upgrade from 22 to 24 broke static ip
kevin wang
2092945 at bugs.launchpad.net
Wed Jan 15 15:38:40 UTC 2025
** Package changed: ubuntu => ubuntu-release-upgrader (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2092945
Title:
upgrade from 22 to 24 broke static ip
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
In the past week, I upgraded three machines using do-release-upgrade from Ubuntu server 22 to 24.
All had static IPs configured:
#1 with /etc/network/interfaces (oldschool!) (hostname=ocelot)
#2 /etc/netplan/00-installer-config.yaml (as originally created by subiquity) (hostname=toolbox)
#3 /etc/netplan/90-config.yaml (hostname=couch)
All were simple (physical) configurations: just one ethernet interface, one network. (plus docker in #2-3, plus some ppp's in #3). #3 also had multiple IPs bound to eth0 (to enable routing by source ip addr)
#1-2 are running as a vm under the same xen hypervisor (ubuntu 22.04.3), #3 runs bare-metal (dell xeon)
In cases #1-2, the config file was NOT updated from 'eth0' to 'enX0' and the machine did not come back on the network. Luckily, I had access to the console, or I'd be screwed.
In case #3, 'eth0' is still the configured interface.
So... I guess it's xen related, then? Note the hypervisor (host os)
did not change, only the guest vm was upgraded from 22 to 24.
#1 hvm
```
$ cat ocelot.hvm
builder = "hvm"
name = "ocelot-hvm"
memory = "1024"
vcpus = 1
vif = ['']
#disk = ['phy:/dev/lvg/ocelot-root,hda,w','file:/root/dmg/ubuntu-16.04.3-server-amd64.iso,hdc:cdrom,r'] # lol, long upgrade history here!
disk = ['phy:/dev/lvg/ocelot-root,hda,w']
vnc = 1
boot="dc"
```
#2 hvm
```
$ cat toolbox.hvm
builder = "hvm"
name = "toolbox-hvm"
memory = "3072"
vcpus = 1
vif = ['']
#disk = ['phy:/dev/lvg/toolbox-root,hda,w','file:/root/dmg/ubuntu-20.04.4-live-server-amd64.iso,hdc:cdrom,r']
disk = ['phy:/dev/lvg/toolbox-root,hda,w']
vnc = 1
boot="dc"
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2092945/+subscriptions
More information about the foundations-bugs
mailing list