Hi Ishmael
You have to apply correct client.keyring permission to a pool on which you trying to create rbd image. From Admin/Management Node: - create a client keyring. 1. Admin Node: -- ceph auth get-or-create client.rbd mon 'allow r' osd 'allow rwx pool=PoolA' [client.rbd1] key = AQB2kVpXjhq9OBAACIHEUeRs04UqJsbQeNyLRg== 2. Get the keyring from auth list and push the keyring to client node. -- ceph auth get-or-create client.rbd | ssh user@clientA1 sudo tee /etc/ceph/ceph.client.rbd.keyring [client.rbd1] key = AQB2kVpXjhq9OBAACIHEUeRs04UqJsbQeNyLRg== 3. From client Node cat /etc/ceph/ceph.client.rbd.keyring >> /etc/ceph/keyring ceph -s --name client.rbd user@client:$ rbd create PoolA/PoolA_image1 -S 100G --image-format 2 --object-size 32K --image-feature layering --name client.rbd user@client:$ sudo rbd map --image PoolA/PoolA_image1 --name client.rbd /dev/rbd0 -- Rakesh Parkiti ---------- Forwarded message ---------- From: Ishmael Tsoaela <ishmaelt3@xxxxxxxxx> Date: Fri, Jun 17, 2016 at 5:31 PM Subject: image map failed To: ceph-users@xxxxxxxxxxxxxx Hi, Will someone please assist, I am new to cepph and I am trying to map image and this happens: cluster-admin@nodeB:~/.ssh/ceph-cluster$ rbd map data_01 --pool data If someone could help it would be great cluster-admin@nodeB:~/.ssh/ceph-cluster$ ceph -v cluster-admin@nodeB:~/.ssh/ceph-cluster$ lsb_release -r _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com Thanks Rakesh Parkiti Senior Test Engineer |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com