5
0
mirror of git://git.proxmox.com/git/pve-guest-common.git synced 2024-12-22 13:34:00 +03:00
Commit Graph

286 Commits

Author SHA1 Message Date
Dietmar Maurer
3f85b14d89 PVE::AbstractConfig - add prototype for get_replicatable_volumes 2017-06-12 09:03:14 +02:00
Dietmar Maurer
b499eccbf0 PVE::Replication::prepare - allow to pass undefined $jobid
And remove all replication snapshots in that case. This is useful
for snapshot rollback.
2017-06-12 07:55:28 +02:00
Dietmar Maurer
a6538c1ec5 add PVE/Replication.pm - moved from pve-manager 2017-06-12 07:03:22 +02:00
Dietmar Maurer
571156eedc PVE::ReplicationConfig add delete_job helper
Moved from PVE::Replication.
2017-06-12 06:35:35 +02:00
Dietmar Maurer
c292c8e994 PVE::ReplicationState - add job_status, get_next_job, job_logfile_name helpers
Moved code from PVE::Replication.
2017-06-12 06:30:56 +02:00
Wolfgang Bumiller
40318e97f7 migrate: set migration_type
Moved from qemu-server: set $opts->{migration_type} to a
default or a value from datacenter.cfg.
2017-06-09 12:24:57 +02:00
Wolfgang Bumiller
7919c4820c GuestHelpers: allow overriding $lockdir in test environments 2017-06-09 12:00:51 +02:00
Dietmar Maurer
1fcde52aba PVE::ReplicationConfig - set computed properties after schema verification
Else we get schema verification errors.
2017-06-07 11:28:40 +02:00
Dietmar Maurer
0de175563a PVE::ReplicationConfig - remove useless guest property
We extract it from the jobid instead.
2017-06-07 10:06:25 +02:00
Dietmar Maurer
52dcecfcbb PVE::ReplicationState - new helper replication_snapshot_name()
Changed replication snapshot naming to __replicate_<jobid>_<lastsync>__
to avoid conflicts with normal snapshot names.
2017-06-06 11:47:38 +02:00
Dietmar Maurer
5d31e77b47 PVE::ReplicationConfig - new helper parse_replication_job_id
Allow job numbers 0..N
2017-06-06 11:44:28 +02:00
Dietmar Maurer
f87dd81da0 PVE::ReplicationConfig - use new ID format "<vmid>-<num>" 2017-06-02 12:18:41 +02:00
Dietmar Maurer
90c07bf789 PVE::ReplicationState - hold guest_migration_lock during state update 2017-06-02 09:51:01 +02:00
Dietmar Maurer
3f7cacffb1 PVE::ReplicationState - new helper class to read/write replication state 2017-06-02 09:17:36 +02:00
Dietmar Maurer
0e01a7ae93 bump version to 2.0-4 2017-05-31 09:15:52 +02:00
Dietmar Maurer
e258e4031b Makefile: cleanup *.buildinfo 2017-05-31 07:49:56 +02:00
Dietmar Maurer
151f1335d0 PVE/ReplicationConfig.pm: add remove_job property 2017-05-31 07:45:44 +02:00
Dietmar Maurer
94d526d7e0 PVE::GuestHelpers::guest_migration_lock - new helper
I create a separate class for common guest helpers.
We can move more code into this class later.
2017-05-30 12:06:08 +02:00
Dietmar Maurer
6e55d55a7b PVE::ReplicationConfig::check_for_existing_jobs - new helper
We want to use that before removing a guest.
2017-05-29 07:33:38 +02:00
Dietmar Maurer
eb74d48313 AbstractConfig.pm: remove code for replicate configuration
It is no longer used.
2017-05-29 07:33:38 +02:00
Dietmar Maurer
87109d7445 PVE/ReplicationConfig.pm - new configuratin file for replication 2017-05-29 07:33:38 +02:00
Wolfgang Bumiller
9591475ae3 migration: use Cluster's new get_ssh_info 2017-05-23 09:37:29 +02:00
Dietmar Maurer
bff37779c0 AbstractConfig.pm: do not copy/store replicate parameter in snapshot config 2017-05-06 11:40:22 +02:00
Wolfgang Bumiller
a9cb48036c bump version to 2.0-3 2017-04-28 13:57:08 +02:00
Wolfgang Link
38532f70ad Replica parameters should be ignored by snapshot and restore.
The replica are parameter that should not be changed by a rollback.
2017-04-28 10:46:57 +02:00
Dietmar Maurer
eb5b10c326 bump version to 2.0-2 2017-04-24 07:41:31 +02:00
Dietmar Maurer
9ed0fe88ce PVE/AbstractMigrate.pm: avoid locale specific time stamps 2017-04-24 07:38:36 +02:00
Fabian Grünbichler
c033210fa5 bump version to 2.0-1 2017-03-13 11:29:29 +01:00
Fabian Grünbichler
18648f46c3 buildsys: update make upload target for stretch 2017-03-13 11:29:18 +01:00
Thomas Lamprecht
581332b275 AbstractMigrate: remove unused rsync and scp remainders
We have no call using rsync_cmd or scp_cmd here or any child class.
The only part where rsync is used is in the
PVE::Storage::storage_migrate call, but here both the command and the
RSYNC_RSH environment variable gets assembled there locally, so clean
this up here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-03-08 12:42:32 +01:00
Wolfgang Bumiller
ff43654055 buildsys: make job safety 2017-02-03 14:44:51 +01:00
Fabian Grünbichler
ee12450ae7 bump version to 1.0-2 2017-01-25 10:05:54 +01:00
Fabian Grünbichler
bbcd936ea8 add packaging for VZDump base plugin 2017-01-25 10:05:53 +01:00
Fabian Grünbichler
a19d93a25d add VZDump base Plugin.pm
moved from pve-manager
2017-01-25 10:05:33 +01:00
Fabian Grünbichler
e115c4af33 initial packaging 2017-01-25 10:05:29 +01:00
Fabian Grünbichler
58a3c91ced initial commit
AbstractConfig.pm and AbstractMigrate.pm copied from
pve-common

added use statements for PVE::Cluster and PVE::Storage to
AbstractConfig
2017-01-24 14:03:24 +01:00