[pve 5.4.5] pvesh migrate minor bug "garbage after JSON-Object"

fx919

New Member
Mar 19, 2019
13
3
3
48
When I migrate a vm from command line - initiated at the host where the vm resides - all is fine:
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:
Hi,
I think this was fixed recently by this patch. It should work with the new (i.e. 6.1-8) pve-manager package. Please try it out.