Project

General

Profile

Actions

Bug #4420

closed

chef script fails seems that /var/run/ceph is not created

Added by ramon makkelie about 11 years ago. Updated about 11 years ago.

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

0%

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

Description

Chef recipie fails to install ceph "use latest source"
i tried it with ceph version 0.58 and 0.56.3

the first error was that it could not run ceph-mon --mkfs
error"
"adminsocketconfigobs failed to bind the unix domain socket"

joao: created a small fix by adding
"mkdir p /var/lib/ceph/mon/ceph#{node['hostname']}" in the recipie

but after that the chef script was nagging about that it could get the monitor state.

after some soul searching
it seems that the underlying problem is that "/var/run/ceph" is not created

if you need any more info please ask.

Actions #1

Updated by Sage Weil about 11 years ago

  • Assignee set to Sage Weil
  • Priority changed from Normal to Urgent

i think it is the job of upstart and/or the sysvinit script to create that directory

Actions #2

Updated by Sage Weil about 11 years ago

  • Project changed from rbd to devops
  • Target version deleted (v0.58)
Actions #3

Updated by ramon makkelie about 11 years ago

please note that i use chef in combination with crowbar.

Actions #4

Updated by Greg Farnum about 11 years ago

I didn't realize the latest source was an option via Crowbar — it's only tested against argonaut right now.

It's certainly appropriate to provide a fix but be aware other things might also behave inappropriately.

Actions #5

Updated by Sage Weil about 11 years ago

  • Status changed from New to Resolved

the fix in the current pull req looks right. we're running ceph-mon manually, so chef needs to create the dir.

Actions

Also available in: Atom PDF