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

Testing snap lxdmosaic --edge #575

Open
scubamuc opened this issue Aug 19, 2024 · 8 comments
Open

Testing snap lxdmosaic --edge #575

scubamuc opened this issue Aug 19, 2024 · 8 comments

Comments

@scubamuc
Copy link

scubamuc commented Aug 19, 2024

@turtle0x1

am interested in you saying socket doesn't work can you open a separate issue for that please? (unless it was noise)

testing snap socket connection:

grafik

grafik

check container IP's, are identical..... LXD0 is not connecting to LXD1 but adding a second "localhost" with a different "alias" instead of the remote.

I'm assuming something missing in the setup request since I cannot specify the remote IP or host name... unless this should be added in the socket path, which would be unclear.

@scubamuc
Copy link
Author

@turtle0x1, searching for docs explaining socket path /var/snap/lxd/common/lxd/unix.socket is not available. there is obviously no "discover" function, so the path obviously needs to be entered manually? I'v tried <host.ip>://var/snap/lxd/common/lxd/unix.socket and host.ip/var/snap/lxd/common/lxd/unix.socket etc. this is unclear. how to connect to remote host?

@turtle0x1
Copy link
Owner

Remote host via socket is not something I personally know how todo, when first running LXDMosaic installed via SNAP edge it correctly discovers the local host because we have the LXD plug (see below screenshot), I think your seeing the same containers because its the same host (this is what "socket" was tested with / designed for).

I would need some example commands to create a local socket to a remote host to test this

image

@scubamuc
Copy link
Author

@turtle0x1

Remote host via socket is not something I personally know how todo

neither do I, never saw this before or tried it before 😯

I'd agree,

it was noise

unless some other user knows how this works?

@scubamuc
Copy link
Author

This is the only information I could find... https://documentation.ubuntu.com/lxd/en/latest/dev-lxd/

@turtle0x1
Copy link
Owner

AI says its possible with Nginx but I dont think thats what your really looking for, I think the snap is working as expected? :)

image

@scubamuc
Copy link
Author

yeah, I agree!

@scubamuc
Copy link
Author

@turtle0x1, I've found this https://snapcraft.io/docs/lxd-interface is most probably the reason for missing socket connection.

@turtle0x1
Copy link
Owner

I dont think so/ it shouldn't be LXDMosaic should get the socket automagically

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

No branches or pull requests

2 participants