Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for cephx authentication for Ceph storage backends #84

Open
zenntrix opened this issue Dec 6, 2019 · 2 comments
Open

Add support for cephx authentication for Ceph storage backends #84

zenntrix opened this issue Dec 6, 2019 · 2 comments

Comments

@zenntrix
Copy link
Collaborator

zenntrix commented Dec 6, 2019

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.

@zenntrix
Copy link
Collaborator Author

zenntrix commented Dec 9, 2019

Has anyone else identified this issue as well? Just to make sure that i am not missing anything else.

@lae lae changed the title Create keyring for rbd pool in /etc/pve/priv/ceph Add support for cephx authentication for Ceph storage backends Dec 13, 2019
@lae
Copy link
Owner

lae commented Dec 13, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants