Re: RDB

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

 



Hi All,

A bit of an update... I should have run the command from my-cluster directory. I am now receiving this error:

alphaceph@cephadmin1:~/ceph-deploy/my-cluster$ rbd create fooimage --size 1024 --pool barpool -m cephserver1.zion.bt.co.uk -k /etc/ceph/ceph.client.admin.keyring
2013-06-17 08:55:14.751204 7f1b28950780 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication
2013-06-17 08:55:14.751212 7f1b28950780  0 librados: client.admin initialization error (2) No such file or directory
rbd: couldn't connect to the cluster!

More FYI....
alphaceph@cephadmin1:~/ceph-deploy/my-cluster$ more ceph.client.admin.keyring

[client.admin]
        key = AQCp5rNRkBLCHRAAOqfY/24mkYCQZ7sNy/8BDA==

alphaceph@cephadmin1:~/ceph-deploy/my-cluster$ more ceph.conf
[global]
fsid = 5e29db66-a1f1-4220-aa19-ab82020adc78
mon initial members = cephserver1
mon host = 10.255.40.22
auth supported = cephx
osd journal size = 1024
filestore xattr use omap = true
osd crush chooseleaf type = 0


Thanks
Gary


On Mon, Jun 17, 2013 at 8:37 AM, Gary Bruce <garyofscotland@xxxxxxxxx> wrote:
Hi All,

I finally got around to progressing with this but immediately got this message. Any thoughts?

alphaceph@cephadmin1:~$ rbd create fooimage --size 1024 --pool barpool -m cephserver1.zion.bt.co.uk -k /etc/ceph/ceph.client.admin.keyring
2013-06-17 08:38:43.955683 7f76a6b72780 -1 did not load config file, using default settings.
2013-06-17 08:38:43.962518 7f76a6b72780 -1 monclient(hunting): authenticate NOTE: no keyring found; disabled cephx authentication
2013-06-17 08:38:43.962541 7f76a6b72780  0 librados: client.admin authentication error (95) Operation not supported
rbd: couldn't connect to the cluster!

FYI...
alphaceph@cephserver1:~$ sudo more /etc/ceph/ceph.client.admin.keyring

[client.admin]
        key = AQCp5rNRkBLCHRAAOqfY/24mkYCQZ7sNy/8BDA==
alphaceph@cephserver1:~$ sudo more /etc/ceph/ceph.conf
[global]
fsid = 5e29db66-a1f1-4220-aa19-ab82020adc78
mon_initial_members = cephserver1
mon_host = 10.255.40.22
auth_supported = cephx
osd_journal_size = 1024
filestore_xattr_use_omap = true
osd_crush_chooseleaf_type = 0

Thanks in advance.
Gary


On Tue, Jun 11, 2013 at 8:14 PM, John Wilkins <john.wilkins@xxxxxxxxxxx> wrote:
Gary,

I've added that instruction to the docs. It should be up shortly. Let
me know if you have other feedback for the docs.

Regards,

John

On Mon, Jun 10, 2013 at 9:13 AM, Gary Bruce <garyofscotland@xxxxxxxxx> wrote:
> Hi again,
>
> I don't see anything in http://ceph.com/docs/master/start/ that mentions
> installing ceph-common or a package that would have it as a dependency on
> the admin server. If there's a gap in the documentation, I'd like to help
> address it.
>
> If I need to install ceph-common on my admin node, how should I go about
> doing it as this is not clear from the documentation. Some possible
> approaches are to run one of these commands from my admin node, cephadmin1:
>
> *** sudo apt-get install ceph-common
> *** sudo apt-get install ceph
> *** ceph-deploy install --stable cuttlefish cephadmin1    // I used
> "ceph-deploy install --stable cuttlefish cephserver1" to install ceph on my
> server node from my admin node.
>
> Any thoughts on the most appropriate way to install ceph-common (and other
> required packages) on cephadmin?
>
> Thanks
> Gary
>
>
> On Sun, Jun 9, 2013 at 10:03 AM, Smart Weblications GmbH
> <info@xxxxxxxxxxxxxxxxxxxxx> wrote:
>>
>> Hi,
>>
>> Am 09.06.2013 10:42, schrieb Gary Bruce:
>> > Hi,
>> >
>> > I'm trying to run this from my admin node, have I missed a step?
>> >
>> >
>> > alphaceph@cephadmin1:~/ceph-deploy/my-cluster$ rbd create fooimage
>> > --size 1024
>> > --pool barpool -m cephserver1.zion.bt.co.uk
>> > <http://cephserver1.zion.bt.co.uk>
>> > -k /etc/ceph/ceph.client.admin.keyring
>>
>>
>> Look:
>>
>> > The program 'rbd' is currently not installed. To run 'rbd' please ask
>> > your
>> > administrator to install the package 'ceph-common'
>> >
>>
>> Maybe you missed installing ceph-common on your host cephadmin1
>>
>>
>>
>> --
>>
>> Mit freundlichen Grüßen,
>>
>>
>> Smart Weblications GmbH
>> Martinsberger Str. 1
>> D-95119 Naila
>>
>> fon.: +49 9282 9638 200
>> fax.: +49 9282 9638 205
>> 24/7: +49 900 144 000 00 - 0,99 EUR/Min*
>> http://www.smart-weblications.de
>>
>> --
>> Sitz der Gesellschaft: Naila
>> Geschäftsführer: Florian Wiessner
>> HRB-Nr.: HRB 3840 Amtsgericht Hof
>> *aus dem dt. Festnetz, ggf. abweichende Preise aus dem Mobilfunknetz
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



--
John Wilkins
Senior Technical Writer
Intank
john.wilkins@xxxxxxxxxxx
(415) 425-9599
http://inktank.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