Actions
Bug #55334
closedmgr/cephadm: socket path too long for some daemons
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The admin socket commands fails for daemons like rgw/rbd-mirror/cephfs-mirror
"admin_socket: exception getting command descriptions: AF_UNIX path too long".
This is probably because of too long filenames. An example path name for rbd-mirror:
/var/run/ceph/e3f41acc-ba6a-11ec-9629-525400c43ed6/ceph-client.rbd-mirror.ceph-node-00.dpqslq.2.93914410882624.asok
116 chars
This exceeds the sizeof(sockaddr_un.sun_path) , which is 108 currently:
struct sockaddr_un
{
_SOCKADDR_COMMON (sun);
char sun_path108; /* Path name. */
};
Actions