Commit Graph

582 Commits

Author SHA1 Message Date
e76dbd9204 use correct ceph version command
"ceph version" retrieves the version from the cluster (i.e.,
from the queried monitor), but what is needed here is the
local ceph version, which is returned by "ceph --version".
2016-06-14 11:46:32 +02:00
ed1f84c26f bump version to 4.0-53 2016-06-09 18:16:57 +02:00
5c95e48479 Dir storage creation: check for a sane path
Ideally we don't need this, but this with the directory
storage this is a user-input field which gets returned
by the storage's path() method which is used in various
external command calls.
2016-06-09 18:15:28 +02:00
602eacfe6a split udevam command call 2016-06-09 18:15:09 +02:00
38e1eb3d87 upload: whitelist filename chars instead of blacklisting 2016-06-09 18:14:55 +02:00
e83f7b4095 fix for storage migrate
remove the sparse parameter from dd.
This destroy the lvm volume.

also remove the free_disk this will later be done.
2016-06-08 16:35:27 +02:00
84252f6772 code cleanups 2016-06-08 09:20:11 +02:00
76f13c9ee8 cleanup: improve error message 2016-06-08 08:36:18 +02:00
0a29ad6148 Add LVM-thin storage migration
It is now possibel to migrate LVM-thin volumes offline from one node to an other.
Also LVM what is used by Qemu.
2016-06-08 08:21:40 +02:00
b521247bf4 fix 1012: dir: add mkdir option
By default a directory storage creates its path. In some
cases this can be undesired, mostly when storages have
nested paths (eg. a dir storage on a ZFS path or in an NFS
share, or inside custom mount points).
As a simple fix to this the 'mkdir' option (default ON)
can now be used to disable this behavior.
2016-06-07 10:47:16 +02:00
0be02e0f21 s/version_parser/ceph_version_parser/ 2016-06-07 10:32:42 +02:00
07eb8c7fda bump version to 4.0-52 2016-06-07 10:30:23 +02:00
d86fd0a49b disable jewel image features when using krdb
otherwise mapping those images will fail. disabling the
features only needs to be done once per image, so it makes
sense to do this when creating the images.

unfortunately, the command does not work in hammer, so
it needs a version check for jewel or higher.
2016-06-07 10:25:36 +02:00
7aeda03306 add ceph version helpers 2016-06-07 10:25:25 +02:00
77a231573d bump version to 4.0-51 2016-06-03 12:06:00 +02:00
fa017b9696 add pvesm extractconfig 2016-06-03 12:04:59 +02:00
8898dd7be2 add extract vzdump config methods
extract_vzdump_config_tar is an adapted combination
of tar_archive_search_conf() and the first part of
recover_config(), both from PVE::LXC::Create.

a compressed vma backup file needs special error
handling because vma exits as soon as it found the config
file, which the used decompressors treat as error.
2016-06-03 12:04:26 +02:00
daccf21ef7 docs: typo, newlines, cleanup 2016-04-15 16:37:01 +02:00
1900dbd0a7 bump version to 4.0-50 2016-04-15 08:09:41 +02:00
9e4632c2fe DRBDPlugin: check_drbd_res() ignore info codes
Messages for return codes 1 to 99 are not considered an error.
2016-04-15 08:07:01 +02:00
72e743bd65 rbd: fix error message 2016-04-11 12:57:51 +02:00
dbf890f082 generate manpage with pve-doc-generator, bump version to 4.0-49 2016-04-06 11:28:09 +02:00
74b724a699 In path use parsed volname not the volid and add 'basevol' 2016-04-05 15:43:02 +02:00
3672677da5 add test PVE::Storage::path 2016-04-05 15:40:24 +02:00
460015816b Select test form command
It is possible to select the test what should run.
synopsis: run_test_zfspoolplugin.pl [<test_num> | <start_test_num> <end_test_num>]
2016-04-05 15:39:46 +02:00
5a3a468dd3 bump version to 4.0-48 2016-04-04 08:56:56 +02:00
8e5b96cac3 zfs_parse_zvol_list: simplify regex 2016-04-04 08:51:13 +02:00
b3bb525e45 fix zfs tests: isBase is a boolean flag 2016-04-04 08:50:12 +02:00
81ebc68f34 Add Tests for ZFSPoolPlugin 2016-04-04 06:38:15 +02:00
851658c3b0 Change zfs path when link clone are used
The new naming is coherent to Dir plugin.

So if we make an licked clone the parent will be coded in the path of the storage.
2016-04-04 06:38:15 +02:00
703de49ea9 Skip invalid property's in storage parser
There is no need to remove the hole storage, if one property is not valid.
Just ignore the property.
2016-04-04 06:30:53 +02:00
83d7192ff9 Add write_config, drop cfs_read_file
Use PVE::Storage::config() and the new
PVE::Storage::write_config() instead of cfs_read_file and
cfs_write_file with a hardcoded filename.
2016-03-30 10:42:12 +02:00
59ca7928cf bump version to 4.0-47 2016-03-22 09:07:54 +01:00
986303caf3 Fix LXC migration from local subvol
This patch reconfigured the rsync parameters, so the fs keeps all settings and works recursive.
2016-03-22 09:06:59 +01:00
9fe06408cf update changelog 2016-03-17 07:08:46 +01:00
b650f029d3 Use array to run_command instead of a string. 2016-03-17 07:07:56 +01:00
2d22db9a99 Include all snapshots when migrate storage zfs to zfs. 2016-03-17 07:07:01 +01:00
61d34272e8 bump version to 4.0-46 2016-03-15 16:50:45 +01:00
21430e5088 Use is_worker to decide default timeout for ZFS
Bump timeout to 1 hour if running in a worker and no timeout
specified.
2016-03-15 16:50:00 +01:00
785e544c7f bump version to 4.0-45 2016-03-15 06:49:45 +01:00
f44e50fed1 lvmthin: activate base volumes
create_base() uses '-ky' to prevent base images from being
activated by default, similar to snapshots. This means we
need to activate them like snapshots with the '-K' option.
2016-03-15 06:48:59 +01:00
a526d21a18 bump version to 4.0-44 2016-03-02 17:14:56 +01:00
7a047fce4a Remove content type container from GlusterFS. 2016-03-02 17:14:07 +01:00
4c9bd98f37 depend on thin-provisioning-tools, bump version to 4.0-43 2016-03-01 08:03:36 +01:00
a0995b078c bump version to 4.0-42 2016-02-24 17:17:17 +01:00
baafddbd02 add sparseinit to has_feature
we will use this for determining
if we need to write zeros to a volume

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-24 17:16:25 +01:00
668f6d9faf add lvmthinscan to CLI 2016-02-20 10:11:59 +01:00
9d0cb810a0 bump version to 4.0-41 2016-02-20 09:52:59 +01:00
d0ea89e564 prepare storage for lvmthin gui
this patch adds an lvmthin scan to the api, so that we can get a list
of thinpools for a specific vg via an api call

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-20 09:51:12 +01:00
a8f47479d5 bump version to 4.0-40 2016-01-28 11:12:23 +01:00