This conclusion is certainly incorrect:
# rbd ls -l hdb_backup | grep VCT
VCT 800 GiB 2
Am 23.02.2023 um 16:01 schrieb Curt:
What does 'rbd ls hbd_backup' return? Or is
your pool VCT? Which if
that's the case those should be switched. 'rbd map VCT/hdb_backup --id
VCT --keyring /etc/ceph/ceph.client.VCT.keyring'
On Thu, Feb 23, 2023 at 6:54 PM Thomas Schneider <74cmonty(a)gmail.com>
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
2023-02-23T15:46:16.848+0100 7f222d19d700 -1
librbd::image::OpenRequest:
failed to refresh image: (1) Operation not permitted
2023-02-23T15:46:16.848+0100 7f222c99c700 -1 librbd::ImageState:
0x5569d8a16ba0 failed to open image: (1) Operation not permitted
rbd: error opening image VCT: (1) Operation not permitted
Am 23.02.2023 um 15:30 schrieb Eugen Block:
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(a)gmail.com>om>:
> 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(a)ceph.io
To unsubscribe send an email to ceph-users-leave(a)ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users(a)ceph.io
To unsubscribe send an email to ceph-users-leave(a)ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users(a)ceph.io
To unsubscribe send an email to ceph-users-leave(a)ceph.io