Alexandre Derumier
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
Dietmar Maurer
e9256323c0
sheepdog: implement storage status
2012-07-16 09:51:26 +02:00
Dietmar Maurer
7f8373d270
delete trailing white spaces
2012-07-16 09:13:19 +02:00
Dietmar Maurer
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
Dietmar Maurer
caf1960c76
register sheepdog plugin
2012-07-16 07:26:08 +02:00
Dietmar Maurer
27a685aee3
bump version to 2.0-21
2012-07-16 07:18:07 +02:00
Alexandre Derumier
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
Alexandre Derumier
1270370d9b
set shared=1 to sheepdog plugin
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-07-16 07:03:42 +02:00
Dietmar Maurer
6bf5629866
fix offline migration bug
...
Alway pass volname and storeid to plugin->path()
2012-07-16 06:45:13 +02:00
Alexandre Derumier
d70e7f6c0d
rbd : add owner attribute when rbs ls
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-06-19 06:42:35 +02:00
Alexandre Derumier
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
Dietmar Maurer
571abaa611
add newline to error message
2012-06-18 06:30:27 +02:00
Alexandre Derumier
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
Alexandre Derumier
4f4f94801d
rbd : set shared as default
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2012-06-06 12:19:09 +02:00
Alexandre Derumier
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
Alexandre Derumier
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
Dietmar Maurer
5521b5805b
fix return value for path()
2012-05-23 13:11:20 +02:00
Dietmar Maurer
be2e0c16b1
import run_command
2012-05-23 12:56:25 +02:00
Dietmar Maurer
d9e4e1ce2c
use File::Path
2012-05-23 12:48:44 +02:00
Dietmar Maurer
7a2d5c1a26
use Sockets
2012-05-23 12:43:28 +02:00
Dietmar Maurer
699cc0292b
update version to 2.0-19
2012-05-23 08:03:08 +02:00
Dietmar Maurer
1dc01b9f30
new plugin architecture
2012-05-23 08:00:13 +02:00
Dietmar Maurer
5c009b733e
avoid call to lvs when deactivating devices
...
Because this can be slow if there are many devices.
2012-04-23 06:31:04 +02:00
Dietmar Maurer
75d75990b4
fix bug #171 : fix path_to_volume_id for unmounted NFS
2012-04-18 12:34:39 +02:00
Dietmar Maurer
369977e8bb
fix bug #148 : set maxfiles for default local storage
2012-04-05 14:40:01 +02:00
Dietmar Maurer
dc2deeb8fe
use dir_glob_* from PVE::Tools
2012-03-28 08:00:59 +02:00
Dietmar Maurer
da156fb3ef
add line break to error message
2012-03-28 06:36:38 +02:00
Dietmar Maurer
446073f681
allow to set option 'maxfiles'
2012-03-23 07:43:28 +01:00
Dietmar Maurer
6bf7eb0903
use Digest::SHA instead of Digest::SHA1
2012-03-20 11:27:51 +01:00
Dietmar Maurer
d642361b29
new lvm option 'saferemove' to zero-out data when removing LVs
2012-03-09 09:43:01 +01:00
Dietmar Maurer
88c3abaf6e
zero-ot data on LVM volumes
2012-03-07 12:32:02 +01:00
Dietmar Maurer
b755bdb0f9
delete volume requires Datastore.Allocate
2012-02-22 12:08:54 +01:00
Dietmar Maurer
0c1473f928
only list iscsi when enabled (content == images)
2012-02-15 09:33:12 +01:00
Dietmar Maurer
31a49afc09
update version to 2.0-10
2012-02-09 14:09:23 +01:00
Dietmar Maurer
888709239d
also list tar.gz and tar.lzo backup files
2012-02-07 12:54:16 +01:00
Dietmar Maurer
1f6610f386
fix upload permissions. Only allow iso/tmpl upload.
2012-02-06 10:10:55 +01:00
Dietmar Maurer
2494896aaa
parse backup files and return owner vmid
2012-02-01 11:47:44 +01:00
Dietmar Maurer
05f697c983
use correct package prefix
2012-01-26 13:10:50 +01:00
Dietmar Maurer
8fba271817
moved format definition to pve-common
2012-01-26 11:55:28 +01:00
Dietmar Maurer
5f642f73b8
add permission checks
2012-01-26 09:25:39 +01:00
Dietmar Maurer
95e8e21cc5
allow optional slash in mount path
...
Seems NFS4 use that smetimes
2012-01-26 05:55:12 +01:00
Dietmar Maurer
db2ec87f83
use -e to test if volume exists
...
Because rootdir is a directory, not a file
2011-12-02 10:31:49 +01:00
Dietmar Maurer
4eab0788e3
update version to 2.0-8
2011-11-29 08:05:38 +01:00
Dietmar Maurer
02fae308ed
fix iscsi size bug
2011-11-28 07:38:02 +01:00
Dietmar Maurer
3af60e62fa
ignore errors from vgs
2011-11-25 09:43:29 +01:00
Dietmar Maurer
f81372ac59
improve error messages
2011-11-25 07:42:26 +01:00
Dietmar Maurer
6703353bb8
do not activate LVM volumes with vgchange -aly
2011-11-25 07:27:25 +01:00
Dietmar Maurer
c63913bf57
fix bug 44: allow to store vztmpl on NFS
2011-11-17 12:15:39 +01:00
Dietmar Maurer
1ac17c745e
improved container support (rootdir)
2011-11-14 07:11:36 +01:00
Dietmar Maurer
874018c6e8
update version to 2.0-5
2011-11-09 11:32:42 +01:00