Project

General

Profile

Actions

Bug #8944

closed

Ceph daemon bad asok used in connection with cluster

Added by Szymon Zacher over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
ceph cli
Target version:
-
% Done:

0%

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

Description

Using ceph --cluster clustername daemon mon.host1 config causes

admin_socket: exception getting command descriptions: [Errno 2] No such file or directory

Strace shows that ceph ignores cluster argument and trying to open default socket name
connect(3, {sa_family=AF_FILE, path="/var/run/ceph/ceph-mon.host1.asok"}, 40) = -1 ENOENT (No such file or directory)

Actions #1

Updated by Sage Weil over 9 years ago

  • Status changed from New to 12
  • Assignee set to Dan Mick
  • Priority changed from Normal to High
  • Source changed from other to Community (user)
Actions #2

Updated by Dan Mick over 9 years ago

ceph uses ceph-conf --show-config-value admin_socket -n <name> and believes it; wonder why that's not working?

Actions #3

Updated by Dan Mick over 9 years ago

oh....because --cluster on the cli ... yeah.

Actions #4

Updated by Dan Mick over 9 years ago

  • Category set to ceph cli
  • Status changed from 12 to Fix Under Review

Adding the global args to the invocation of ceph-conf seems to resolve this.

Actions #5

Updated by Dan Mick over 9 years ago

wip-8944 created, but gitbuilders are having enough problems I'm not submitting a PR yet

Actions #6

Updated by Dan Mick over 9 years ago

  • Subject changed from Ceph daemon bad asock used in connection with cluster to Ceph daemon bad asok used in connection with cluster
Actions #7

Updated by Sage Weil over 9 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #8

Updated by Sage Weil over 9 years ago

  • Backport set to firefly
Actions #9

Updated by Sage Weil over 9 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF