4b4c580d02
migrate: use the correct IP with rsync
2017-06-09 12:30:02 +02:00
b43d0f3043
ZFSPoolPlugin.pm: remove unused code
2017-06-08 08:45:22 +02:00
636ac5b82f
PVE::Storage::volume_snapshot_list - remove comment about ordering
...
Some storage types supports arbitrary snapshot trees, so there is
no strict ordering relation.
2017-06-07 06:36:55 +02:00
8b622c2dff
PVE::Storage::volume_snapshot_list - remove $prefix parameter
...
Always return the full list of snapshots. Users of this library can easily
filter with a simply 'grep' instead.
2017-06-07 06:20:07 +02:00
c2bce0ef63
remove unused replication code (moved to pve-manager)
2017-06-07 06:14:30 +02:00
4d3beaa80c
build: run tests when building deb
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2017-06-06 16:15:42 +02:00
d1aa38aec2
disktest: exit with -1 in case of failures
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2017-06-06 16:15:42 +02:00
e93e1bed73
zfstest: exit with -1 in case of failures
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2017-06-06 16:15:42 +02:00
722eb1fe8a
zfstest: skip tests if ZFS is not available
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2017-06-06 16:15:42 +02:00
88ed02a391
zfstest: remove unused variable
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2017-06-06 16:15:42 +02:00
2acdffbbb5
zfstest: fix typos
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2017-06-06 16:15:42 +02:00
ca276fcbc2
zfstest: use truncate instead of dd
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2017-06-06 16:15:42 +02:00
b13cf56109
zfstest: improve reset behaviour
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2017-06-06 16:15:42 +02:00
078c28aac6
zfstest: wait for devices to settle after creation
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2017-06-06 16:15:42 +02:00
a3b7bc374c
zfstest: fix test description
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2017-06-06 16:15:42 +02:00
91877ee016
zfstest: fix test 17 to actually deactivate storage
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2017-06-06 16:15:42 +02:00
a3f38a644c
fix #1379 : return size as number instead of string
...
this caused the webinterface to sort alphabetically instead of numerical
when sorting by image size
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2017-06-02 10:24:30 +02:00
7ba34faa6e
migrate: add insecure parameter
...
This uses mtunnel's new -run-command parameter in
combination with the ssh-info's network cidr option to use
an unprotected TCP port.
2017-06-01 10:43:32 +02:00
01f7e902e9
migrate: implement rate limiting
...
Note that it does not apply to the local 'mkdir && cp' case.
2017-06-01 10:42:32 +02:00
9dc3d2ff40
bump version to 5.0-5
2017-06-01 09:42:23 +02:00
cd0b3d5bc2
Revert "free: added snapshot parameter"
...
This reverts commit a26e1abc70 .
2017-05-23 13:31:21 +02:00
b57a863a0f
migrate: cleanup & fixup
...
The volume_snapshot call was missing the condition when to
create a snapshot. Make the whole logic easier to follow
with a $migration_snapshot boolean.
Also get rid of the remote `pvesm free -snapshot` call by
using import's new -delete-snapshot parameter.
2017-05-23 13:30:51 +02:00
5259593842
import: add -delete-snapshot parameter
...
This deletes a snapshot on *success*, done directly in the
CLI handler, as the rollback/delete on failure is already
happening inside the plugin's import method.
2017-05-23 13:29:48 +02:00
acd27197ce
migrate: replace target ip parameter with sshinfo parameter
2017-05-23 09:31:19 +02:00
dc7695377c
migrate: snapshot parameter for use with replication
2017-05-23 09:27:26 +02:00
55f908a1cd
migrate: cleanup: $free is always defined
2017-05-12 15:01:08 +02:00
7459cb3d91
migrate: query transfer stream formats
2017-05-12 14:42:17 +02:00
d390328bfd
api: add import/export format querying
2017-05-12 14:42:17 +02:00
ac191ec740
migrate: snapshot parameter for incremental transfer
2017-05-12 14:42:17 +02:00
865710f47a
migrate: use pvesm import/export for zfs
...
The only leftover zfs specific part here is the zfs format
type parameter.
2017-05-12 14:42:17 +02:00
a26e1abc70
free: added snapshot parameter
2017-05-12 14:42:16 +02:00
47f37b5362
pvesm: import/export commands
2017-05-12 14:42:16 +02:00
0d5a5fc9cb
Revert "Include incremental zfs send in storage_migrate."
...
This reverts commit 4537523b5a .
We want to use send/receive for this - patch will follow.
2017-05-10 07:20:00 +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
17be2e9a0c
volume_snapshot_list: remove $ip parameter
...
We want to handle ssh connections somewhere else (not inside the
storage plugins).
2017-05-10 07:02:42 +02:00
3d4949692a
Revert "Include new storage function volume_send."
...
This reverts commit b76774e57f .
2017-05-10 06:58:44 +02:00
44257d2e38
Revert "Add ip parameter in zfs_request to execute on remote host."
...
This reverts commit c4bb4a3d19 .
2017-05-10 06:55:42 +02:00
889d7485cb
Revert "Add function volume_snapshot_delete_remote."
...
This reverts commit 4bd0b38f53 .
2017-05-10 06:55:00 +02:00
68c2c2fc62
Revert "Include pve-replica cronjob."
...
This reverts commit fd69be974c .
2017-05-10 06:51:26 +02:00
552278a2a2
PVE::ReplicationTools::update_conf - correctly catch exception
2017-05-09 11:45:12 +02:00
9998ea1d52
ReplicationTools.pm: call PVE::INotify::nodename inside methods
...
so that we can overwrite it using Test::MockModule. This makes writing
regression tests easier.
2017-05-09 07:11:07 +02:00
6971bcd61f
ReplicationTools.pm_ do not pass $local_node to volume_snapshot_list
2017-05-09 07:08:17 +02:00
23ddb82e54
ReplicationTools.pm: rename $get_guestconfig to get_guest_config
...
make it a real sub
2017-05-09 06:36:24 +02:00
6a50f652a6
rename get_syncable_guestdisks to get_replicatable_volumes
2017-05-09 06:23:23 +02:00
666e0afebf
ReplicationTools: use get_replicatable_volumes()
2017-05-09 06:20:24 +02:00
2971c957ab
PVE::ReplicationTools::get_node_ip - do not pass noerr to PVE::Cluster::remote_node_ip()
...
We need an IP address.
2017-05-08 12:05:39 +02:00
83ba57c81c
PVE::ReplicationTools - s/delet/delete/
2017-05-08 10:22:57 +02:00
508344ab9d
use consistent snapshot prefix for replicas
2017-05-08 09:29:57 +02:00
dfea1c130e
PVE::ReplicationTools::destroy_all_snapshots - never delete local disks
2017-05-08 08:47:28 +02:00
be1d5bc192
PVE::ReplicationTools::sync_guest - do not add snapname to disks_status
...
Because it is not used at all.
2017-05-08 07:57:04 +02:00