401 no such token qm remote-migrate

Alexandre Aguirre

Well-Known Member
Apr 4, 2018
30
4
48
38
Passo Fundo - RS, Brasil
Hey guys !!!

I'm trying to perform qm remote-migrate on a vm, but I'm getting this 401 on such token, can anyone tell me where I could be going wrong?


qm remote-migrate 100 100 apitoken='Authorization: PVEAPIToken=root@pam!token2=17616074-aaae-423f-bf40-fd11e487315b',host=192.168.10.81,fingerprint=1B:C4:31:C2:F0:C0:AA:A0:0A:C9:2D:20:2D:7D:9B:C9:CD:AF:FF:EE:8F:69:43:94:F0:15:F2:2D:35:59:80:45 --target-bridge vmbr0 --target-storage DST-LOCAL --online 1

401 no such token 'token2' for user 'root@pam'
 
alternatively: the token needs to exist on the target cluster, since it is used to connect to it.
 
alternatively: the token needs to exist on the target cluster, since it is used to connect to it.

Hello good afternoon !

Yes, I was able to solve it.............in fact, I removed all the settings I had made, and redid everything again, but I do believe that there must have been some detail in the creation of the token, thank you for the help!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!