Re: setup ceph cluster failed

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

 



On Tue, Jun 15, 2010 at 7:32 PM, Min Zhou <coderplay@xxxxxxxxx> wrote:
> 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?

In order to use btrfs volumes the system needs to access the machines
as root (this is the default behavior). Also note that your 'user'
entry in your ceph.conf is messed up.

>
> 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

This looks like your monitors are down.

Yehuda
--
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