Re: ceph-deploy

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

 



I just found that

#ceph-deploy gatherkeys ceph0 ceph1 ceph2

works only if I have bobtail. cuttlefish can't find ceph.client.admin.
keyring

and then when I try this on bobtail, it says,

root@cephdeploy:~/12.04# ceph-deploy osd create ceph0:/dev/sda3 ceph1:/dev/sda3 ceph2:/dev/sda3
ceph-disk: Error: Device is mounted: /dev/sda3
Traceback (most recent call last):
  File "/usr/bin/ceph-deploy", line 22, in <module>
    main()
  File "/usr/lib/pymodules/python2.7/ceph_deploy/cli.py", line 112, in main
    return args.func(args)
  File "/usr/lib/pymodules/python2.7/ceph_deploy/osd.py", line 293, in osd
    prepare(args, cfg, activate_prepared_disk=True)
  File "/usr/lib/pymodules/python2.7/ceph_deploy/osd.py", line 177, in prepare
    dmcrypt_dir=args.dmcrypt_key_dir,
  File "/usr/lib/python2.7/dist-packages/pushy/protocol/proxy.py", line 255, in <lambda>
    (conn.operator(type_, self, args, kwargs))
  File "/usr/lib/python2.7/dist-packages/pushy/protocol/connection.py", line 66, in operator
    return self.send_request(type_, (object, args, kwargs))
  File "/usr/lib/python2.7/dist-packages/pushy/protocol/baseconnection.py", line 323, in send_request
    return self.__handle(m)
  File "/usr/lib/python2.7/dist-packages/pushy/protocol/baseconnection.py", line 639, in __handle
    raise e
pushy.protocol.proxy.ExceptionProxy: Command '['ceph-disk-prepare', '--', '/dev/sda3']' returned non-zero exit status 1
root@cephdeploy:~/12.04#




On Thu, May 23, 2013 at 10:49 PM, Dewan Shamsul Alam <dewan.shamsul@xxxxxxxxx> wrote:
Hi,

I tried ceph-deploy all day. Found that it has a python-setuptools as dependency. I knew about python-pushy. But is there any other dependency that I'm missing?

The problem I'm getting are as follows:

#ceph-deploy gatherkeys ceph0 ceph1 ceph2
returns the following error,
Unable to find /etc/ceph/ceph.client.admin.keyring on ['ceph0', 'ceph1', 'ceph2']

Once I got passed this, I don't know why it works sometimes. I have been following the exact steps as mentioned in the blog.

Then when I try to do

ceph-deploy osd create ceph0:/dev/sda3 ceph1:/dev/sda3 ceph2:/dev/sda3

It gets stuck.

I'm using Ubuntu 13.04 for ceph-deploy and 12.04 for ceph nodes. I just need to get the cuttlefish working and willing to change the OS if it is required. Please help. :)

Best Regards,
Dewan Shamsul Alam

_______________________________________________
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