]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage.pm
rados block plugin update
authorAlexandre Derumier <aderumier@odiso.com>
Fri, 1 Jun 2012 13:52:56 +0000 (15:52 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 2 Jun 2012 10:00:33 +0000 (12:00 +0200)
commite5427b0097b44bd3ea320d4c9ec71a57eeeaaf32
treee08063c0c4a0b3fed1a164c39c7978946e274130
parent0509010d6eda953e4695ca2aea39eedf8dd00bc3
rados block plugin update

config file
-----------
rbd: rbdtest
        monhost 10.3.94.27:6789;10.3.94.28:6789;10.3.94.29:6789
        pool pool2
        username admin
        authsupported cephx;none
        content images

key for user admin must be specified in:
---------------------------------------
/etc/pve/priv/ceph/storeid.username.key

/etc/pve/priv/ceph/rbdtest.admin.key   for this exemple.

(so we can have multiple users key by storage and multiple storage with same username)

I change "sub path" in Storage.pm to pass $storeid as third argument.

I rename property id to username, to be more clear.

removal of rbd_ prefix.

removal of trailing whitespace

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/Storage.pm
PVE/Storage/RBDPlugin.pm