Skip to content

Pin LXD and use microcluster with dqlite LTS#454

Merged
sabaini merged 2 commits intocanonical:mainfrom
roosterfish:pin_lxd
Nov 7, 2024
Merged

Pin LXD and use microcluster with dqlite LTS#454
sabaini merged 2 commits intocanonical:mainfrom
roosterfish:pin_lxd

Conversation

@roosterfish
Copy link
Copy Markdown
Contributor

@roosterfish roosterfish commented Nov 7, 2024

Pin LXD

When defining the microcluster API handlers you have to import from "github.com/canonical/lxd/lxd/response" for the handlers return value.
As this dependency can diverge from the same import that microcluster users internally, you might end up with build issues if you don't use the same version as microcluster.

We have already filed an improvement in microcluster to address this in future releases.
But for now pinning down the version is a good measure to prevent build errors in the future during maintenance of the LTS.
The same measure is applied in microcluster to ensure every downstream can stay on track with the used version of LXD.

See this PR for the same change in MicroCloud and this PR for MicroOVN.

Dqlite LTS

In addition microcluster is updated to v2.0.5 which uses dqlite v2 LTS.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
@roosterfish
Copy link
Copy Markdown
Contributor Author

roosterfish commented Nov 7, 2024

Should I open this PR against another LTS branch (I can only see devel/squid)?

@sabaini sabaini merged commit c148cea into canonical:main Nov 7, 2024
@sabaini
Copy link
Copy Markdown
Collaborator

sabaini commented Nov 7, 2024

Thank you @roosterfish

@roosterfish roosterfish deleted the pin_lxd branch November 7, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants