Re: [ceph-users] Need help with Ceph error

2013-06-17 Thread Sreejith Keeriyattil
Hi
==
root@xtream:~# service ceph start
=== mds.a ===
Starting Ceph mds.a on xtream...already running
=== osd.0 ===
Mounting xfs on xtream:/var/lib/ceph/osd/ceph-0
2013-06-18 04:26:16.373075 7f30ffd2d700  0 -- :/27212 >> 10.16.23.44:6789/0 
pipe(0x1136490 sd=3 :0 s=1 pgs=0 cs=0 l=1).fault
2013-06-18 04:26:19.373812 7f3106459700  0 -- :/27212 >> 10.16.23.44:6789/0 
pipe(0x7f30f4000c00 sd=3 :0 s=1 pgs=0 cs=0 l=1).fault
2013-06-18 04:26:22.374725 7f30ffd2d700  0 -- :/27212 >> 10.16.23.44:6789/0 
pipe(0x7f30f4003010 sd=3 :0 s=1 pgs=0 cs=0 l=1).fault
2013-06-18 04:26:25.375248 7f3106459700  0 -- :/27212 >> 10.16.23.44:6789/0 
pipe(0x7f30f4003ad0 sd=3 :0 s=1 pgs=0 cs=0 l=1).fault
^C
root@xtream:~# ceph -s
2013-06-18 04:27:24.288603 7f0ead78e700  0 -- :/27292 >> 10.16.23.44:6789/0 
pipe(0x2df7460 sd=3 :0 s=1 pgs=0 cs=0 l=1).fault
2013-06-18 04:27:27.289759 7f0eb3eba700  0 -- :/27292 >> 10.16.23.44:6789/0 
pipe(0x7f0ea4000c00 sd=3 :0 s=1 pgs=0 cs=0 l=1).fault
^C
=

I did some research and tweaks and now am running into this error .Is there any 
command to check connectivity  to monitor?.

Thanks and Regards
Sreejith KJ

-Original Message-
From: Gregory Farnum [mailto:g...@inktank.com]
Sent: Monday, June 17, 2013 11:38 PM
To: Sreejith Keeriyattil
Cc: ceph-us...@ceph.com
Subject: Re: [ceph-users] Need help with Ceph error

Yep, you can't connect to your monitors so nothing else is going to work 
either. There's a wealth of conversations about debugging monitor connection 
issues in the mailing list and irc archives (and I think some in the docs), but 
as a quick start list:
1) make sure the monitor processes are actually running in top
2) connect to them using the admin socket and see what state they think they're 
in
3) see if you can connect to them from their host instead of a different one 
(different keys might be present).
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com


On Sun, Jun 16, 2013 at 11:48 PM, Sreejith Keeriyattil 
 wrote:
> Hi
> The issue it hangs when I type any ceph commands.. :(
> ===
> root@xtream:~# ceph -s
> ^C
> root@xtream:~# service ceph start
> === mds.a ===
> Starting Ceph mds.a on xtream...already running === osd.0 === Mounting
> xfs on xtream:/var/lib/ceph/osd/ceph-0 ^C root@xtream:~#
>
> ==
> Thanks and regards
> Sreejith KJ
>
> -Original Message-
> From: Gregory Farnum [mailto:g...@inktank.com]
> Sent: Friday, June 14, 2013 9:07 PM
> To: Sreejith Keeriyattil
> Cc: ceph-us...@ceph.com
> Subject: Re: [ceph-users] Need help with Ceph error
>
> On Fri, Jun 14, 2013 at 12:20 AM, Sreejith Keeriyattil 
>  wrote:
>> 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 &&
>&g

Re: [ceph-users] Need help with Ceph error

2013-06-17 Thread Gregory Farnum
Yep, you can't connect to your monitors so nothing else is going to
work either. There's a wealth of conversations about debugging monitor
connection issues in the mailing list and irc archives (and I think
some in the docs), but as a quick start list:
1) make sure the monitor processes are actually running in top
2) connect to them using the admin socket and see what state they
think they're in
3) see if you can connect to them from their host instead of a
different one (different keys might be present).
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com


On Sun, Jun 16, 2013 at 11:48 PM, Sreejith Keeriyattil
 wrote:
> Hi
> The issue it hangs when I type any ceph commands.. :(
> ===
> root@xtream:~# ceph -s
> ^C
> root@xtream:~# service ceph start
> === mds.a ===
> Starting Ceph mds.a on xtream...already running
> === osd.0 ===
> Mounting xfs on xtream:/var/lib/ceph/osd/ceph-0
> ^C
> root@xtream:~#
>
> ==
> Thanks and regards
> Sreejith KJ
>
> -Original Message-
> From: Gregory Farnum [mailto:g...@inktank.com]
> Sent: Friday, June 14, 2013 9:07 PM
> To: Sreejith Keeriyattil
> Cc: ceph-us...@ceph.com
> Subject: Re: [ceph-users] Need help with Ceph error
>
> On Fri, Jun 14, 2013 at 12:20 AM, Sreejith Keeriyattil 
>  wrote:
>> 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-c

Re: [ceph-users] Need help with Ceph error

2013-06-16 Thread Sreejith Keeriyattil
Hi
The issue it hangs when I type any ceph commands.. :(
===
root@xtream:~# ceph -s
^C
root@xtream:~# service ceph start
=== mds.a ===
Starting Ceph mds.a on xtream...already running
=== osd.0 ===
Mounting xfs on xtream:/var/lib/ceph/osd/ceph-0
^C
root@xtream:~#

==
Thanks and regards
Sreejith KJ

-Original Message-
From: Gregory Farnum [mailto:g...@inktank.com]
Sent: Friday, June 14, 2013 9:07 PM
To: Sreejith Keeriyattil
Cc: ceph-us...@ceph.com
Subject: Re: [ceph-users] Need help with Ceph error

On Fri, Jun 14, 2013 at 12:20 AM, Sreejith Keeriyattil 
 wrote:
> 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

I think you're still having issues connecting to your monitors. Can you run 
"ceph -s" and provide the output?
-Greg
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
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Need help with Ceph error

2013-06-14 Thread Gregory Farnum
On Fri, Jun 14, 2013 at 12:20 AM, Sreejith Keeriyattil
 wrote:
> 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

I think you're still having issues connecting to your monitors. Can
you run "ceph -s" and provide the output?
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Need help with Ceph error

2013-06-14 Thread Sreejith Keeriyattil
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:g...@inktank.com]
Sent: Thursday, June 13, 2013 9:30 PM
To: Sreejith Keeriyattil
Cc: ceph-us...@ceph.com
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 ===
Mounti

Re: [ceph-users] Need help with Ceph error

2013-06-13 Thread Gregory Farnum
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 
>
> --
>


-- 
Software Engineer #42 @ http://inktank.com | http://ceph.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com