8c3abf126f
re-add hack for empty pool
...
fresh created and empty rbd pool, throw a 500 error with "pool xxx doesn't contain rbd images" message.
2012-07-18 06:04:09 +02:00
f7a1e35f69
fix sheepdog path
...
We always need to specify a port, else kvm does not find the disk.
2012-07-17 15:12:49 +02:00
411476cd32
cleanup rbd driver
2012-07-17 13:26:36 +02:00
2677f6239d
cleanup white space errors
2012-07-17 11:55:38 +02:00
40cd7d27d5
add nexenta plugin
...
storage definition
------------------
portal 192.168.0.1
target iqn.1986-03.com.sun:....
login myloginwithjsonpermission
password jsonuserpassword
pool Yourpool
blocksize 4K
Signed-off-by: Alexandre Derumier <aderumier@odiso.com >
2012-07-17 11:49:53 +02:00
b345cad347
add iscsidirect plugin
...
This use libiscsi
storage definition:
------------------
portal 192.168.0.1
target iqn.1986-03.com.sun:....
Signed-off-by: Alexandre Derumier <aderumier@odiso.com >
2012-07-17 11:48:27 +02:00
e9256323c0
sheepdog: implement storage status
2012-07-16 09:51:26 +02:00
7f8373d270
delete trailing white spaces
2012-07-16 09:13:19 +02:00
be6339fc3a
sheepdog: use '-r' to get sizes in bytes, code cleanup
...
Use a common method collie_cmd() to assemble command using
correct server/port settings.
2012-07-16 09:10:17 +02:00
e4fc8228a7
add sheepdog plugin
...
storage definition
-------------------
portal 127.0.0.1:7000
Signed-off-by: Alexandre Derumier <aderumier@odiso.com >
2012-07-16 07:14:53 +02:00
1270370d9b
set shared=1 to sheepdog plugin
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com >
2012-07-16 07:03:42 +02:00
6bf5629866
fix offline migration bug
...
Alway pass volname and storeid to plugin->path()
2012-07-16 06:45:13 +02:00
d70e7f6c0d
rbd : add owner attribute when rbs ls
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com >
2012-06-19 06:42:35 +02:00
4e2d3bc8ea
rbd : use keyring file instead keyfile
...
we need 1 keyring by rbd storage
/etc/pve/priv/ceph/storagename.keyring
Signed-off-by: Alexandre Derumier <aderumier@odiso.com >
2012-06-18 13:44:56 +02:00
3e195ccccb
rbd : rbd_ls: doesn't throw error if pool doesn't contain image
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com >
2012-06-18 06:04:57 +02:00
4f4f94801d
rbd : set shared as default
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com >
2012-06-06 12:19:09 +02:00
e5427b0097
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 >
2012-06-02 12:00:33 +02:00
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