I’ve created a cluster out of two laptops with the intention to have all VMs, images etc. synchronized across the two laptops. However, it seems that the laptop which isn’t the “leader”(?) does not work at all if not connected to the cluster. The error message is
$ incus list
Error: Failed to begin transaction: failed to create cowsql connection: no available cowsql leader server found
That was obviously not at all the intention. Now I’m a bit at a loss as to how to solve this issue.
This problem might be related to this other question here:
I would not use Incus’ cluster feature for this use case. Just have two non-clustered Incus installs and add remotes. Then they can pass instances and images to each other.
The main issue is that you need at least three nodes that act as servers for the cluster to function in a sane way. With two nodes the cluster will fail whenever one node is disconnected.
At least this is what I remember when I tried something similar.
thank you for the idea! I presume there’s no way to salvage the existing bits, or is there? Not that it really matters, but it would be nice to have this functionality for completeness’ sake.