Incus admin recover says it needs a network adapter that already exists

I’ve successfully gotten incus admin recover to detect VMs for recovery. I see this message. But it indicates a network is missing "lxdbr0" in project "default"
`

The following unknown storage pools have been found:
 - Storage pool "default2" of type "zfs"
The following unknown volumes have been found:
 - Virtual-Machine "community-public-do-vm" on pool "default2" in project "default" (includes 0 snapshots)
 - Virtual-Machine "github-runner" on pool "default2" in project "default" (includes 0 snapshots)
 - Virtual-Machine "storage" on pool "default2" in project "default" (includes 0 snapshots)
 - Virtual-Machine "vivoh-runner-vm-01" on pool "default2" in project "default" (includes 0 snapshots)
 - Virtual-Machine "extrastatic-runner-01" on pool "default2" in project "default" (includes 0 snapshots)
 - Virtual-Machine "jaanee-content" on pool "default2" in project "default" (includes 0 snapshots)
 - Virtual-Machine "lapis-testing" on pool "default2" in project "default" (includes 0 snapshots)
 - Virtual-Machine "reservation-build-system" on pool "default2" in project "default" (includes 0 snapshots)
 - Virtual-Machine "vivoh-runner-01" on pool "default2" in project "default" (includes 0 snapshots)
You are currently missing the following:
 - Network "lxdbr0" in project "default"

But, that does not look right to me because it shows up with incus network list:

$ sudo incus network list
+-----------------+----------+---------+----------------+---------------------------+-------------+---------+---------+
|      NAME       |   TYPE   | MANAGED |      IPV4      |           IPV6            | DESCRIPTION | USED BY |  STATE  |
+-----------------+----------+---------+----------------+---------------------------+-------------+---------+---------+
| br-7ded21e6fa3f | bridge   | NO      |                |                           |             | 0       |         |
+-----------------+----------+---------+----------------+---------------------------+-------------+---------+---------+
| br-60e367f8b784 | bridge   | NO      |                |                           |             | 0       |         |
+-----------------+----------+---------+----------------+---------------------------+-------------+---------+---------+
| br-b8f85ebce698 | bridge   | NO      |                |                           |             | 0       |         |
+-----------------+----------+---------+----------------+---------------------------+-------------+---------+---------+
| br-be521e90c790 | bridge   | NO      |                |                           |             | 0       |         |
+-----------------+----------+---------+----------------+---------------------------+-------------+---------+---------+
| docker0         | bridge   | NO      |                |                           |             | 0       |         |
+-----------------+----------+---------+----------------+---------------------------+-------------+---------+---------+
| enp4s0          | physical | NO      |                |                           |             | 0       |         |
+-----------------+----------+---------+----------------+---------------------------+-------------+---------+---------+
| enp5s0          | physical | NO      |                |                           |             | 0       |         |
+-----------------+----------+---------+----------------+---------------------------+-------------+---------+---------+
| incusbr0        | bridge   | YES     | 10.63.174.1/24 | fd42:306b:c1e9:8836::1/64 |             | 1       | CREATED |
+-----------------+----------+---------+----------------+---------------------------+-------------+---------+---------+
| lxcbr0          | bridge   | NO      |                |                           |             | 0       |         |
+-----------------+----------+---------+----------------+---------------------------+-------------+---------+---------+
| lxdbr0          | bridge   | NO      |                |                           |             | 0       |         |
+-----------------+----------+---------+----------------+---------------------------+-------------+---------+---------+
| wlp6s0          | physical | NO      |                |                           |             | 0       |         |
+-----------------+----------+---------+----------------+---------------------------+-------------+---------+---------+

Is this possibly because I this machine has both lxc and incus? I didn’t intend to do that, but both are installed. I would prefer to standardize only on incus.

When I hit enter, it repeats the message saying the network is missing.

Hmm, a weird thing is that the network is unused, so I tried to delete it and recreate it.

$ sudo incus network delete lxdbr0
Error: Failed loading network: Network not found

Could this be somehow that incus is confused by remnants of lxc?

I solved this by using ip link delete lxdbr0 and then creating it anew with incus network create.

1 Like