Dweller

Results 13 comments of Dweller

I got based this point using.. ``` rm -rf build cd build cmake -G "Unix Makefiles" -DCLONE_SUBPROJECTS=ON .. make ```

```` from pylxd import Client, exceptions lxd = Client('/dev/lxd/sock') ``` ' ``` Traceback (most recent call last): File "/tmp/lxd.py", line 3, in lxd = Client('/dev/lxd/sock') File "/usr/lib/python3/dist-packages/pylxd/client.py", line 308, in...

The socket exists and is openable.. Mine which is inside a LXD instance.. You'll note that the error message isn't that it can't open the socket its that it doesn't...

What strange is if I call Client() without an endpoint argument it works.. But if I specify the path of the endpoint /var/snap/lxd/common/lxd/unix.socket it doesn't. Yet internally I can see...

I wrote some python to open a unix domain socket directly to the unix.socket and that works... So confirmed no issues with the permissions. Apart from debuging the pylxd connection...

So I have it working now... Previously.. only the lxdsocket would work but now I've no issues using /var/run/lxd.socket I spotted my error when I upgraded my code to use...

The pylxd version if 2.3.5 (I've downgraded it to 2.5.1 with no difference in the result). I'll get a list of the depending packages later on.. I'm assuming its probably...

I've not yet been able to confirm the version changes but a quick web search how's its possible it was a change made to requests-unix-sockets.. Apparently they have no intention...

OK so this if the installed python modules on Amazon Linux 2023.6.20241212 after doing a yum install python3-pip and then pip install pylxd. The python version is 3.9.20. ``` ws4py==0.5.1...

And the previous version.... that works.. Amazon Linux release 2023.6.20241121 ``` ws4py==0.5.1 requests-toolbelt==1.0.0 pylxd==2.3.5 selinux==3.4 dbus-python==1.2.18 ruamel.yaml.clib==0.1.2 rpm==4.16.1.3 awscrt==0.19.19 gpg==1.15.1 libcomps==0.1.20 MarkupSafe==1.1.1 netifaces==0.10.6 cffi==1.14.5 cryptography==36.0.1 pyrsistent==0.17.3 PyYAML==5.4.1 setools==4.4.1 systemd-python==235 pycurl==7.45.1...