Bug 809805
Summary: | Failed to clone vm from a snapshot which is not the first in chain | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Avihai Shoham <ashoham> | ||||
Component: | ovirt-engine-core | Assignee: | Yair Zaslavsky <yzaslavs> | ||||
Status: | CLOSED NOTABUG | QA Contact: | |||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | unspecified | CC: | acathrow, dyasny, iheim, mgoldboi, oourfali, ykaul | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-04-05 12:19:54 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
This has to do with wrong treatment in the code of multiple storage domains - there is a check that compares the map passed by UI and the size of the list of images - it uses the code of AddVmCommand.buildAndCheckDestStorageDomains - This method should be changed to use methods that will be overriden in child classes to return the correct images list (and not the images of the templates which are not relevant here). environment miss-configuration |
Created attachment 575109 [details] vdsm log when i cloned a VM from a snapshot which it isn't the first in chain the cloning action failed due to "Can not found any default active domain for one of the disks of template with id : 00000000-0000-0000-0000-000000000000" Observed by Yzaslavs Steps to Reproduce: 1.Create 2 snapshot 2.Clone VM from the 2nd snapshot Actual results: Snapshot failed Expected results: Snapshot success