Skip to contentSkip to conversation

Errors in ceph_objectstore_tool.py

DISCUSSION Willem Jan Withagen 1 participant 1 message Aug 1, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

It aborts with:

2016-08-01 14:17:03.777916 7f9c00d629c0 -1 asok(0x188ebb0)

AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: The
UNIX domain socket path /home/jenkins-build/build/workspace/ceph-pull-requests/build/ceph_objectstore_tool_dir/out/client.admin.25541.asok is too long! The maximum length on this system is 107

And the last remark is true, it is a sort of hard upperlimit on length of socket-names. (107 in Linux, 104 in FreeBSD)

Which is probably the reason why on most systems sockets are created in /tmp, /var/tmp or /var/run/

So I guess that some of the testscripts need to be adjusted to this limit and not create the sockets in ..../<testdir>/*.asok

--WjW