webvirtmgr icon indicating copy to clipboard operation
webvirtmgr copied to clipboard

Ceph Storage Need to add version 4.8.9

Open manish-yadav opened this issue 9 years ago • 1 comments

When I try to add a secret, it says "please match requested format", but i have no idea what that format is and i have simply pasted in the cephx key that was created for the user.

http://docs.ceph.com/docs/master/rbd/libvirt/ not clear what to do could please help me out to enable ceph secret. when i am trying to add secret error 501 is also displaying.

manish-yadav avatar Sep 19 '15 20:09 manish-yadav

On the Secrets page, adding a new secret: Ephemeral: no Private: no (not sure the impact of this, maybe yes wouldn't hurt?) Usage: Ceph Data: "client.username secret" (Yes, you actually have the literal word secret in there. Don't worry, the key material part comes later when you edit the secret. client.username is the ceph user you have created. In my case it was 'client.libvirt'.) Create the secret. Then edit the secret you just created. For the value, put in only the base64 part of the ceph key and then click "Set". So the value should be something like "dGhpc2lzc29tZWV4YW1wbGVkYXRhbm90YXJlYWxrZXkuLg=="

On the Create Storage Pool (CEPH tab): Ceph User: Should be the username that you created in ceph, WITHOUT the 'client.' prefix.

Ceph Pool: the name of the pool to use, don't have to do anything unexpected here.

Ceph host: one of the ceph monitor's IP's or FQDNs. I have not figured out how to get all three of the mons in there.

And then pick the secret that you created earlier.

Azendale avatar Sep 06 '16 04:09 Azendale