[pve-devel] [PATCH guest-common 0/6]pversr recover state.

Wolfgang Link w.link at proxmox.com
Tue Dec 19 15:53:37 CET 2017


This patch series allows to restore a replica without status.

A HA migration ends in a lost state, even a manual configuration movement generates this behavior.
This patch series also fixes the problem of cleanup without status.

[PATCH V2]
0001-Cleanup for stateless jobs.patch

	Change for loop against a map feature
	like t.lamprecht suggest and improve how w.bumiller meant.

	Commit message made in more detail.

0002-Add config parameter 'source'.patch

	Modify commit message.

0003-Delete replication snapshots only if last_sync is not 0.patch

	Modify commit message.
	Add an error message if the status is not recoverable.
	Sort the snapshots to test newer ones first.

0006-Add error message in case the state is not recoverable.patch

	Correct typos in the page nodes as t.lamprecht suggest.
	
Wolfgang Link (6):
  Cleanup fix for stateless jobs.
  Add config filed 'source'.
  Delete replication snapshots only if last_sync exists.
  Get snapshots when no state is available.
  Add function: swap source and target in replication config
  Swap source and target in replication config, if VM was stolen.

 PVE/Replication.pm       | 22 +++++++++++++++++++---
 PVE/ReplicationConfig.pm | 23 +++++++++++++++++++++++
 PVE/ReplicationState.pm  | 15 ++++++++++++++-
 3 files changed, 56 insertions(+), 4 deletions(-)

-- 
2.11.0





More information about the pve-devel mailing list