Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider switching from using the LXD CLI to pylxd #646

Open
lengau opened this issue Aug 30, 2024 · 4 comments
Open

Consider switching from using the LXD CLI to pylxd #646

lengau opened this issue Aug 30, 2024 · 4 comments
Labels
Enhancement New feature or request

Comments

@lengau
Copy link
Contributor

lengau commented Aug 30, 2024

What needs to get done

Replace most usage of the lxc and lxd CLI with pylxd.

Why it needs to get done

This is a faster, more reliable way to interact with LXD (e.g. #535)

@lengau lengau added the Enhancement New feature or request label Aug 30, 2024
@mr-cal
Copy link
Collaborator

mr-cal commented Aug 30, 2024

I recall there was a decision to not use pylxd. It was prior to me joining and it's not documented. @cmatsuoka or @sergiusens - do you recall?

@lengau lengau changed the title Switch from using the LXD CLI to pylxd Consider switching from using the LXD CLI to pylxd Sep 4, 2024
@lengau
Copy link
Contributor Author

lengau commented Sep 4, 2024

Thanks for that context @mr-cal. I've updated the title to represent that this should be a consideration, as if pylxd hasn't fixed these issues in the intervening years it's a null point

@mr-cal
Copy link
Collaborator

mr-cal commented Nov 7, 2024

Here's the history: Craft-providers was written with the intent to support remote LXD servers. pylxd didn't support that when craft-providers was created, so we created our own abstraction layer around LXD.

@lengau
Copy link
Contributor Author

lengau commented Nov 12, 2024

Given our own slow progress on remote LXD instances, I wonder if helping pylxd to support remotes would be a reasonable way to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants