Bug 913512
| Summary: | engine: failed to run a vm with two disks and snapshot after import | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Dafna Ron <dron> | ||||
| Component: | ovirt-engine | Assignee: | Liron Aravot <laravot> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Dafna Ron <dron> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.1.3 | CC: | abaron, acathrow, dyasny, hateya, iheim, lpeer, Rhev-m-bugs, sgrinber, yeylon, ykaul | ||||
| Target Milestone: | --- | Keywords: | Regression | ||||
| Target Release: | 3.1.4 | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-02-24 08:12:08 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Liron, dup of bug 912697 ? Ayal, indeed. *** This bug has been marked as a duplicate of bug 912697 *** |
Created attachment 700453 [details] log Description of problem: engine is sending a wrong image group to vdsm for one of the images's volumes and the volume failed to be imported. Version-Release number of selected component (if applicable): si27.1 vdsm-4.10.2-1.5.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. create a vm with two disks 2. create a snapshot 3. export vm -> remove it 4. import the vm 5. try to run the vm Actual results: the image group ID sent for d9e53189-671a-409e-aae0-46cf9380c969 is not the correct one and we fail the import for this volume. we fail to run the vm because one of the snapshots for one of the disks is missing. Expected results: we should import all images/volumes. Additional info: logs these are the images before adding volumes: LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert 6155cbc9-9bcd-4ef9-b897-7884906909c9 41ad4d89-d148-4a33-80d2-30000c969500 -wi------ 1.00g c3856135-6dd0-4b3a-9f7a-10925fc0d349 41ad4d89-d148-4a33-80d2-30000c969500 -wi------ 1.00g adding volumes: LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert 6155cbc9-9bcd-4ef9-b897-7884906909c9 41ad4d89-d148-4a33-80d2-30000c969500 -wi-a---- 1.00g 68a8d35b-f367-4f97-b427-168c74d49e62 41ad4d89-d148-4a33-80d2-30000c969500 -wi-a---- 1.00g c3856135-6dd0-4b3a-9f7a-10925fc0d349 41ad4d89-d148-4a33-80d2-30000c969500 -wi------ 1.00g d9e53189-671a-409e-aae0-46cf9380c969 41ad4d89-d148-4a33-80d2-30000c969500 -wi-a---- 1.00g Export/Imports: 2013-02-21 13:09:58,958 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.MoveImageGroupVDSCommand] (pool-3-thread-49) [44cfb169] START, MoveImageGroupVDSCommand( storagePoolId = 49c0ed52-bde4-4c70-8797-43cd83ded8e7, ignoreFailoverLimit = false, compatabilityVersion = 3.1, storageDomainId = 41ad4d89-d148-4a33-80d2-30000c969500, imageGroupId = bbb8de02-0898-4977-b328-49446527cbc4, dstDomainId = db60351e-b8b1-4c51-bb0f-b8f8ad016e77, vmId = 639dbcf5-bf88-4459-b424-6d7e746 f3bb7, op = Copy, postZero = false, force = false), log id: 1a016527 hThread-192891::INFO::2013-02-21 11:18:36,160::logUtils::37::dispatcher::(wrapper) Run and protect: moveImage(spUUID='49c0ed52-bde4-4c70-8797-43cd83ded8e7', srcDomUUID='41ad4d89-d148-4a33-80d2-30000c969500', dstDomUUID='db60351e-b8b1-4c51-bb0f-b8f8ad016e77', imgUUID='bbb8de02-0898-4977-b328-49446527cbc4', vmUUID='', op=1, postZero='false', force='false') 2013-02-21 13:27:40,450 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.MoveImageGroupVDSCommand] (pool-3-thread-45) [68f305a8] START, MoveImageGroupVDSCommand( storagePoolId = 49c0ed52-bde4-4c70-8797-43cd83ded8e7, ignoreFailoverLimit = false, compatabilityVersion = 3.1, storageDomainId = db60351e-b8b1-4c51-bb0f-b8f8ad016e77, imageGroupId = bbb8de02-0898-4977-b328-49446527cbc4, dstDomainId = 41ad4d89-d148-4a33-80d2-30000c969500, vmId = 639dbcf5-bf88-4459-b424-6d7e746f3bb7, op = Copy, postZero = false, force = true), log id: 78f25b99 2013-02-21 13:29:16,834 INFO [org.ovirt.engine.core.bll.MoveOrCopyImageGroupCommand] (pool-3-thread-45) [116961fc] Ending command successfully: org.ovirt.engine.core.bll.MoveOrCopyImageGroupCommand 2013-02-21 13:29:16,837 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageInfoVDSCommand] (pool-3-thread-45) [116961fc] START, GetImageInfoVDSCommand( storagePoolId = 49c0ed52-bde4-4c70-8797-43cd83ded8e7, ignoreFailoverLimit = false, compatabilityVersion = null, storageDomainId = 41ad4d89-d148-4a33-80d2-30000c969500, imageGroupId = 3e0d6a9c-2263-43ae-a729-8cae09da81ac, imageId = d9e53189-671a-409e-aae0-46cf9380c969), log id: 4a9d861 2013-02-21 13:29:17,231 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageInfoVDSCommand] (pool-3-thread-45) [116961fc] IrsBroker::getImageInfo::Failed getting image info imageId = d9e53189-671a-409e-aae0-46cf9380c969 does not exist on domainName = Daffi1 , domainId = 41ad4d89-d148-4a33-80d2-30000c969500, error code: VolumeDoesNotExist, message: Volume does not exist: ('d9e53189-671a-409e-aae0-46cf9380c969',) 2013-02-21 13:29:17,232 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-45) [116961fc] Command org.ovirt.engine.core.vdsbroker.irsbroker.GetImageInfoVDSCommand return value Class Name: org.ovirt.engine.core.vdsbroker.irsbroker.OneImageInfoReturnForXmlRpc mInfo Null mStatus Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc mCode 201 mMessage Volume does not exist: ('d9e53189-671a-409e-aae0-46cf9380c969',)