I’ve had a cluster of three identically ubuntu 22.04 servers, lxd 6.5, and one profile defines an eth0 interfaces that has as parent an unmanaged bond interfaced configured in netplan
name: macvlan1
description: ""
config: {}
devices:
eth0:
nictype: macvlan
parent: bond1
type: nic
Now I have added a new server to this cluster, but with no interface “bond1”, so I wanted use a physical interface named ens224
lxc network create macvlan1 --target my-new-server parent=ens224
Now the network bond1 appears in the cluster as “managed bridged pending”, but I don’t want this.
Before “lxc network create” command:
cosadmin@vm-cedgov-01:~$ lxc network list
+------------+----------+---------+------+------+-------------+---------+---------+
| NAME | TYPE | MANAGED | IPV4 | IPV6 | DESCRIPTION | USED BY | STATE |
+------------+----------+---------+------+------+-------------+---------+---------+
| bond1 | bond | NO | | | | 19 |
+------------+----------+---------+------+------+-------------+---------+---------+
After the command:
+------------+----------+---------+------+------+-------------+---------+---------+
| NAME | TYPE | MANAGED | IPV4 | IPV6 | DESCRIPTION | USED BY | STATE |
+------------+----------+---------+------+------+-------------+---------+---------
|
| bond1 | bridge | YES | | | | 19 | PENDING |
+------------+----------+---------+------+------+-------------+---------+---------+
This is not what I wanted, anyone knowns if is possible go back to precedent configuration without break my operational instances? What to do? “lxc newtork delete ..” will bring my bond1 interface from managed to unmanaged and without “pending” flag again? Thanks