Re: Issue with Ceph setup

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

 



Hi All,
When I run the two commands from prompt, ulimit goes through. But ceph-mon fails, with message:

[3501]: (33) Numerical argument out of domain

-Abhay


On Thu, Sep 12, 2013 at 8:03 PM, Sage Weil <sage@xxxxxxxxxxx> wrote:
[added ceph-users]

On Thu, 12 Sep 2013, Abhay Sachan wrote:
> Hi Mr. Weil,
> I am trying to create a cluster using ceph-deploy utility. I have tried
> version 1.2.2 and 1.2.3, but both the versions fail with the following error
> during monitor creation:
>
> [tea][DEBUG ] deploying mon to tea                                       
> [tea][DEBUG ] remote hostname: tea                                       
> [tea][INFO  ] write cluster configuration to /etc/ceph/{cluster}.conf    
> [tea][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-tea/done    
> [tea][INFO  ] create a done file to avoid re-doing the mon deployment    
> [tea][INFO  ] create the init path if it does not exist                  
> [tea][INFO  ] locating `service` executable...                           
> [tea][INFO  ] found `service` executable: /sbin/service                  
> [tea][INFO  ] Running command: /sbin/service ceph start mon.tea          
> [tea][ERROR ] Traceback (most recent call last):                         
> [tea][ERROR ]   File
> "/usr/lib/python2.6/site-packages/ceph_deploy/hosts/centos/mon/create.py",
> line 18, in create
> [tea][ERROR ]   File
> "/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py", line 10,
> in inner        
> [tea][ERROR ]   File
> "/usr/lib/python2.6/site-packages/ceph_deploy/util/wrappers.py", line 6, in
> remote_call     
> [tea][ERROR ]   File "/usr/lib64/python2.6/subprocess.py", line 502, in
> check_call                               
> [tea][ERROR ]     raise CalledProcessError(retcode,
> cmd)                                                         
> [tea][ERROR ] CalledProcessError: Command '['/sbin/service', 'ceph',
> 'start', 'mon.tea']' returned non-zero exit status 1
> [ceph_deploy.mon][ERROR ] Failed to execute command: /sbin/service ceph
> start mon.tea                                   
> [ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors
>
> Cofiguration:
> Server: RHEL 6.4 Santiago
> Ceph-versions: Tried both cuttlefish as well as dumpling
> ceph-0.67.3-0.el6.x86_64
> ceph-0.61.8-0.el6.x86_64
>
> When I issue the command "service ceph start mon.tea", I get the error:
> Starting Ceph mon.tea on tea...
> failed: 'ulimit -n 32768;  /usr/bin/ceph-mon -i tea --pid-file
> /var/run/ceph/mon.tea.pid -c /etc/ceph/ceph.conf '

What happens when you run this command from the prompt?  Probably either
the ulimit is problematic, or ceph-mon will hopefully give you a helpful
error message...

sage


> Starting ceph-create-keys on tea...
>
> Do you have any idea why it might be failing??
>
> Regards,
> Abhay
>
>

_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux