Elad, the the VM from configuration checks the existence of the VM id.
Probably RHEL_65_CL1_CLONE2 has the same id as the VM which is being imported.
Regards,
Maor
----- Original Message -----
From: "Elad Ben Aharon" <ebenahar(a)redhat.com>
To: "santosh" <sbahir(a)commvault.com>, "Allon Mureinik"
<amureini(a)redhat.com>
Cc: users(a)ovirt.org
Sent: Tuesday, October 7, 2014 9:08:42 AM
Subject: Re: [ovirt-users] Restoring backed up VM
If you still have the backed up VM in your system, the create from
configuration operation should be blocked as you've encountered.
Allon, what does the create VM from configuration checks? The existence of
the VM name or the existence of its ID?
----- Original Message -----
From: "santosh" <sbahir(a)commvault.com>
To: users(a)ovirt.org
Sent: Monday, 6 October, 2014 4:28:06 AM
Subject: [ovirt-users] Restoring backed up VM
Hi
I am trying to backup and restore the VM using the flow suggester at
Features/Backup-Restore API Integration
When I tried to restore the VM using the following steps,
Full Virtual Machine Restoration
1. Create disks for restore
2. Attach the disks for restore to the virtual appliance (Restore the
data to it)
3. Detach the disks from the virtual appliance.
4. Create a vm using the configuration that was saved as part of the
backup flow - (added capabillity to oVirt as part of the Backup API)
5. Attach the restored disks to the created vm.
I encountered following error at step 4.
<fault>
<reason>Operation Failed</reason>
<detail>[Import VM failed - VM Id already exist in the system . Please remove
the VM (RHEL_65_CL1_CLONE2) from the system first]</detail>
</fault>
I have not deleted/removed the backed up VM from the system.
Is it expected behaviour?
Should it not overwrite the existing VM or Create new VM with different VM
Id, if the backup up VM exists?
Thanks, Santosh
***************************Legal Disclaimer***************************
"This communication may contain confidential and privileged material for the
sole use of the intended recipient. Any unauthorized review, use or
distribution
by others is strictly prohibited. If you have received the message by
mistake,
please advise the sender by reply email and delete the message. Thank you."
**********************************************************************
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users