Unable to migrate VM cross pool (duplicate_vm)
-
I am trying to migrate a VM from a standalone to a pool but get the below. Worth noting that the VM I am trying to replicate has a CR task that replicates the VM into the pool (albeit different host and storage). I assume thus that the duplicate VM refers to the CR version that is already in the pool? If so, is it then safe to assume that I cannot use CR where my target host / pool is the same as that of the VM?
vm.migrate { "vm": "3e9cba1f-9880-9cee-4aa2-c1285ba84dd7", "mapVifsNetworks": { "f7993db1-a111-a36b-a936-4bac8c6433bd": "807d4cf6-474a-c852-78a5-77d40968b949", "3c74d96d-07f7-6b51-98d3-eaf71160e059": "cff91b21-b808-7ab1-8c0f-cc8b6ade9add" }, "migrationNetwork": "7b7e3a39-5543-1d6c-2973-54d6d70b6bfb", "sr": "90c393c6-4d12-f04a-38f1-f547268e9187", "targetHost": "e74d45d2-06c3-4cf5-b412-ddd25d1d780a" } { "code": 21, "data": { "objectId": "3e9cba1f-9880-9cee-4aa2-c1285ba84dd7", "code": "DUPLICATE_VM" }, "message": "operation failed", "name": "XoError", "stack": "XoError: operation failed at factory (/home/xo/xen-orchestra/packages/xo-common/src/api-errors.js:21:32) at /home/xo/xen-orchestra/packages/xo-server/src/api/vm.js:487:15 at Object.migrate (/home/xo/xen-orchestra/packages/xo-server/src/api/vm.js:474:3) at Api.callApiMethod (/home/xo/xen-orchestra/packages/xo-server/src/xo-mixins/api.js:304:20)" } -
You may want to review this thread.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login