Closed Emmenemoi closed 8 years ago
Great idea to use cephx user, but as far as i know, rbd-fuse
doesn't support --name
option. It uses only client.admin user by default and this behaviour can't be changed.
So that the string
util.pread2(["rbd-fuse", "-p", self.CEPH_POOL_NAME, self.SR_ROOT, "--name", self.CEPH_USER])
in SR.attach function in cephutils.py
may cause an error.
Anyway, I think we can merge this request, but FUSE mode should be tested.
I'll post an update to fallback to default mode if the user is different than admin
Add ansible playbook to deploy the plugin to xenserver hosts
Add the possibility to configure a specific cephx user to be used (using SR "other_config : user" variable).
Modify the image creation to use rbd image format 2 (If necessary, I could also add this as a config in SR other_config).