Bug found when removing node, replication remains and is un-removable.

ben90818532

Active Member
Sep 20, 2017
23
1
43
34
How to re-produce:

1) Set replication of a KVM vm between two nodes and let it sync

2) Remove one of the nodes: pvecm delnode nameofnode (then permanently shutdown as per instructions).

3) On remaining node replication task remains and is un-removable, task error:

Replication Log

2017-09-20 16:59:00 106-0: start replication job
2017-09-20 16:59:00 106-0: guest => VM 106, running => 2211
2017-09-20 16:59:00 106-0: volumes => local-zfs:vm-106-disk-1
2017-09-20 16:59:00 106-0: start job removal - mode 'full'
2017-09-20 16:59:00 106-0: end replication job with error: hostname lookup 'server-2' failed - failed to get address info for: server-2: Name or service not known
 
Last edited:
If you remove a node you have to handle those problem by yourself.
In this case you have to remove the job from the config manual.

The file is located in /etc/pve/replication.cfg
 
If you remove a node you have to handle those problem by yourself.
In this case you have to remove the job from the config manual.

The file is located in /etc/pve/replication.cfg

Thanks wolfgang, I can confirmed that this worked successfully.

Cheers