Hi
I am installing Ceph using the chef cookbook recipes and I am having an issue
with ceph-osd-all-starter
Here's a dump from client.log
================================================================================
Error executing action `start` on resource 'service[ceph_osd]'
================================================================================
Chef::Exceptions::Exec
----------------------
/sbin/start ceph-osd-all-starter returned 1, expected 0
Resource Declaration:
---------------------
# In /var/cache/chef/cookbooks/ceph/recipes/osd.rb
153: service "ceph_osd" do
154: case service_type
155: when "upstart"
156: service_name "ceph-osd-all-starter"
157: provider Chef::Provider::Service::Upstart
158: else
159: service_name "ceph"
160: end
161: action [ :enable, :start ]
Compiled Resource:
------------------
# Declared in /var/cache/chef/cookbooks/ceph/recipes/osd.rb:153:in `from_file'
service("ceph_osd") do
enabled true
pattern "ceph_osd"
provider Chef::Provider::Service::Upstart
recipe_name "osd"
supports {:restart=>true}
action [:enable, :start]
startup_type :automatic
retry_delay 2
cookbook_name "ceph"
service_name "ceph-osd-all-starter"
retries 0
end
[Sat, 21 Sep 2013 14:30:12 +0000] ERROR: Running exception handlers
[Sat, 21 Sep 2013 14:30:13 +0000] FATAL: Saving node information to
/var/cache/chef/failed-run-data.json
[Sat, 21 Sep 2013 14:30:13 +0000] ERROR: Exception handlers complete
[Sat, 21 Sep 2013 14:30:13 +0000] ERROR: Chef::Exceptions::Exec:
service[ceph_osd] (ceph::osd line 153) had an error: Chef::Exceptions::Exec:
/sbin/start ceph-o$
[Sat, 21 Sep 2013 14:30:13 +0000] FATAL: Stacktrace dumped to
/var/cache/chef/chef-stacktrace.out
[Sat, 21 Sep 2013 14:30:13 +0000] ERROR: Sleeping for 900 seconds before trying
again
Also I checked out /var/log/upstart/ceph-osd-all-starter.log and its reporting
the following
ceph-disk: Error: ceph osd create failed: Command '['/usr/bin/ceph',
'--cluster', 'ceph', '--name', 'client.bootstrap-osd', '--keyring',
'/var/lib/ceph/bootstra$
INFO:ceph-disk:Activating
/dev/disk/by-parttypeuuid/4fbd7e29-9d25-41b8-afd0-062c0ceff05d.3e1a93b4-75ab-4c76-b325-64d88d1ba0fe
2013-09-21 14:30:12.793020 7f1bf4702700 0 librados: client.bootstrap-osd
authentication error (1) Operation not permitted
Error connecting to cluster: PermissionError
ERROR:ceph-disk:Failed to activate
ceph-disk: Error: ceph osd create failed: Command '['/usr/bin/ceph',
'--cluster', 'ceph', '--name', 'client.bootstrap-osd', '--keyring',
'/var/lib/ceph/bootstra$
ceph-disk: Error: One or more partitions failed to activate
Any suggestions how to track this issue down? Sounds like some sort of
permissions issue
Regards,
Ian
Dell Corporation Limited is registered in England and Wales. Company
Registration Number: 2081369
Registered address: Dell House, The Boulevard, Cain Road, Bracknell,
Berkshire, RG12 1LF, UK.
Company details for other Dell UK entities can be found on www.dell.co.uk.
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com