ansible-role-proxmox
ansible-role-proxmox copied to clipboard
Add support for cephx authentication for Ceph storage backends
Whilst it is possible to create a pve_storage that points to an ceph rbd:
pve_storages:
- name: vm-storage
type: rbd
content:
- images
- rootdir
pool: vm-storage
username: admin
monhost:
- proxmox-test.corp.zenntrix.com:6789
- test-box.corp.zenntrix.com:6789
pve_ceph_pools:
- name: vm-storage
pgs: 64
application: rbd
storage: true
rule: hdd
It is inaccessible due to the keyring not being created. I have only tried this with cephx, i believe it wouldn't be a problem without it.
Has anyone else identified this issue as well? Just to make sure that i am not missing anything else.
There's no logic for creating the keyring, that's correct. You kind of have to do it yourself when configuring it manually, anyway. We can add support for specifying and installing a keyring, though.
https://pve.proxmox.com/pve-docs/chapter-pvesm.html#_authentication