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

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

 



On Thu, Feb 23, 2023 at 3:53 PM Thomas Schneider <74cmonty@xxxxxxxxx> wrote:
>
> Hm... I'm not sure about the correct rbd command syntax, but I thought
> it's correct.
>
> Anyway, using a different ID fails, too:
> # rbd map hdb_backup/VCT --id client.VCT --keyring
> /etc/ceph/ceph.client.VCT.keyring
> rbd: couldn't connect to the cluster!
>
> # rbd map hdb_backup/VCT --id VCT --keyring
> /etc/ceph/ceph.client.VCT.keyring
> 2023-02-23T15:46:16.848+0100 7f222d19d700 -1
> librbd::image::GetMetadataRequest: 0x7f220c001ef0 handle_metadata_list:
> failed to retrieve image metadata: (1) Operation not permitted
> 2023-02-23T15:46:16.848+0100 7f222d19d700 -1
> librbd::image::RefreshRequest: failed to retrieve pool metadata: (1)
> Operation not permitted

Hi Thomas,

At the very least, you are missing a permission for metadata_list
method:

  allow class rbd metadata_list pool hdb_backup

Thanks,

                Ilya
_______________________________________________
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