Is it possible to connect lxd’s vm to ovn (open vitrual network)?
I was tested that the network configuration through ovs bridge of lxd vm is well. But I don’t know what to do with ovn and network.
When I created the lxd vm (virtual machine), I confirmed that the file system is configured in a slice manner.
In the case of vm, is it not possible to change the size of the root partition (default size: 3.8G)?
I’ve not played much with OVN yet (we have integration work planned for it in the next 6 months or so though), but so long as it can provide you with something that looks like a Linux or OVS bridge, you can tell LXD to put instances on that.
You can modify the size post-creation but that will only grow the disk, you’ll need to manually handle the resize of your partition from within the VM. growpart from cloud-guest-utils (on Ubuntu at least) may be useful for that.
I tried to connect lxd in the same way as I did above when connecting libvirt to ovn logical switch.
However, in the case of lxd vm, there is no external_ids: iface-id, so even when connecting, the ovn-sbctl show does not show that the vm and logical switch are bound.
I also use growpart to expand the root device of vm (on kvm).
However, for lxd vm (centos), it cannot be extended with growpart because it uses EFI.