]>
git.proxmox.com Git - pve-storage.git/log
Dietmar Maurer [Wed, 9 Dec 2015 08:26:23 +0000 (09:26 +0100)]
bump version to 4.0-37
Wolfgang Bumiller [Wed, 9 Dec 2015 07:44:50 +0000 (08:44 +0100)]
nfs/glusterfs: is_mounted fixes
The parse_proc_mounts change made the glusterfs is_mounted
check fail (causing it to be shown as inactive on the GUI).
The NFS check was stricter (not allowing a trailing / in the
source anymore).
Dietmar Maurer [Wed, 9 Dec 2015 07:27:19 +0000 (08:27 +0100)]
set RELEASE=4.1
Dietmar Maurer [Wed, 9 Dec 2015 06:40:44 +0000 (07:40 +0100)]
bump version to 4.0-36
Dietmar Maurer [Wed, 9 Dec 2015 06:38:36 +0000 (07:38 +0100)]
Revert "Change zfspoolplugin path when snapshot is given."
This reverts commit
fdd31ce7594ffc4ccea68260091989a3cbc07cdb .
The assumption was wrong. Turned out that we cannot assume
snapshots are always mounted there.
Dietmar Maurer [Thu, 26 Nov 2015 11:06:06 +0000 (12:06 +0100)]
bump version to 4.0-35
Wolfgang Bumiller [Tue, 24 Nov 2015 08:43:13 +0000 (09:43 +0100)]
allow rx permissions for group/world on .subvol dirs
vdisk_alloc comes in with an umask of 0037, which means the
.subvol dir has permissions 0740, which means that the root
directory of containers has permissions 0740, essentially
preventing the users inside a container from accessing
anything.
Dietmar Maurer [Thu, 19 Nov 2015 11:38:56 +0000 (12:38 +0100)]
bump version to 4.0-34
Wolfgang Link [Thu, 19 Nov 2015 11:28:20 +0000 (12:28 +0100)]
Change zfspoolplugin path when snapshot is given.
Zfs subvol snapshots are always mounted under $path_of_subvol/.zfs/$snapname
Dietmar Maurer [Wed, 18 Nov 2015 10:01:57 +0000 (11:01 +0100)]
bump version to 4.0-33
Phillip Schichtel [Thu, 12 Nov 2015 19:00:37 +0000 (20:00 +0100)]
Fixed ZFS over iSCSI snapshot rollback
I converted several zfs_request($class, ...) calls to $class->zfs_request(...) calls in ZFSPoolPlugin.pm and removed a superfluous $class parameter in ZFSPlugin.pm.
Fixes #816
Signed-off-by: Phillip Schichtel <phillip.public@schich.tel>
Dietmar Maurer [Sat, 14 Nov 2015 09:38:24 +0000 (10:38 +0100)]
bump version to 4.0-32
Wolfgang Bumiller [Fri, 13 Nov 2015 11:21:44 +0000 (12:21 +0100)]
make use of the new ProcFSTools::parse_proc_mounts
Dietmar Maurer [Thu, 12 Nov 2015 10:15:37 +0000 (11:15 +0100)]
lvmthin: enable copy from snapshot feature
Dietmar Maurer [Thu, 12 Nov 2015 10:14:47 +0000 (11:14 +0100)]
lvmthin: allow to acces snapshots in filesystem_path
Dietmar Maurer [Thu, 12 Nov 2015 08:47:49 +0000 (09:47 +0100)]
lvmthin: fix used space (only use data%)
Dietmar Maurer [Thu, 12 Nov 2015 08:31:45 +0000 (09:31 +0100)]
lvmthin: implement template/clone
Dietmar Maurer [Thu, 12 Nov 2015 08:29:00 +0000 (09:29 +0100)]
new helper lvm_find_free_diskname()
Dietmar Maurer [Thu, 12 Nov 2015 07:02:50 +0000 (08:02 +0100)]
lvmthin alloc_image: add additional test if VG exists
Dietmar Maurer [Thu, 12 Nov 2015 06:28:28 +0000 (07:28 +0100)]
lvmthin: implement snapshot and rollback
Dietmar Maurer [Wed, 11 Nov 2015 09:18:44 +0000 (10:18 +0100)]
lvmthin volume_resize: reuse code from parent class
Dietmar Maurer [Wed, 11 Nov 2015 08:17:31 +0000 (09:17 +0100)]
white space cleanups
Dietmar Maurer [Wed, 11 Nov 2015 08:07:55 +0000 (09:07 +0100)]
LvmThinPlugin: improve basic functionality, better code reuse
Dietmar Maurer [Wed, 11 Nov 2015 07:42:08 +0000 (08:42 +0100)]
implement generic lvm_list_volumes()
This replace lvm_lvs, and return a list of all volumes. That way
we can reuse code for LvmThin.
Dietmar Maurer [Mon, 9 Nov 2015 10:05:57 +0000 (11:05 +0100)]
add lvm thin plugin
Dietmar Maurer [Mon, 9 Nov 2015 05:47:44 +0000 (06:47 +0100)]
move format registration to Plugin.pm
Dietmar Maurer [Fri, 6 Nov 2015 15:40:35 +0000 (16:40 +0100)]
bump version to 4.0-31
Dietmar Maurer [Fri, 6 Nov 2015 15:39:17 +0000 (16:39 +0100)]
zfs: enable posixacl and xattr for subvolumes
Dietmar Maurer [Fri, 6 Nov 2015 07:37:02 +0000 (08:37 +0100)]
bump version to 4.0-30
Wolfgang Link [Thu, 5 Nov 2015 13:24:07 +0000 (14:24 +0100)]
fix bug #809: inheritance from ZFSPoolPlugin is not possible because we have to handle there subvols too.
Dietmar Maurer [Mon, 2 Nov 2015 16:14:21 +0000 (17:14 +0100)]
bump version to 4.0-29
Dietmar Maurer [Mon, 2 Nov 2015 16:12:14 +0000 (17:12 +0100)]
ISCSIPlugin: improve session parser
Dietmar Maurer [Wed, 28 Oct 2015 10:31:18 +0000 (11:31 +0100)]
bump version to 4.0-28
Wolfgang Link [Wed, 28 Oct 2015 09:41:04 +0000 (10:41 +0100)]
insert the format type at volume_resize
qemu-img needs now the format to resize image.
Wolfgang Bumiller [Thu, 15 Oct 2015 07:41:09 +0000 (09:41 +0200)]
fix bug #769: migrate: use -p on 'zfs send' to include properties
Philipp Marek [Thu, 8 Oct 2015 08:24:47 +0000 (10:24 +0200)]
DRBD: Fix typo in comment.
Philipp Marek [Thu, 8 Oct 2015 08:24:46 +0000 (10:24 +0200)]
DRBD: Remove search loop, limit results via the query.
Dietmar Maurer [Mon, 12 Oct 2015 04:54:37 +0000 (06:54 +0200)]
bump version to 4.0-27
Dietmar Maurer [Mon, 12 Oct 2015 04:52:28 +0000 (06:52 +0200)]
allow to choose content type for local storage
Also allow to disable local storage.
Dietmar Maurer [Thu, 8 Oct 2015 09:51:39 +0000 (11:51 +0200)]
bump version to 4.0-26
Dietmar Maurer [Thu, 8 Oct 2015 07:49:36 +0000 (09:49 +0200)]
zfspool: fix volume_size_info and volume_resize for subvols
Dietmar Maurer [Thu, 1 Oct 2015 11:02:13 +0000 (13:02 +0200)]
allow containers on lvm
Dietmar Maurer [Thu, 1 Oct 2015 08:57:49 +0000 (10:57 +0200)]
bump version to 4.0-25
Dietmar Maurer [Thu, 1 Oct 2015 08:56:19 +0000 (10:56 +0200)]
complete_volume: avoid large list
Dietmar Maurer [Thu, 1 Oct 2015 05:42:37 +0000 (07:42 +0200)]
add missing completion hooks
Dietmar Maurer [Thu, 1 Oct 2015 05:59:05 +0000 (07:59 +0200)]
implement complete_volume
Dietmar Maurer [Thu, 1 Oct 2015 05:12:07 +0000 (07:12 +0200)]
add bash completion for content type
Dietmar Maurer [Thu, 1 Oct 2015 04:50:19 +0000 (06:50 +0200)]
volume_list: moved code from PVE::API2::Storage::Content
For better code reuse.
Dietmar Maurer [Thu, 1 Oct 2015 04:28:22 +0000 (06:28 +0200)]
white space cleanups: correctly intend code
Dietmar Maurer [Thu, 1 Oct 2015 04:26:35 +0000 (06:26 +0200)]
complete_storage: correctly pass storage config to storage_ids()
Alen Grizonic [Mon, 28 Sep 2015 08:16:33 +0000 (10:16 +0200)]
pvesm list fix
Wolfgang Bumiller [Fri, 25 Sep 2015 10:02:33 +0000 (12:02 +0200)]
volume_snapshot_delete: deactivate before deleting
Dietmar Maurer [Fri, 25 Sep 2015 11:36:45 +0000 (13:36 +0200)]
bump version to 4.0-24
Dietmar Maurer [Fri, 25 Sep 2015 11:34:55 +0000 (13:34 +0200)]
drbd: use correct unit for storage sizes
Thomas Lamprecht [Fri, 25 Sep 2015 08:59:27 +0000 (10:59 +0200)]
drbd: return correct used/avail/total sizes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Tue, 22 Sep 2015 10:19:39 +0000 (12:19 +0200)]
bump version to 4.0-23
Wolfgang Link [Fri, 18 Sep 2015 09:57:07 +0000 (11:57 +0200)]
extend functionality to (de)activate_volumes with snapshots
this extension provide the capability to activate or deactivate snapshot,
so we can use this e.g. for LXC backup in snapshot mode.
Dietmar Maurer [Mon, 21 Sep 2015 10:25:57 +0000 (12:25 +0200)]
bump version to 4.0-22
Dietmar Maurer [Fri, 18 Sep 2015 07:33:09 +0000 (09:33 +0200)]
improve bash completions
Dietmar Maurer [Fri, 18 Sep 2015 06:21:17 +0000 (08:21 +0200)]
convert pvesm into a PVE::CLI class
Wolfgang Link [Wed, 16 Sep 2015 11:11:18 +0000 (13:11 +0200)]
remove non used parameter exclusive
This makes no sense because it should always be exclusive.
Also RDB checks it self.
LVM has not possibility to use lvchange.
DRBD is this feature not implemented.
Dietmar Maurer [Fri, 11 Sep 2015 10:13:00 +0000 (12:13 +0200)]
fix lvm storage status
Dietmar Maurer [Thu, 10 Sep 2015 09:10:35 +0000 (11:10 +0200)]
rbd: make activate_volume idempotent
Dietmar Maurer [Thu, 10 Sep 2015 08:43:54 +0000 (10:43 +0200)]
bump version to 4.0-21
Wolfgang Link [Thu, 10 Sep 2015 08:29:10 +0000 (10:29 +0200)]
rbd: skip unmap if device is not mapped
Dietmar Maurer [Thu, 10 Sep 2015 06:41:00 +0000 (08:41 +0200)]
drbd: also allow to configure content property
Dietmar Maurer [Thu, 10 Sep 2015 06:29:23 +0000 (08:29 +0200)]
allow to create containers on DRBD (content == rootdir)
Dietmar Maurer [Wed, 9 Sep 2015 05:57:52 +0000 (07:57 +0200)]
bump version to 4.0-20
Wolfgang Link [Tue, 8 Sep 2015 10:23:53 +0000 (12:23 +0200)]
improve free_image with deactivate_volumes
this is necessary to prevent an error when trying to remove a mapped volume.
Dietmar Maurer [Tue, 8 Sep 2015 08:48:41 +0000 (10:48 +0200)]
bump version to 4.0-19
Dietmar Maurer [Thu, 3 Sep 2015 08:16:38 +0000 (10:16 +0200)]
use read_proc_mounts from PVE::ProcFSTools
Wolfgang Link [Thu, 3 Sep 2015 06:51:46 +0000 (08:51 +0200)]
move read_proc_mounts from NFSPlugin to Tools.
this function will be uesd in more path of the code.
Emmanuel Kasper [Mon, 31 Aug 2015 13:37:23 +0000 (15:37 +0200)]
Correct manpage examples to newer syntax
Dietmar Maurer [Mon, 31 Aug 2015 13:51:53 +0000 (15:51 +0200)]
bump version to 4.0-18
Wolfgang Bumiller [Mon, 31 Aug 2015 09:02:26 +0000 (11:02 +0200)]
GlusterfsPlugin: replace Net::Ping with tcp_ping
Using PVE::Network::tcp_ping on port 7 (echo) for ipv6
support.
Wolfgang Bumiller [Mon, 31 Aug 2015 09:02:25 +0000 (11:02 +0200)]
iSCSI ipv6 support
Dietmar Maurer [Fri, 28 Aug 2015 09:42:40 +0000 (11:42 +0200)]
bump version to 4.0-17
Wolfgang Link [Fri, 28 Aug 2015 09:12:50 +0000 (11:12 +0200)]
fix to prevent uninitialized variable massage.
Dietmar Maurer [Fri, 28 Aug 2015 09:01:41 +0000 (11:01 +0200)]
scan_zfs: ignore subvolumes generated by our ZFSPoolPlugin
Wolfgang Bumiller [Thu, 27 Aug 2015 12:53:12 +0000 (14:53 +0200)]
allow subvolume selection in ZPool storage
Dietmar Maurer [Thu, 27 Aug 2015 10:03:46 +0000 (12:03 +0200)]
path: corretly implement path to snapshots
Wolfgang Link [Tue, 25 Aug 2015 07:47:53 +0000 (09:47 +0200)]
Add content type rootfs to RBD and extend manual
Dietmar Maurer [Wed, 19 Aug 2015 13:41:19 +0000 (15:41 +0200)]
bump versionm to 4.0-16
Alen Grizonic [Wed, 19 Aug 2015 08:28:13 +0000 (10:28 +0200)]
remove storage access permissions after delete
Alen Grizonic [Wed, 19 Aug 2015 08:28:12 +0000 (10:28 +0200)]
added remove storage (exist) check
Dietmar Maurer [Tue, 18 Aug 2015 14:28:10 +0000 (16:28 +0200)]
bump version to 4.0-15
Wolfgang Bumiller [Tue, 18 Aug 2015 11:54:06 +0000 (13:54 +0200)]
upload API: safer filename handling
Replace possibly-dangerous characters in uploaded filenames
with underscores, this includes spaces, colons, commas,
equal signs and any byte >= 128. Previously only spaces were
turned into underscores.
Also shell_quote the destination for scp.
Use '--' for some shell commands for safety.
Use brackets around the scp destination for ipv6 support.
Dietmar Maurer [Wed, 12 Aug 2015 05:34:58 +0000 (07:34 +0200)]
parse_volname: document return values
Dietmar Maurer [Wed, 12 Aug 2015 05:01:07 +0000 (07:01 +0200)]
parse_volname: always return image format
Dietmar Maurer [Wed, 12 Aug 2015 04:49:15 +0000 (06:49 +0200)]
ZFSPoolPlugin: improve subvol support
- return format with parse_volname
- consider subvol in zfs_find_free_diskname
Dietmar Maurer [Wed, 12 Aug 2015 04:04:41 +0000 (06:04 +0200)]
add subvol support for directory storage
This storage type does not support subvol quotas, so we
only allow this if vdisk_alloc is called with size=0.
Dietmar Maurer [Mon, 10 Aug 2015 14:53:19 +0000 (16:53 +0200)]
zfs_parse_zvol_list: do not add pool to volname
Else, alloc and list return different volids.
Dietmar Maurer [Mon, 10 Aug 2015 08:05:01 +0000 (10:05 +0200)]
storage_info: fix content filter
List all storages if $content filter is undefined.
Alexandre Derumier [Thu, 30 Jul 2015 07:57:31 +0000 (09:57 +0200)]
rbd: add support to krbd
Can be use by lxc (but also qemu)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Fri, 7 Aug 2015 07:45:55 +0000 (09:45 +0200)]
bump version to 4.0-14
Dietmar Maurer [Fri, 7 Aug 2015 07:44:22 +0000 (09:44 +0200)]
storage status API: allow to filter multiple content types
Wolfgang Link [Thu, 23 Jul 2015 11:22:27 +0000 (13:22 +0200)]
fix bug #664
Catch the error, if the dataset doesn't exists.
If it will not catched, you can't remove a VM.
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