Hi
To keep it simple I disabled cephx authentication but after that am getting the
below error.
========================================================================================
root@xtream:/etc/ceph# service ceph -v start
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n mon.a "user"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n mds.a "user"
=== mds.a ===
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n mds.a "pid file"
--- xtream# mkdir -p /var/run/ceph
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n mds.a "log dir"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n mds.a "auto start"
--- xtream# [ -e /var/run/ceph/mds.a.pid ] || exit 1 # no pid, presumably not
pid=`cat /var/run/ceph/mds.a.pid`
[ -e /proc/$pid ] && grep -q ceph-mds /proc/$pid/cmdline && grep -qwe -i
exit 1 # pid is something else
Starting Ceph mds.a on xtream...already running
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "user"
=== osd.0 ===
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "pid file"
--- xtream# mkdir -p /var/run/ceph
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "log dir"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "auto start"
--- xtream# [ -e /var/run/ceph/osd.0.pid ] || exit 1 # no pid, presumably not
pid=`cat /var/run/ceph/osd.0.pid`
[ -e /proc/$pid ] && grep -q ceph-osd /proc/$pid/cmdline && grep -qwe -i
exit 1 # pid is something else
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "copy executable to"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "osd data"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "fs path"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "devs"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "lock file"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "admin socket"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "max open files"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "restart on core dump"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "valgrind"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "pre mount command"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "osd mkfs type"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "osd mount options xfs"
--- xtream# true
Mounting xfs on xtream:/var/lib/ceph/osd/ceph-0
--- xtream# modprobe xfs ; egrep -q '^[^ ]+ /var/lib/ceph/osd/ceph-0' /proc/moun
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "osd crush update on start"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "osd crush location"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "osd crush initial weight"
/usr/bin/ceph-conf -c /etc/ceph/ceph.conf -n osd.0 "keyring"
It hangs after this
My ceph.conf file looks like this
root@xtream:/etc/ceph# cat ceph.conf
[global]
keyring = /etc/ceph/keyring
fsid = 6d73e316-b895-41b0-b883-2dd4bdad2637
mon_initial_members = xtream1
mon_host = 10.16.23.44
auth_supported = none
auth_cluster_required = none
auth_service_required = none
auth_client_required = none
[osd]
keyring = /etc/ceph/ceph.bootstrap-osd.keyring
osd_mkfs_type = xfs
osd_journal_size = 1024
filestore_xattr_use_omap = true
[mon.a]
host = xtream1
mon_addr = 10.16.23.42
[osd.0]
keyring = /etc/ceph/ceph.bootstrap-osd.keyring
host = xtream
devs = /dev/sdc1
[mds.a]
host = xtream
Any Idea, am really stuck here...:(
============================================================================================
From: Gregory Farnum [mailto:[email protected]]
Sent: Thursday, June 13, 2013 9:30 PM
To: Sreejith Keeriyattil
Cc: [email protected]
Subject: Re: [ceph-users] Need help with Ceph error
Both of those errors are "unable to authenticate". The daemons aren't finding
your authentication keys where they expect to (generally in /var/lib/ceph or an
appropriate subdir); if you set these up manually you new to copy them over
(and perhaps generate them). The documentation on the website should include
all these steps; I'd go back and review that.
-Greg
On Thursday, June 13, 2013, Sreejith Keeriyattil wrote:
Hi Ceph lovers
I really need some help here.Iam trying to setup a test ceph cluster and do a
case study on ceph storage.
So that I can propose it to customers who needs scalable storage .I started
with documentation provided in your website but am stuck with an error
.....................................................
root@xtream:~# ceph -w
2013-06-09 09:35:32.514169 7f7270440780 -1 unable to authenticate as
client.admin
2013-06-09 09:35:32.517400 7f7270440780 -1 ceph_tool_common_init failed.
Server Ubuntu 12.04
Ceph version 0.61.2
root@xtream:~# service ceph start
=== mds.a ===
Starting Ceph mds.a on xtream...
starting mds.a at :/0
=== osd.0 ===
Mounting xfs on xtream:/var/lib/ceph/osd/ceph-0
2013-06-09 09:43:23.154928 7f1f95184780 -1 unable to authenticate as osd.0
2013-06-09 09:43:23.156447 7f1f95184780 -1 ceph_tool_common_init failed.
Starting Ceph osd.0 on xtream...
starting osd.0 at :/0 osd_data /var/lib/ceph/osd/ceph-0 /var/lib/ceph/osd/ceph-0
/journal
...................................................
Please some one guide me or help at least with starting ceph service.
Thanks and regards
Sreejith KJ
________________________________
Happiest Minds Disclaimer
This message is for the sole use of the intended recipient(s) and may contain
confidential, proprietary or legally privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
original intended recipient of the message, please contact the sender by reply
email and destroy all copies of the original message.
Happiest Minds Technologies <http://www.happiestminds.com>
________________________________
--
Software Engineer #42 @ http://inktank.com | http://ceph.com
________________________________
Happiest Minds Disclaimer
This message is for the sole use of the intended recipient(s) and may contain
confidential, proprietary or legally privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
original intended recipient of the message, please contact the sender by reply
email and destroy all copies of the original message.
Happiest Minds Technologies <http://www.happiestminds.com>
________________________________
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com