Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Operation doesn't exist when requesting /operations/[uuid]/wait #4721
When creating any 'task' operation, after hitting the /operations/63277c1b-0ecc-460c-9e85-36ba6bf7fd89/wait url on a clustered LXD setup, i get the error: "Error: Operation '63277c1b-0ecc-460c-9e85-36ba6bf7fd89' doesn't exist", Hitting the operation url without /wait at the end returns the operation data as expected (but does not wait). I only experience these issues with 3 node lxd cluster, same lxd version works fine with 1 daemon.
Steps to reproduce
Information to attach
Daemon output while hitting these urls:
Please tell me if you need more information.
Got a fix for this particular endpoint, but found a lot of other issues with operations in the cluster case so working through all the API endpoints making sure they're sane. Only one left now is the operation list (GET /1.0/operations) which needs to return all operations in the cluster.