When I migrate a vm from command line - initiated at the host where the vm resides - all is fine:
When I migrate a vm from command line from a remote node to the current node, I get an error:
The migration worked in both cases. It's only that the cli exits with an error, so I can not determine from a script if the migration worked well.
oops. I wrote in the wrong language. Please move the thread to the correct forum.
Code:
THISNODE# pvesh create /nodes/THISNODE/qemu/106/migrate -target=OTHERNODE -online
starting migration...
...
migration finished successfully
When I migrate a vm from command line from a remote node to the current node, I get an error:
Code:
THISNODE# pvesh create /nodes/OTHERNODE/qemu/106/migrate -target=THISNODE -online
garbage after JSON object, at character offset 4 (before "-05-14 12:40:14 star...") at /usr/share/perl5/PVE/CLI/pvesh.pm line 125.
The migration worked in both cases. It's only that the cli exits with an error, so I can not determine from a script if the migration worked well.
oops. I wrote in the wrong language. Please move the thread to the correct forum.
Last edited: