Upgraded from ubuntu 24.04 to 26.04, incus 24.04 VMs & CNs DO get an IP, incus 26.04 VMs get IP but CNs do not

after upgrading from ubuntu 24.04 lts to ubuntu 26.04 lts

If I create a new Incus 26.04 VM it does gets an ip address
If I create a new Incus 26.04 CN it does NOT get an ip address
but
If I create a new Incus 24.04 VM it does gets an ip address
If I create a new Incus 24.04 CN it also does get an ip address

using tshark to watch for dhcp requests I

do see incus 24.04 CNs do a dhcp request

32 769.301764870 0.0.0.0 → 255.255.255.255 DHCP 327 DHCP Discover - Transaction ID 0x5a8d6cd0
33 769.323145552 10.167.47.1 → 10.167.47.45 DHCP 355 DHCP ACK - Transaction ID 0x5a8d6cd0

but I see no requests when creating an incus Ubuntu 26.04 CN

anyone have any suggestions what to look for?

Probably worth looking at systemctl --failed and networkctl inside the container.

@stgraber
Here is the output from those commands from inside the ubuntu 26.04 container

# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION

0 loaded units listed.
==================================================
# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback - unmanaged
6 eth0 ether - unmanaged

2 links listed.

also… fyi
$ incus --version
6.0.5

unmanaged eth0 is a bit odd.

That’s a regular Ubuntu image, not a cloud image, right?
Can you check what’s in /etc/systemd/network/?

@stgraber

—

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 26.04.1 LTS
Release: 26.04
Codename: resolute

—

$ incus version

Client version: 6.0.5
Server version: 6.0.5

—

$ incus profile show default
config: {}
description: Default Incus profile
devices:
eth0:
name: eth0
network: incusbr0
type: nic
root:
path: /
pool: cn-default
type: disk
name: default
used_by:

  • /1.0/instances/cn2604
  • /1.0/instances/cn2404
    project: default

—

$ incus network show incusbr0
config:
ipv4.address: 10.167.47.1/24
ipv4.nat: “true”
ipv6.address: fd42:30a3:abb8:b1c8::1/64
ipv6.nat: “true”
description: “”
name: incusbr0
type: bridge
used_by:

  • /1.0/instances/cn2404
  • /1.0/instances/cn2604
  • /1.0/profiles/default
    managed: true
    status: Created
    locations:
  • none
    project: default

—

$ incus launch images:ubuntu/26.04 cn2604
Launching cn2604

$ incus launch images:ubuntu/24.04 cn2404
Launching cn2404

—

$ incus ls
±----------±----------±------------------±-----------------------------------------±----------------±----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
±----------±----------±------------------±-----------------------------------------±----------------±----------+
| cn2404 | RUNNING | 10.167.47.3 (eth0) | fd42:30a3:abb8:b1c8:1266:6aff:fe2a:a37a (eth0) | CONTAINER | 0 |
±-------±--------±-------------------±-----------------------------------------------±----------------±----------+
| cn2604 | RUNNING | | fd42:30a3:abb8:b1c8:1266:6aff:fee1:a147 (eth0) | CONTAINER | 0 |
±-------±--------±-------------------±-----------------------------------------------±----------------±----------+

The newly created Incus container cn2404 based on ubuntu 24.04 has an ipv4

The newly created Incus container cn2604 based on ubuntu 26.04 has no ipv4

Anyone else encounter this?

If not I guess I will try the 7.x Incus version instead of the stable version.