030f6e1a97
Fix #1424 : allow tar.xz templates upload
2017-06-22 14:32:27 +02:00
cd0b3d5bc2
Revert "free: added snapshot parameter"
...
This reverts commit a26e1abc70 .
2017-05-23 13:31:21 +02:00
acd27197ce
migrate: replace target ip parameter with sshinfo parameter
2017-05-23 09:31:19 +02:00
a26e1abc70
free: added snapshot parameter
2017-05-12 14:42:16 +02:00
f88846ea3b
do not install replication code
...
The code introduces a cyclic package dependency, so we need to
move it to pve-manager package.
2017-05-10 07:06:35 +02:00
8b38cdaf67
PVE::API2::Storage::Replication - add reasonable permission checks
2017-05-05 11:55:34 +02:00
1d3ddfaf2c
pvesr: move destroy_job into API class, remove wrong permission checks.
2017-05-05 11:18:30 +02:00
339ca30a5b
PVE::API2::Storage::Replication->jobs(): return array
2017-05-05 10:54:10 +02:00
e0992d57e1
pvesr: rename list => jobs, call API
...
to avoid code duplication. I also removed the functioanlity to query
jobs on other nodes, because it is clumsy and not really needed.
2017-05-05 10:31:51 +02:00
07dff26749
PVE::API2::Storage::Replication - add directory index
2017-05-05 10:01:26 +02:00
76c358149a
renamed: PVE/API2/StorageReplication.pm -> PVE/API2/Storage/Replication.pm
2017-05-05 09:25:43 +02:00
663510b86d
This patch will include storage asynchronous replication.
...
It is possible to synchronise a volume to an other node in a defined interval.
So if a node fail there will be an copy of the volumes from a VM
on an other node.
With this copy it is possible to start the VM on this node.
2017-04-28 10:05:27 +02:00
ec73c0ff67
fix bug #1280 : Can't locate object method "root@pam"
...
This was introduced by commit 04a13668b9 .
2017-02-12 09:55:50 +01:00
04a13668b9
PVE::Storage: new helper check_volume_access()
...
Copied from PVE::RPCEnvironment to avoid cyclic dependency
(pve-storgae => pve-access-control => pve-storage).
2017-01-19 09:14:41 +01:00
d57fb43d9b
disks: fix warnings
2016-10-07 09:28:06 +02:00
dd902da78e
merge get_smart_data/health
...
instead of parsing the output of smart in two places,
give get_smart_data a flag if we only want health
this fixes a bug (not on the bugtracker), where
an ssd with disabled smart had an empty string as health
in the gui
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2016-10-06 07:48:57 +02:00
16bf963b94
add return schema to smart API path
2016-10-04 10:34:47 +02:00
e3b02ffe6e
disks: fix typo
2016-09-29 08:42:15 +02:00
acd3d91649
move SMART error handling into get_disks
...
because we never ever want to die in get_disks because of a
single disk, but the nodes/xyz/disks/smart API path is
allowed to fail if a disk device is unsupported by smartctl
or something else goes wrong.
2016-09-29 08:40:19 +02:00
409f8203e0
add api entries for disk management
...
adds a new class (intended to be used under nodes in pve-manager)
which adds the three api calls: list, smart and init
list being a general list of the available disk with infos
smart being a call to get the smart data from a given device
init being a call to write a gpt header to an unused disk
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2016-09-05 13:49:28 +02:00
38e1eb3d87
upload: whitelist filename chars instead of blacklisting
2016-06-09 18:14:55 +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
668f6d9faf
add lvmthinscan to CLI
2016-02-20 10:11: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
f3bd890d98
add missing completion hooks
2015-10-01 07:59:48 +02:00
98437f4c85
add bash completion for content type
2015-10-01 07:16:59 +02:00
37ba0aea5b
volume_list: moved code from PVE::API2::Storage::Content
...
For better code reuse.
2015-10-01 06:50:19 +02:00
ba0cf557f4
pvesm list fix
2015-09-29 17:25:05 +02:00
f7621c0126
improve bash completions
2015-09-18 09:33:09 +02:00
2a2cf20aa9
remove storage access permissions after delete
2015-08-19 15:17:38 +02:00
402df80b12
added remove storage (exist) check
2015-08-19 15:14:29 +02:00
53ec90e23e
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.
2015-08-18 16:23:53 +02:00
583c2802f8
storage status API: allow to filter multiple content types
2015-08-07 09:46:49 +02:00
1ccae4490e
zfspool: new format 'subvol' to handle filesystems inside datasets
...
We use this for containers.
2015-05-01 14:46:17 +02:00
584d97f646
implement zfsscan to list local zfs pools
2015-01-26 09:05:09 +01:00
e384c898d3
allow iso upload for glusterfs
2014-09-10 14:15:11 +02:00
5f25af2f93
avoid nested parameter exception
2013-09-04 13:43:59 +02:00
8e87d6eef0
auto-detect format for files with vmdk extension
2013-09-04 10:18:50 +02:00
a18f774079
return error if volume does not exists
2013-09-04 10:17:47 +02:00
3cf5e19edc
API: add scan method for glusterfs
2013-08-13 10:06:03 +02:00
12c2fe32e1
bump version to 3.0-6 and fix bug from previous commit
2013-05-14 11:26:23 +02:00
283608f330
extend storage list API with useful parameters for clone
...
Add ability to list shared storages availavlable on souce and target node.
2013-05-14 09:56:11 +02:00
d6c9dc34af
file upload: fix race condition
...
bump version to 2.3-6
2013-03-04 09:00:27 +01:00
df6b79c892
fix permission check for backup file removal
2013-03-01 06:04:03 +01:00
b8744249a2
fix access rights
...
Try to use $rpcenv->check_volume_access() everywhere.
2013-02-28 10:15:44 +01:00
45c2ee3526
PVE/API2/Storage/Status: remove hardcoded blowfish cipher PVE/Storage: remove hardcoded blowfish cipher
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag >
2012-10-31 14:05:40 +01:00
6d64e9e065
fix lvmscan
2012-07-25 15:50:23 +02:00
571abaa611
add newline to error message
2012-06-18 06:30:27 +02:00
1dc01b9f30
new plugin architecture
2012-05-23 08:00:13 +02:00
446073f681
allow to set option 'maxfiles'
2012-03-23 07:43:28 +01:00