]>
git.proxmox.com Git - pve-storage.git/log
Dietmar Maurer [Thu, 30 Jul 2015 06:50:53 +0000 (08:50 +0200)]
bump version to 4.0-13
Wolfgang Bumiller [Tue, 21 Jul 2015 06:44:06 +0000 (08:44 +0200)]
mask world r and group wx permissions in vdisk_alloc
Avoid world-readable disk files being created as suggested
in #416 by setting an umask to strip world permissions as
well as group write/exec permissions before calling
alloc_image.
Dietmar Maurer [Wed, 1 Jul 2015 08:08:19 +0000 (10:08 +0200)]
bump version to 4.0-12
Dietmar Maurer [Wed, 1 Jul 2015 08:06:24 +0000 (10:06 +0200)]
allow templates using .xz compression
Wolfgang Link [Mon, 22 Jun 2015 08:34:45 +0000 (10:34 +0200)]
Fix ZFSPoolPlugin path for subvol
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Fri, 19 Jun 2015 10:12:04 +0000 (12:12 +0200)]
bump version to 4.0-11
Dietmar Maurer [Fri, 19 Jun 2015 10:10:45 +0000 (12:10 +0200)]
drbd: improve error messages
Dietmar Maurer [Thu, 18 Jun 2015 11:53:42 +0000 (13:53 +0200)]
bump version to 4.0-10
Dietmar Maurer [Thu, 18 Jun 2015 11:06:30 +0000 (13:06 +0200)]
drbd: implement deactivate_volume (but code is disabled for now)
Dietmar Maurer [Thu, 18 Jun 2015 10:21:44 +0000 (12:21 +0200)]
drbd: use old code to wait for diskless assignment
Dietmar Maurer [Thu, 18 Jun 2015 09:55:56 +0000 (11:55 +0200)]
drbd: remov hack, because bug is fixed upstream
see http://git.drbd.org/gitweb.cgi?p=drbdmanage.git;a=commitdiff;h=
8056e58b929673afb2d4a33d82fdeea4d43f8667
Dietmar Maurer [Thu, 18 Jun 2015 09:45:04 +0000 (11:45 +0200)]
drbd: correctly check all result codes
Dietmar Maurer [Thu, 18 Jun 2015 04:27:19 +0000 (06:27 +0200)]
drbd: correctly wait for diskless assignments
Dietmar Maurer [Thu, 18 Jun 2015 04:21:38 +0000 (06:21 +0200)]
drbd: improve workaround for set_drbdsetup_props
Dietmar Maurer [Wed, 17 Jun 2015 09:26:32 +0000 (11:26 +0200)]
bump version to 4.0-9
Dietmar Maurer [Wed, 17 Jun 2015 09:23:52 +0000 (11:23 +0200)]
drbd: call set_drbdsetup_props after auto-deploy
Else it gets not assigned. For some unknown reason, we need to sleep
to avoid a split brain?!
Dietmar Maurer [Wed, 17 Jun 2015 06:59:03 +0000 (08:59 +0200)]
bump version to 4.0-8
Dietmar Maurer [Wed, 17 Jun 2015 06:57:32 +0000 (08:57 +0200)]
drbd: set allow-two-primaries=yes
So that we can do live migrations.
Dietmar Maurer [Tue, 16 Jun 2015 08:06:35 +0000 (10:06 +0200)]
bump version to 4.0-7
Dietmar Maurer [Tue, 16 Jun 2015 08:05:22 +0000 (10:05 +0200)]
install trigger for pve-api-updates
Dietmar Maurer [Wed, 10 Jun 2015 08:56:53 +0000 (10:56 +0200)]
bump version to 4.0-6
Wolfgang Link [Tue, 9 Jun 2015 08:01:48 +0000 (10:01 +0200)]
Fix nfsscan
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Bumiller [Tue, 26 May 2015 14:10:30 +0000 (16:10 +0200)]
include ::1 in localhost check in get_active_server
Wolfgang Bumiller [Thu, 21 May 2015 08:24:52 +0000 (10:24 +0200)]
NFS: replace rpcinfo with showmounts
rpcinfo from rpcbind-0.2.1 in debian doesn't support ipv6 addresses.
At the same time the used command only actually tests for
portmapper/rpcbind availability, not for NFS directly.
Storage::scan_nfs uses /sbin/showmount to get a list of NFS exports from a
server and happily accepts ipv6 addresses. It is also more specific to NFS.
Replacing the rpcinfo call with showmount here means checking explicitly
for NFS and supporting IPv6 without the need for an updated rpcbind
package.
Wolfgang Bumiller [Wed, 20 May 2015 14:57:31 +0000 (16:57 +0200)]
NFSPlugin: deal with ipv6 addresses and fix regexps
NFS needs brackets around ipv6 addresses.
Also: nfs_is_mounted needs to quote the variables. This becomes apparent
when ipv6 addresses are used as then the address would otherwise be
treated as a character class, causing the check to always fail.
Wolfgang Bumiller [Wed, 20 May 2015 14:57:30 +0000 (16:57 +0200)]
allow ipv6 addresses in Storage::verify_server
Replaced regex with existing PVE::JSONSchema::verify_... functions.
Dietmar Maurer [Mon, 18 May 2015 12:15:35 +0000 (14:15 +0200)]
drbd: avoid warning about undefined value
Dietmar Maurer [Mon, 18 May 2015 12:12:59 +0000 (14:12 +0200)]
fix typo
Dietmar Maurer [Tue, 12 May 2015 08:40:12 +0000 (10:40 +0200)]
bump version to 4.0-5
Wolfgang Bumiller [Tue, 12 May 2015 07:42:37 +0000 (09:42 +0200)]
ipv6 support for Storage::resolv_server
While in posix gethostbyname(3) does support ipv6, perl's gethostbyname
usually returns wrong results for names, or no results for ipv6
addresses. Since we provide a getaddrinfo helper already, we now use
that instead.
Wolfgang Link [Wed, 6 May 2015 07:57:35 +0000 (09:57 +0200)]
remove running from Storage and check it in QemuServer
It is better to check if a VM is running in QemuServer then in Storage.
for the Storage there is no difference if it is running or not.
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Fri, 1 May 2015 12:42:49 +0000 (14:42 +0200)]
zfspool: new format 'subvol' to handle filesystems inside datasets
We use this for containers.
Dietmar Maurer [Fri, 1 May 2015 09:29:15 +0000 (11:29 +0200)]
correctly parse lxc backup files
Dietmar Maurer [Thu, 30 Apr 2015 04:45:29 +0000 (06:45 +0200)]
ZFSPoolPlugin: allow nested datasets
Dietmar Maurer [Wed, 29 Apr 2015 04:59:48 +0000 (06:59 +0200)]
add newlines to error messages
Dietmar Maurer [Mon, 27 Apr 2015 08:09:18 +0000 (10:09 +0200)]
whitespace cleanups
Wolfgang Link [Mon, 27 Apr 2015 07:27:47 +0000 (09:27 +0200)]
implement offline migration on zfs
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Mon, 23 Mar 2015 11:52:27 +0000 (12:52 +0100)]
bump version to 4.0-4
Dietmar Maurer [Mon, 23 Mar 2015 11:50:13 +0000 (12:50 +0100)]
DRBDPlugin: hack - wait until device is acessible
Dietmar Maurer [Mon, 23 Mar 2015 10:44:04 +0000 (11:44 +0100)]
DRBDPlugin: automatically create diskless assignments
Dietmar Maurer [Mon, 23 Mar 2015 08:38:39 +0000 (09:38 +0100)]
DRBDPlugin: correctly use default redundancy
Dietmar Maurer [Sat, 21 Mar 2015 10:20:18 +0000 (11:20 +0100)]
mark drbd as shared storage
Dietmar Maurer [Sat, 21 Mar 2015 10:02:47 +0000 (11:02 +0100)]
DRBDPlugin: fix bug in status
Dietmar Maurer [Sat, 21 Mar 2015 09:58:44 +0000 (10:58 +0100)]
bump version to 4.0-3
Dietmar Maurer [Sat, 21 Mar 2015 09:58:06 +0000 (10:58 +0100)]
DRBDPlugin: use Net::DBus
Dietmar Maurer [Fri, 20 Mar 2015 16:44:15 +0000 (17:44 +0100)]
add dummy for DRBD9
Dietmar Maurer [Fri, 20 Mar 2015 15:52:18 +0000 (16:52 +0100)]
pvesm add: pass storage type as first argument
Wolfgang Link [Tue, 3 Mar 2015 08:41:30 +0000 (09:41 +0100)]
fix rpcinfo path
change path in jessie of package rpcbind
from /usr/bin/rpcinfo to /usr/sbin/rpcinfo
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Fri, 6 Mar 2015 09:17:41 +0000 (10:17 +0100)]
bump version to 4.0-2
Wolfgang Link [Fri, 6 Mar 2015 08:38:30 +0000 (09:38 +0100)]
fix bug #602: now zfs will wait 5 sec if error msg is "dataset is busy"
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Fri, 6 Mar 2015 07:35:54 +0000 (08:35 +0100)]
depend on cstream
Because it is used by new LVM saferemove_throughput option.
Pawel Boguslawski [Wed, 4 Mar 2015 07:27:12 +0000 (08:27 +0100)]
Fixed LV cleaning function. saferemove_throughput parameter added.
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
Alexandre Derumier [Thu, 5 Mar 2015 09:29:29 +0000 (10:29 +0100)]
rbd: monhost string : escape only ":" character
we need to escape ":" used to defined mon ports
"10.5.0.11:6789; 10.5.0.12:6789; 10.5.0.13:6789"
->
"10.5.0.11\:6789; 10.5.0.12\:6789; 10.5.0.13\:6789"
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Thu, 26 Feb 2015 12:38:01 +0000 (13:38 +0100)]
update package dependencies for Debian Jessie
Dietmar Maurer [Mon, 16 Feb 2015 10:36:47 +0000 (11:36 +0100)]
bump version to 3.0-31
Wolfgang Link [Mon, 16 Feb 2015 09:14:50 +0000 (10:14 +0100)]
change var name to prevent side effects.
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Mon, 16 Feb 2015 09:14:49 +0000 (10:14 +0100)]
Bug-fix alloc_image in ZFSPlugin.pm
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Thu, 12 Feb 2015 08:42:31 +0000 (09:42 +0100)]
bump version to 3.0-30
Wolfgang Link [Thu, 12 Feb 2015 10:38:17 +0000 (11:38 +0100)]
bug-fix for size output
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Thu, 12 Feb 2015 10:40:55 +0000 (11:40 +0100)]
ZFSPoolPlugin: use udevadm settle with --exit-if-exists
And silently ignore error if that command fails.
Dietmar Maurer [Thu, 12 Feb 2015 08:40:17 +0000 (09:40 +0100)]
cleanup error messages
Dietmar Maurer [Thu, 12 Feb 2015 08:28:52 +0000 (09:28 +0100)]
call volume_rollback_is_possible from PVE::Storage::volume_snapshot_rollback
That way it is automatically called for all plungins.
Wolfgang Link [Thu, 12 Feb 2015 07:41:35 +0000 (08:41 +0100)]
Storage: add method volume_rollback_is_possible
add method volume_rollback_is_possible and redactor
Improve error handling
If snapshot is not reversible catch it before vm will lock and shutdown.
This is the case if zfs has an younger snapshot.
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Tue, 10 Feb 2015 11:24:26 +0000 (12:24 +0100)]
zfspoolplugin: fix volume_resize
copy methode volume_resize form ZFSPlugin.pm to ZFSPoolPlugin.pm
refactor volume_resize
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Mon, 9 Feb 2015 11:28:15 +0000 (12:28 +0100)]
bump version to 3.0-29
Wolfgang Link [Tue, 3 Feb 2015 11:59:08 +0000 (12:59 +0100)]
zfs: auto import after reboot
this is necessary, because after a reboot all pools except rpool are gone
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Mon, 2 Feb 2015 08:48:09 +0000 (09:48 +0100)]
ZfsPoolPlugin: fix add disks
now it is possible add disk to an vm on rpool
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Fri, 30 Jan 2015 05:27:26 +0000 (06:27 +0100)]
bump version to 3.0-28
Wolfgang Link [Wed, 28 Jan 2015 09:37:58 +0000 (10:37 +0100)]
zfs: fix wait by alloc_image
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Mon, 26 Jan 2015 08:05:09 +0000 (09:05 +0100)]
implement zfsscan to list local zfs pools
Dietmar Maurer [Sat, 24 Jan 2015 13:30:10 +0000 (14:30 +0100)]
move activate_storage into ZFSPoolPlugin
Dietmar Maurer [Sat, 24 Jan 2015 13:13:24 +0000 (14:13 +0100)]
rename ZFSDirPlugin to ZFSPoolPlugin
Turned out it makes no sense to duplicated DirPlugin features. So I
also changed the name to make it less confusing. So we can only
create zvols inside a zfs pool with this plugin.
Dietmar Maurer [Fri, 23 Jan 2015 12:02:31 +0000 (13:02 +0100)]
bump version to 3.0-27
Dietmar Maurer [Fri, 23 Jan 2015 11:44:50 +0000 (12:44 +0100)]
zfs: remove useless warning inside clone_image
Wolfgang Link [Fri, 23 Jan 2015 09:32:45 +0000 (10:32 +0100)]
zfs: move and refactor code
copy and modify create_base and refactor clone_image
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Fri, 23 Jan 2015 11:38:21 +0000 (12:38 +0100)]
zfs: implement zfs_get_latest_snapshot
To improve code sharing.
Wolfgang Link [Fri, 23 Jan 2015 09:32:44 +0000 (10:32 +0100)]
zfs: move code fix metode call
duplicate code because can't refactor volume_snapshot_rollback
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Fri, 23 Jan 2015 09:32:43 +0000 (10:32 +0100)]
zfs: move code
move activate_volume deactivate_volume from ZFSPlugin to ZFSDirPlugin
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Fri, 23 Jan 2015 09:32:41 +0000 (10:32 +0100)]
zfs: ZFSDirPlugin add methode path
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Fri, 23 Jan 2015 09:32:40 +0000 (10:32 +0100)]
zfs: move methode list_image
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Fri, 23 Jan 2015 09:32:39 +0000 (10:32 +0100)]
zfsdir: implement free_image
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Fri, 23 Jan 2015 09:32:38 +0000 (10:32 +0100)]
zfs: move code
move parse_volume from ZFSPlugin to ZFSDirPlugin, to avoid duplication
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Fri, 23 Jan 2015 09:32:37 +0000 (10:32 +0100)]
zfs: move some code
move the most part of alloc_image to ZFSDirPlugin
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Thu, 22 Jan 2015 09:22:54 +0000 (10:22 +0100)]
zfs: remove duplicate $object definition
Dietmar Maurer [Thu, 22 Jan 2015 09:10:35 +0000 (10:10 +0100)]
zfs: move common code to ZFSDirPlugin
Dietmar Maurer [Thu, 22 Jan 2015 08:45:32 +0000 (09:45 +0100)]
zfs: white space cleanups
Dietmar Maurer [Thu, 22 Jan 2015 08:40:22 +0000 (09:40 +0100)]
zfs: cleanup zfs_get_lu_name
Dietmar Maurer [Thu, 22 Jan 2015 08:37:52 +0000 (09:37 +0100)]
zfs: cleanup zfs_request
Dietmar Maurer [Thu, 22 Jan 2015 08:29:13 +0000 (09:29 +0100)]
zfs: make zfs_request a virtual method
So that we can move common code into ZFSDirPlugin class.
Dietmar Maurer [Thu, 22 Jan 2015 06:58:42 +0000 (07:58 +0100)]
zfsdir: cleanup zfs_parse_size
Dietmar Maurer [Thu, 22 Jan 2015 06:54:10 +0000 (07:54 +0100)]
ZFSDirPlugin: new plugin for local zfs storage
We also want to use this as base class for ZFSPlugin, to increase
code sharing.
Dietmar Maurer [Fri, 21 Nov 2014 07:04:12 +0000 (08:04 +0100)]
bump version to 3.0-26
Alexandre Derumier [Thu, 20 Nov 2014 15:01:44 +0000 (16:01 +0100)]
rbd, zfs, sheepdog: bugfix : fix alloc_image if name is specified
Currently vmstate snapshot with rbd have wrong name,
because rbd alloc_image don't care if $name is provided
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Sat, 25 Oct 2014 07:47:39 +0000 (09:47 +0200)]
bump version to 3.0-25
Michael Rasmussen [Fri, 24 Oct 2014 22:16:32 +0000 (00:16 +0200)]
fix modification of read only bug
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Dietmar Maurer [Fri, 17 Oct 2014 07:30:47 +0000 (09:30 +0200)]
bump version to 3.0-24
Stoyan Marinov [Thu, 16 Oct 2014 16:14:18 +0000 (19:14 +0300)]
Add transport option for glusterfs storage
Signed-off-by: Stoyan Marinov <stoyan@marinov.us>
Dietmar Maurer [Wed, 10 Sep 2014 12:18:42 +0000 (14:18 +0200)]
bump version to 3.0-23
Dietmar Maurer [Wed, 10 Sep 2014 12:15:11 +0000 (14:15 +0200)]
allow iso upload for glusterfs
Dietmar Maurer [Wed, 27 Aug 2014 09:31:42 +0000 (11:31 +0200)]
bump version to 3.0-22