Re: setup ceph cluster failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Yehuda,




On Wed, Jun 16, 2010 at 5:19 AM, Yehuda Sadeh Weinraub
<yehudasa@xxxxxxxxx> wrote:
> On Tue, Jun 15, 2010 at 1:54 PM, Min Zhou <coderplay@xxxxxxxxx> wrote:
>>
>>
>> Still two questions:
>> 1. Why it prompted the need of all osd's root passwords?
> You specified --allhosts in the mkcephfs script command line. The
> script uses ssh to run commands on the remote hosts, so you'd probably
> need to setup your environment so that it doesn't prompt for password
> when you login there (e.g., one way to do it is to create a
> private/public keys pair, put the copy of your public key in the
> remote host under ~/.ssh/authorized_keys).


Actually, my machines were configured to SSH to without being prompted
for a password from any node to another one under the same user
account ceph. Why the system ask me for root passwords?

Btw, it seems there is still somewhat incorrectnesses of my
deployment, see below

$ ceph  -c ceph_conf/ceph.conf  start
10.06.16 05:00:29.182841 439bc940 -- :/10572 >> 192.168.0.2:6789/0
pipe(0x108f2df0 sd=-1 pgs=0 cs=0 l=0).fault first fault
10.06.16 05:00:39.185779 42fbb940 monclient(hunting): continuing hunt
10.06.16 05:00:39.186014 41ab6940 -- :/10572 >> 192.168.0.2:6789/0
pipe(0x108f58b0 sd=-1 pgs=0 cs=0 l=0).fault first fault
10.06.16 05:00:49.188963 42fbb940 monclient(hunting): continuing hunt
10.06.16 05:00:49.189299 443bd940 -- :/10572 >> 192.168.0.3:6789/0
pipe(0x108f5ee0 sd=-1 pgs=0 cs=0 l=0).fault first fault
10.06.16 05:00:59.192191 42fbb940 monclient(hunting): continuing hunt
10.06.16 05:00:59.192630 44dbe940 -- :/10572 >> 192.168.0.3:6789/0
pipe(0x108f7020 sd=-1 pgs=0 cs=0 l=0).fault first fault
10.06.16 05:01:09.195363 42fbb940 monclient(hunting): continuing hunt
10.06.16 05:01:09.195714 457bf940 -- :/10572 >> 192.168.0.3:6789/0
pipe(0x108f65e0 sd=-1 pgs=0 cs=0 l=0).fault first fault
10.06.16 05:01:19.198552 42fbb940 monclient(hunting): continuing hunt


Thanks,
Min


>> 2. Why it still has warning that tell me no keyring specified for each osd.
>
> Probably because there wasn't any keyring specified in your ceph.conf.
> As you don't setup your ceph cluster with authentication it doesn't
> really matter.
>
> Yehuda
>



-- 
My research interests are distributed systems, parallel computing and
bytecode based virtual machine.

My profile:
http://www.linkedin.com/in/coderplay
My blog:
http://coderplay.javaeye.com
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux