2d4404fc63
add cifs: fix variable declaration in post if
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2018-06-29 13:15:26 +02:00
8b3d5c1f12
PVE/API2/Storage/Config.pm - set type in returns schema
2018-06-22 07:52:51 +02:00
d68c7bca46
whitespace fixup
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com >
2018-05-14 08:35:22 +02:00
fee2cb61e3
Fix typo.
2018-05-14 08:10:19 +02:00
ee8c176d3a
Simplify image/template upload check.
...
All storage's witch are able to store images must have a path.
2018-05-14 08:10:19 +02:00
566639d518
cifs: use correct pluging class name
2018-03-16 13:23:47 +01:00
a9db2ca8a5
cifs: move plugin related code into plugin
2018-03-16 13:08:32 +01:00
304344ce34
add missing "use PVE::Storage::LVMPlugin;"
2018-03-16 12:54:06 +01:00
fa1b42dd98
cifs plugin cleanups
2018-03-16 12:35:55 +01:00
c6fb7b80fc
remove useless "use PVE::PTY;"
2018-03-16 12:09:37 +01:00
b9cfb8cac7
Add cifsscan to API
2018-03-16 12:07:14 +01:00
ba7e9ba9c9
Add remove cifs in API call.
2018-03-16 12:05:02 +01:00
a4a9405d76
Add cifs in create API call.
...
In this patch the nodes will be deleted if the nodes parameter comes with a empty string.
We need this in the GUI when update the nodes in the config to reset if a nodes.
If we do not erase the empty hash the storage online check would be skipped.
Also the password and user would not be verified.
2018-03-16 12:03:37 +01:00
f79a699c13
Add set CIFS credentials.
2018-03-16 11:58:34 +01:00
f6c03d367d
whitespace cleanup
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2017-11-14 13:23:52 +01:00
856c54bd75
add 'format' parameter to storage list call
...
we will use this for the gui to figure out if we have to show
a size selector, a file selector, which formats are there, etc.
we have to include this data even for not active storages, else
we cannot show the correct fields
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2017-11-14 13:23:52 +01:00
8143f49038
rbd: create ceph keyring dir before copying
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2017-09-07 12:51:31 +02:00
5a39d0a111
rbd: manage keyring for pveceph storages
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2017-09-07 11:35:00 +02:00
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
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
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