Commit Graph

5 Commits

Author SHA1 Message Date
0509010d6e Add rados block plugin storage
This add rados plugin storage.

We need rbd command from ceph repository (ceph-common package) to create/delete volumes,I didn't have add depends for the moment.

/etc/pve/storage.cfg sample config

rbd: rbdtest
        rbd_monhost 10.3.94.27:6789;10.3.94.28:6789;10.3.94.29:6789
        rbd_pool pool2
        rbd_id admin
        rbd_key AQAmOcZPwNY7GRAAuvJjVAKIm1r3JKqLCa4LGQ==
        rbd_authsupported cephx;none
        content images

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-06-01 07:18:11 +02:00
5521b5805b fix return value for path() 2012-05-23 13:11:20 +02:00
be2e0c16b1 import run_command 2012-05-23 12:56:25 +02:00
d9e4e1ce2c use File::Path 2012-05-23 12:48:44 +02:00
1dc01b9f30 new plugin architecture 2012-05-23 08:00:13 +02:00