[pve-devel] replica problems

Wolfgang Link w.link at proxmox.com
Thu Jun 1 11:07:52 CEST 2017



On 06/01/2017 11:01 AM, Dominik Csapak wrote:
> hi,
>
> i tested the replica patches a bit and noticed following problems:
>
> 1. when we have a job with a failcount > 0, we can't delete/disable the
> job (only manually deleting from /etc/pve/replication.cfg works)

This is not implemented yet

> 2. the error message saved is not really helpful, an example:
>
> command 'set -o pipefail && pvesm export local-zfs:vm-100-disk-1 zfs -
> -snapshot replicate_replica01_1496307002_snap -with-snapshots 1 |
> /usr/bin/ssh -o 'BatchMode=yes' -o 'HostKeyAlias=pve-local-03'
> root at 192.168.20.63 -- pvesm import local-zfs:vm-100-disk-1 zfs -
> -with-snapshots 1' failed: exit code 255
>
> this does not really tell me, why it does not work, and manually
> executing this does also not work, because the snapshot does not exist
> anymore
>
> 3. we do not have a cron entry for pvesr run (yet? by design?)

This will be included in the pvestatd and with cron it will not work 
then you get this nice erorrs form 2

> 4. following scenario does not work (and i don't know why)

Migration should normally not work?
May be the replica was not synced yet.

> 3 nodes (node01-node03)
>
> vm 100 on node01, replica job to node03
>
> migrate vm 100 to node02 (works without problems)
>
> replica job stops working
>
> expectation: vm100 gets now replicated from node02 -> node03
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel




More information about the pve-devel mailing list