Is there some reason ubuntu is now gid 1002 rather than 1000? lxd and netdev users seem like system users that normally are in the <1000 range.
$ lxc launch images:ubuntu/focal/cloud c2
Creating c2
Starting c2
$ lxc exec c2 cat /etc/group | grep 100
users:x:100:
lxd:x:1000:ubuntu
netdev:x:1001:ubuntu
ubuntu:x:1002:
$ lxc launch ubuntu:20.04 c1
Creating c1
Starting c1
$ lxc exec c1 cat /etc/group | grep 100
users:x:100:
ubuntu:x:1000:
$ lxc exec c1 cat /etc/group | grep net
systemd-network:x:102:
netdev:x:117:ubuntu
$ lxc exec c1 cat /etc/group | grep lxd
lxd:x:118:ubuntu