Project

General

Profile

Actions

Bug #3944

closed

ceph tool should prevent --admin-socket

Added by Dan Mick over 11 years ago. Updated almost 11 years ago.

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

0%

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

Description

Misremembering, I tried several 'ceph --admin-socket' commands rather than 'ceph --admin-daemon'; the result was that I creamed the existing .asok FIFOs, because the generic command processing happily went and tried to open the socket, and then closed it on command exit.

It would be nice if the ceph command refused --admin-socket, as it's unlikely that ./ceph needs to
create an admin socket, and it can only do harm. There may be other such "daemon-only" options
that could be ruled out of the CLIs.

Actions

Also available in: Atom PDF