-
Notifications
You must be signed in to change notification settings - Fork 211
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
discovery/lxd: Remove lxdhelpers #113
Conversation
This commit removes the dependency of the external lxdhelpers package. The core functionality of the lxdhelpers package has been integrated into the upstream LXD client API and so the lxdhelpers package is no longer useful.
This commit removes the installation of libacl1-dev from Travis since libacl1-dev is no longer required to build gobetween/lxd.
Hi @jtopjian, thanks for the PR! Unfortunately I don't have enough time to do extensive testing by myself. Your changes look good and I can't see any problems there and to speed up the process, please just confirm you tested it on your envs both with https and non-https, and it works, and I'll be happy to merge! |
@yyyar No problem at all. I've tested this to the best of my ability and all looks good. Here's some debug output from a recent test balancing two containers:
With regard to https/non-https: did you mean communicating with LXD over http/https? If so, https is mandatory with LXD - no way to communicate over http. |
@jtopjian, thanks!
Sorry, I meant local unix socket and secure https. Looks good, I'll merge it right now. |
Ahh - gotcha. Yup, both work 😄 Thank you! With 0.5 released, no doubt there will be people trying out LXD. I'll be keeping an eye out for issues. |
@jtopjian thank you so much for your support! |
This commit removes the dependency of the external
lxdhelpers
package. The core functionality of thelxdhelpers
package has been integrated into the upstream LXD client API and so thelxdhelpers
package is no longer useful.The additional functions that are added are specific to the LXD discovery plugin - it does not make sense to abstract them into an external package.
Also, Travis has been modified to no longer install the
libacl1-dev
package since this was resolved a month ago (#105).Just like with #102, I have Terraform configurations here which can help with testing. At a minimum, the
deploy.sh
script can be used to easily create an LXD+gobetween environment.