]>
git.proxmox.com Git - pve-storage.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Alexandre Derumier [Fri, 27 Jul 2012 06:00:14 +0000 (08:00 +0200)]
iscsiplugin:volume_size_info
return nothing for now, as we can't get volume used inside the volume, stats are empty.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 27 Jul 2012 06:00:13 +0000 (08:00 +0200)]
add volume_size_info for generic plugin
this use path and file_size_info like before
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 27 Jul 2012 06:00:12 +0000 (08:00 +0200)]
add volume_size_info sub
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Wed, 25 Jul 2012 13:50:23 +0000 (15:50 +0200)]
fix lvmscan
Dietmar Maurer [Thu, 19 Jul 2012 09:22:35 +0000 (11:22 +0200)]
catch exception
Dietmar Maurer [Thu, 19 Jul 2012 09:13:25 +0000 (11:13 +0200)]
bump version to 2.0-26
Alexandre Derumier [Wed, 18 Jul 2012 11:35:02 +0000 (13:35 +0200)]
iscsi: add check_connection
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Wed, 18 Jul 2012 11:35:01 +0000 (13:35 +0200)]
nfs: add check_connection
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Wed, 18 Jul 2012 11:35:00 +0000 (13:35 +0200)]
add check_connection in storage_check_enabled.
Currently, if a storage have an infinite timeout (nfs hard option or iscsi with high timeout for failover),
and if the storage is down or is doing ha failover with dual controller
- pvestatd hang on storage_info. (So pve-manager see the host as down, and hang on differents parts, gui,rrds display)
- pvedaemon hang on differents place (storage disk list,vm_status, hardware info,...)
- I also see a lot of qemu-img info process hanging in uninterruptible sleep state with iscsi storage.
This patch add a check to see if the storage is accessible.
For nfs and iscsi : ping with a timeout of 2 second. (Maybe this can be polish with some kind of filesystem/storage read test with timeout...)
Default for other storage plugins is to check nothing. (not a problem with sheepdog,ceph,libiscsi... as commands have timeout)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Wed, 18 Jul 2012 12:03:30 +0000 (14:03 +0200)]
bump version to 2.0-25
Dietmar Maurer [Wed, 18 Jul 2012 04:04:09 +0000 (06:04 +0200)]
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.
Dietmar Maurer [Tue, 17 Jul 2012 13:10:55 +0000 (15:10 +0200)]
fix sheepdog path
We always need to specify a port, else kvm does not find the disk.
Dietmar Maurer [Tue, 17 Jul 2012 11:26:36 +0000 (13:26 +0200)]
cleanup rbd driver
Dietmar Maurer [Tue, 17 Jul 2012 10:57:44 +0000 (12:57 +0200)]
register all plugins
Dietmar Maurer [Tue, 17 Jul 2012 09:57:40 +0000 (11:57 +0200)]
bump version to 2.0-22
Dietmar Maurer [Tue, 17 Jul 2012 09:55:38 +0000 (11:55 +0200)]
cleanup white space errors
Alexandre Derumier [Sat, 14 Jul 2012 13:53:57 +0000 (15:53 +0200)]
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>
Alexandre Derumier [Sat, 14 Jul 2012 13:53:56 +0000 (15:53 +0200)]
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>
Dietmar Maurer [Mon, 16 Jul 2012 07:51:26 +0000 (09:51 +0200)]
sheepdog: implement storage status
Dietmar Maurer [Mon, 16 Jul 2012 07:13:19 +0000 (09:13 +0200)]
delete trailing white spaces
Dietmar Maurer [Mon, 16 Jul 2012 07:10:17 +0000 (09:10 +0200)]
sheepdog: use '-r' to get sizes in bytes, code cleanup
Use a common method collie_cmd() to assemble command using
correct server/port settings.
Dietmar Maurer [Mon, 16 Jul 2012 05:26:08 +0000 (07:26 +0200)]
register sheepdog plugin
Dietmar Maurer [Mon, 16 Jul 2012 05:18:07 +0000 (07:18 +0200)]
bump version to 2.0-21
Alexandre Derumier [Sat, 14 Jul 2012 13:53:55 +0000 (15:53 +0200)]
add sheepdog plugin
storage definition
-------------------
portal 127.0.0.1:7000
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 13 Jul 2012 13:22:12 +0000 (15:22 +0200)]
set shared=1 to sheepdog plugin
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Mon, 16 Jul 2012 04:45:13 +0000 (06:45 +0200)]
fix offline migration bug
Alway pass volname and storeid to plugin->path()
Alexandre Derumier [Mon, 18 Jun 2012 12:06:39 +0000 (14:06 +0200)]
rbd : add owner attribute when rbs ls
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Mon, 18 Jun 2012 07:48:25 +0000 (09:48 +0200)]
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>
Dietmar Maurer [Mon, 18 Jun 2012 04:30:27 +0000 (06:30 +0200)]
add newline to error message
Alexandre Derumier [Sun, 17 Jun 2012 06:15:45 +0000 (08:15 +0200)]
rbd : rbd_ls: doesn't throw error if pool doesn't contain image
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Wed, 6 Jun 2012 05:10:49 +0000 (07:10 +0200)]
rbd : set shared as default
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Fri, 1 Jun 2012 13:52:56 +0000 (15:52 +0200)]
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>
Alexandre Derumier [Thu, 31 May 2012 08:31:01 +0000 (10:31 +0200)]
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>
Dietmar Maurer [Wed, 23 May 2012 11:11:20 +0000 (13:11 +0200)]
fix return value for path()
Dietmar Maurer [Wed, 23 May 2012 10:56:25 +0000 (12:56 +0200)]
import run_command
Dietmar Maurer [Wed, 23 May 2012 10:48:44 +0000 (12:48 +0200)]
use File::Path
Dietmar Maurer [Wed, 23 May 2012 10:43:28 +0000 (12:43 +0200)]
use Sockets
Dietmar Maurer [Wed, 23 May 2012 06:03:08 +0000 (08:03 +0200)]
update version to 2.0-19
Dietmar Maurer [Wed, 16 May 2012 08:56:29 +0000 (10:56 +0200)]
new plugin architecture
Dietmar Maurer [Mon, 23 Apr 2012 04:31:04 +0000 (06:31 +0200)]
avoid call to lvs when deactivating devices
Because this can be slow if there are many devices.
Dietmar Maurer [Wed, 18 Apr 2012 10:34:39 +0000 (12:34 +0200)]
fix bug #171: fix path_to_volume_id for unmounted NFS
Dietmar Maurer [Thu, 5 Apr 2012 12:40:01 +0000 (14:40 +0200)]
fix bug #148: set maxfiles for default local storage
Dietmar Maurer [Wed, 28 Mar 2012 06:00:59 +0000 (08:00 +0200)]
use dir_glob_* from PVE::Tools
Dietmar Maurer [Wed, 28 Mar 2012 04:36:38 +0000 (06:36 +0200)]
add line break to error message
Dietmar Maurer [Wed, 21 Mar 2012 06:17:11 +0000 (07:17 +0100)]
allow to set option 'maxfiles'
Dietmar Maurer [Tue, 20 Mar 2012 10:27:51 +0000 (11:27 +0100)]
use Digest::SHA instead of Digest::SHA1
Dietmar Maurer [Fri, 9 Mar 2012 08:38:06 +0000 (09:38 +0100)]
new lvm option 'saferemove' to zero-out data when removing LVs
Dietmar Maurer [Wed, 7 Mar 2012 11:32:02 +0000 (12:32 +0100)]
zero-ot data on LVM volumes
Dietmar Maurer [Wed, 22 Feb 2012 11:08:54 +0000 (12:08 +0100)]
delete volume requires Datastore.Allocate
Dietmar Maurer [Wed, 15 Feb 2012 08:33:12 +0000 (09:33 +0100)]
only list iscsi when enabled (content == images)
Dietmar Maurer [Thu, 9 Feb 2012 13:09:23 +0000 (14:09 +0100)]
update version to 2.0-10
Dietmar Maurer [Tue, 7 Feb 2012 11:54:16 +0000 (12:54 +0100)]
also list tar.gz and tar.lzo backup files
Dietmar Maurer [Mon, 6 Feb 2012 09:10:55 +0000 (10:10 +0100)]
fix upload permissions. Only allow iso/tmpl upload.
Dietmar Maurer [Wed, 1 Feb 2012 10:47:44 +0000 (11:47 +0100)]
parse backup files and return owner vmid
Dietmar Maurer [Thu, 26 Jan 2012 12:10:50 +0000 (13:10 +0100)]
use correct package prefix
Dietmar Maurer [Thu, 26 Jan 2012 10:55:28 +0000 (11:55 +0100)]
moved format definition to pve-common
Dietmar Maurer [Thu, 26 Jan 2012 07:38:38 +0000 (08:38 +0100)]
add permission checks
Dietmar Maurer [Thu, 26 Jan 2012 04:55:12 +0000 (05:55 +0100)]
allow optional slash in mount path
Seems NFS4 use that smetimes
Dietmar Maurer [Thu, 1 Dec 2011 07:41:33 +0000 (08:41 +0100)]
use -e to test if volume exists
Because rootdir is a directory, not a file
Dietmar Maurer [Tue, 29 Nov 2011 07:05:38 +0000 (08:05 +0100)]
update version to 2.0-8
Dietmar Maurer [Mon, 28 Nov 2011 06:38:02 +0000 (07:38 +0100)]
fix iscsi size bug
Dietmar Maurer [Fri, 25 Nov 2011 08:43:29 +0000 (09:43 +0100)]
ignore errors from vgs
Dietmar Maurer [Fri, 25 Nov 2011 06:42:26 +0000 (07:42 +0100)]
improve error messages
Dietmar Maurer [Fri, 25 Nov 2011 06:27:25 +0000 (07:27 +0100)]
do not activate LVM volumes with vgchange -aly
Dietmar Maurer [Thu, 17 Nov 2011 11:15:39 +0000 (12:15 +0100)]
fix bug 44: allow to store vztmpl on NFS
Dietmar Maurer [Mon, 14 Nov 2011 06:11:36 +0000 (07:11 +0100)]
improved container support (rootdir)
Dietmar Maurer [Wed, 9 Nov 2011 10:32:42 +0000 (11:32 +0100)]
update version to 2.0-5
Dietmar Maurer [Mon, 7 Nov 2011 10:14:32 +0000 (11:14 +0100)]
allow container rootdir on NFS
Dietmar Maurer [Thu, 3 Nov 2011 08:33:27 +0000 (09:33 +0100)]
fix description
Dietmar Maurer [Thu, 3 Nov 2011 08:26:15 +0000 (09:26 +0100)]
use correct prefix
Dietmar Maurer [Thu, 3 Nov 2011 08:22:53 +0000 (09:22 +0100)]
implement file upload API
Dietmar Maurer [Mon, 31 Oct 2011 10:45:16 +0000 (11:45 +0100)]
add content type attribute
Dietmar Maurer [Thu, 20 Oct 2011 09:05:05 +0000 (11:05 +0200)]
fix parse_volname_dir to support backup images
Dietmar Maurer [Thu, 20 Oct 2011 06:20:37 +0000 (08:20 +0200)]
generate correct manual page and .pod
Dietmar Maurer [Thu, 20 Oct 2011 06:03:38 +0000 (08:03 +0200)]
remove old README file
Dietmar Maurer [Thu, 20 Oct 2011 06:02:52 +0000 (08:02 +0200)]
allow multiple content types
Dietmar Maurer [Tue, 18 Oct 2011 09:23:31 +0000 (11:23 +0200)]
allow backup to local storage and code cleanups
Dietmar Maurer [Wed, 12 Oct 2011 05:39:50 +0000 (07:39 +0200)]
add copy API example for stefan
Dietmar Maurer [Thu, 29 Sep 2011 06:42:00 +0000 (08:42 +0200)]
only activate lvm volumes on local node
Pass -aly to lvcreate.
Dietmar Maurer [Fri, 23 Sep 2011 04:57:40 +0000 (06:57 +0200)]
avoid warning about uninitialize value
Dietmar Maurer [Wed, 21 Sep 2011 10:18:46 +0000 (12:18 +0200)]
depend on lvm2 and clvm
Dietmar Maurer [Wed, 7 Sep 2011 10:01:25 +0000 (12:01 +0200)]
Fix digest handling
Dietmar Maurer [Fri, 26 Aug 2011 04:23:24 +0000 (06:23 +0200)]
fix shared attribute in storage list
Dietmar Maurer [Wed, 24 Aug 2011 08:04:55 +0000 (10:04 +0200)]
add .gitignore
Dietmar Maurer [Wed, 24 Aug 2011 08:03:41 +0000 (10:03 +0200)]
remove Changelog, we now have git
Dietmar Maurer [Tue, 23 Aug 2011 05:43:03 +0000 (07:43 +0200)]
imported from svn 'pve-storage/pve2'