Bug #4420
closedchef script fails seems that /var/run/ceph is not created
0%
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.
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
Updated by Sage Weil about 11 years ago
- Project changed from rbd to devops
- Target version deleted (
v0.58)
Updated by ramon makkelie about 11 years ago
please note that i use chef in combination with crowbar.
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.
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.