A virtual machine, created from a VM template, cannot start with the following error:
[root@pcs ~]# prlctl create test-vm --ostemplate test-template [root@pcs ~]# prlctl start test-vm Starting the VM... Failed to start the VM: Unable to complete the operation for the virtual machine "%1". The virtual machine is registered on another server. You can only unregister the virtual machine or stop it.
The VM template was copied from a different server
- The server is a part of Parallels Cloud Storage
The VM template has incorrect "ServerUuid" parameter in its configuration file, which belongs to another server, so the VM's server ownership becomes incorrect after it's cloned from the template.
Re-register the VM template:
# prlctl unregister $vm_template # prlctl register /var/parallels/$vm_template.pvm/config.pvs
[root@pcs ~]# prlctl unregister test-template The VM has been successfully unregistered. [root@pcs ~]# prlctl register /var/parallels/test-template.pvm/config.pvs Register the VM... The VM has been successfully registered.
After the VM template is corrected, recreate the new VM.