Re: ceph-deploy issue with non-default cluster name?

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

 



Ah, now I see the only purpose of cluster naming is for adding same node to multiple clusters. Thx for the quick pointer. --weiguo

Date: Thu, 9 May 2013 12:52:42 -0700
From: sage@xxxxxxxxxxx
To: wsun2@xxxxxxxxxxx
CC: ceph-users@xxxxxxxxxxxxxx
Subject: Re: [ceph-users] ceph-deploy issue with non-default cluster name?

On Thu, 9 May 2013, w sun wrote:
> I think I ran into a bug with ceph-deploy on cuttlefish? Has anyone else
> seen this?
>
> When creating new monitor, on the server node 1, found the directory
> prepended with default cluster name "ceph" ( was created,
> root@svl-ceph-01:/var/lib/ceph# ll /var/lib/ceph/mon/
> total 12
> drwxr-xr-x 3 root root 4096 May  9 12:22 ./
> drwxr-xr-x 9 root root 4096 May  8 12:14 ../
> drwxr-xr-x 2 root root 4096 May  9 12:22 ceph-svl-ceph-01/

That prepended 'ceph' is the cluster name (which defaults to ceph). Leave
off the --cluster XX arg unless you plan on having a single host
participate in multiple ceph clusters.

sage


>
> ---------------------------------------------------------------------------
> ----------------------------------------------
>
> ceph@svl-ceph-deploy:~/svl-ceph-cluster$ ceph-deploy --overwrite-conf
> --cluster svlCephPoc mon create svl-ceph-0{1,2,3} 
>
> ceph-mon: mon.noname-a 10.33.156.144:6789/0 is local, renaming to
> mon.svl-ceph-01
> ceph-mon: set fsid to 3936e344-5f07-4d1e-b1e8-bc6f14b99bcd
> IO error: /var/lib/ceph/mon/svlCephPoc-svl-ceph-01/store.db/LOCK: No such
> file or directory
> ceph-mon: error opening mon data directory at
> '/var/lib/ceph/mon/svlCephPoc-svl-ceph-01': (22) Invalid argument
> Traceback (most recent call last):
>   File "/home/ceph/ceph-deploy/ceph-deploy", line 9, in <module>
>     load_entry_point('ceph-deploy==0.1', 'console_scripts', 'ceph-deploy')()
>   File "/users/ceph/ceph-deploy/ceph_deploy/cli.py", line 112, in main
>     return args.func(args)
>   File "/users/ceph/ceph-deploy/ceph_deploy/mon.py", line 234, in mon
>     mon_create(args)
>   File "/users/ceph/ceph-deploy/ceph_deploy/mon.py", line 138, in mon_create
>     init=init,
>   File"/users/ceph/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy
> -0.5.1-py2.7.egg/pushy/protocol/proxy.py", line 255, in <lambda>
>     (conn.operator(type_, self, args, kwargs))
>   File"/users/ceph/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy
> -0.5.1-py2.7.egg/pushy/protocol/connection.py", line 66, in operator
>     return self.send_request(type_, (object, args, kwargs))
>   File"/users/ceph/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy
> -0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 323, in
> send_request
>     return self.__handle(m)
>   File"/users/ceph/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy
> -0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 639, in __handle
>     raise e
> pushy.protocol.proxy.ExceptionProxy: Command '['ceph-mon', '--cluster',
> 'svlCephPoc', '--mkfs', '-i', 'svl-ceph-01', '--keyring',
> '/var/lib/ceph/tmp/svlCephPoc-svl-ceph-01.mon.keyring']' returned non-zero
> exit status 1
>
>
>

_______________________________________________ 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