Re: installation help

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

 



thanks for help.
moving slowly forward.
cheers
Wojciech
On 06/12/13 13:54, Alfredo Deza wrote:
On Fri, Dec 6, 2013 at 5:13 AM, Wojciech Giel
<wojciech.giel@xxxxxxxxxxxxxx> wrote:
Hello,
I trying to install ceph but can't get it working documentation is not clear
and confusing how to do it.
I have cloned 3 machines with ubuntu 12.04 minimal system. I'm trying to
follow docs

http://ceph.com/docs/master/start/quick-start-preflight/

but got some questions:

step 4. Configure your ceph-deploy admin node with password-less SSH access
This should be done on ceph account, its't it?

next:
http://ceph.com/docs/master/start/quick-ceph-deploy/

creating directories  for maintaining the configuration for ceph-deploy is
on ceph account or root?
do all following step in docs are on ceph account or root?
if on ceph account step 3. creating mon on 3 machines gives on two remote
machines these errors:


[ceph1][DEBUG ] locating the `service` executable...
[ceph1][INFO  ] Running command: sudo initctl emit ceph-mon cluster=ceph
id=ceph1
[ceph1][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon
/var/run/ceph/ceph-mon.ceph1.asok mon_status
[ceph1][ERROR ] admin_socket: exception getting command descriptions: [Errno
2] No such file or directory
[ceph1][WARNIN] monitor: mon.ceph1, might not be running yet
[ceph1][INFO  ] Running command: sudo ceph --cluster=ceph --admin-daemon
/var/run/ceph/ceph-mon.ceph1.asok mon_status
[ceph1][ERROR ] admin_socket: exception getting command descriptions: [Errno
2] No such file or directory
[ceph1][WARNIN] ceph1 is not defined in `mon initial members`
[ceph1][WARNIN] monitor ceph1 does not exist in monmap
[ceph1][WARNIN] neither `public_addr` nor `public_network` keys are defined
for monitors
[ceph1][WARNIN] monitors may not be able to form quorum

step 4. gathering keys should it be from all mon servers?

checking status on ceph account gives:
$ ceph health
2013-12-06 09:48:41.550270 7f16b6eea700 -1 monclient(hunting): ERROR:
missing keyring, cannot use cephx for authentication
2013-12-06 09:48:41.550278 7f16b6eea700  0 librados: client.admin
initialization error (2) No such file or directory
Error connecting to cluster: ObjectNotFound

on root account:
# ceph status
     cluster 5ee9b196-ef36-46dd-870e-6ef1824b1cd0
      health HEALTH_ERR 192 pgs stuck inactive; 192 pgs stuck unclean; no
osds
      monmap e1: 1 mons at {ceph0=192.168.45.222:6789/0}, election epoch 2,
quorum 0 ceph0
      osdmap e1: 0 osds: 0 up, 0 in
       pgmap v2: 192 pgs, 3 pools, 0 bytes data, 0 objects
             0 kB used, 0 kB / 0 kB avail
                  192 creating

Ceph management after installation should it be done on root or ceph
account?

I've attached typescrpi from what I have done.
I just went through your typescript and you did call `new` but not for
all the hosts you are using:

ceph-deploy new ceph0

And then you did:

ceph-deploy install ceph0 ceph1 ceph2

And finally (reason why you have issues) you tried to deploy a mon to
those hosts that were not
defined in your ceph.conf:

ceph-deploy mon create ceph0 ceph1 ceph2

You see, you need to define those as well when calling `new` like:


ceph-deploy new ceph0 ceph1 ceph2


thanks
Wojciech



_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux