Ceph: rbd map command fails with error --user is deprecated, use --id

cmonty14

Well-Known Member
Mar 4, 2014
343
5
58
Hello,

I created several RBDs in previous Ceph version, and typically I mapped these RBDs using command
rbd map --user <user> --keyring <path/to/keyring> <pool>/<image>

However I get this error now trying to map image GML:
Code:
2023-01-02T14:58:22.635+0100 7f0559c19700 -1 librbd::image::GetMetadataRequest: 0x7f05380021b0 handle_metadata_list: failed to retrieve image metadata: (1) Operation not permitted
2023-01-02T14:58:22.635+0100 7f0559c19700 -1 librbd::image::RefreshRequest: failed to retrieve pool metadata: (1) Operation not permitted
2023-01-02T14:58:22.635+0100 7f0559c19700 -1 librbd::image::OpenRequest: failed to refresh image: (1) Operation not permitted
2023-01-02T14:58:22.639+0100 7f0559c19700 -1 librbd::ImageState: 0x5576f6625560 failed to open image: (1) Operation not permitted
rbd: error opening image GML: (1) Operation not permitted
rbd: --user is deprecated, use --id

Can you please advise how to fix this error?


THX
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!