Re: rbd map error: couldn't connect to the cluster!

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

 



You don't specify which client in your rbd command:

rbd map hdb_backup/VCT --id client --keyring /etc/ceph/ceph.client.VCT.keyring

Have you tried this (not sure about upper-case client names, haven't tried that)?

rbd map hdb_backup/VCT --id VCT --keyring /etc/ceph/ceph.client.VCT.keyring


Zitat von Thomas Schneider <74cmonty@xxxxxxxxx>:

Hello,

I'm trying to mount RBD using rbd map, but I get this error message:
# rbd map hdb_backup/VCT --id client --keyring /etc/ceph/ceph.client.VCT.keyring
rbd: couldn't connect to the cluster!

Checking on Ceph server the required permission for relevant keyring exists:
# ceph-authtool -l /etc/ceph/ceph.client.VCT.keyring
[client.VCT]
        key = AQBj3LZjNGn/BhAAG8IqMyH0WLKi4kTlbjiW7g==

# ceph auth get client.VCT
[client.VCT]
        key = AQBj3LZjNGn/BhAAG8IqMyH0WLKi4kTlbjiW7g==
        caps mon = "allow r"
        caps osd = "allow rwx pool hdb_backup object_prefix rbd_data.b768d4baac048b; allow rwx pool hdb_backup object_prefix rbd_header.b768d4baac048b; allow rx pool hdb_backup object_prefix rbd_id.VCT"
exported keyring for client.VCT


Can you please advise how to fix this error?


THX
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx


_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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