Project

General

Profile

Actions

Bug #46437

closed

Admin Socket leaves behind .asok files after daemons (ex: RGW) shut down gracefully

Added by Ali Maredia almost 4 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Reproducer(s):
0. be in build dir
1. run vstart.sh
2. edit stop.sh to not `rm -rf "${asok_dir}"`
3. do ls of /tmp/ceph-asok.XXXX and out dirs to see mgr, mon, osd asok files and radosgw.8000.asok
4. run ../src/stop.sh
5. look in out dir and /tmp/ceph-asok.XXX to see the .asok files still there

This is could be due to the order in which the daemons are killed in stop.sh.

This issue has been seen in clusters configured with ceph-ansible, see: https://bugzilla.redhat.com/show_bug.cgi?id=1794550

A way to fix this is to have the admin sockets be in the abstract socket namespace on Linux to ensure that the .asok files are always deleted when the socket is closed: https://troydhanson.github.io/network/Unix_domain_sockets.html

A branch has been created to implement this: https://github.com/alimaredia/ceph/commit/42a8ec3fbe6cb253960f65710ce0108a864eb1e1


Related issues 1 (0 open1 closed)

Related to rbd - Feature #6228: image name metavariableResolvedAdam Crume09/04/2013

Actions
Actions #1

Updated by Ken Dreyer over 3 years ago

  • Pull request ID set to 38293
Actions #2

Updated by Nathan Cutler over 3 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Ken Dreyer about 3 years ago

  • Backport set to pacific
Actions #4

Updated by Sebastian Wagner over 2 years ago

Actions #5

Updated by Ali Maredia 7 months ago

  • Status changed from Fix Under Review to Closed
Actions

Also available in: Atom PDF