Bug 1270022
| Summary: | Machine import failure | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Anatoly Litovsky <tlitovsk> | ||||
| Component: | ovirt-engine | Assignee: | Ala Hino <ahino> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Aharon Canan <acanan> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 3.6.0 | CC: | ahino, amureini, ecohen, fdeutsch, gklein, lsurette, rbalakri, Rhev-m-bugs, sbonazzo, tlitovsk, yeylon | ||||
| Target Milestone: | ovirt-3.6.0-rc3 | Keywords: | AutomationBlocker, TestBlocker | ||||
| Target Release: | 3.6.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-10-11 19:48:30 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: |
|
||||||
|
Description
Anatoly Litovsky
2015-10-08 20:00:09 UTC
var/log/ovirt-engine/ovirt-image-uploader/ovirt-image-uploader-20151008144243.log is empty, so it seems that no error happened while uploading the image.
If you had an issue while uploading it, please run again with --verbose option and attach the new log.
according to
$ grep 7d4983d4 var/log/ovirt-engine/engine.log
2015-10-08 14:48:26,482 INFO [org.ovirt.engine.core.bll.ImportVmCommand] (ajp-/127.0.0.1:8702-15) [7d4983d4] Lock Acquired to object 'EngineLock:{exclusiveLocks='[9e8437af-b036-4451-8e98-3fe80b77444b=<VM, ACTION_TYPE_FAILED_VM_IS_BEING_IMPORTED$VmName centos7>, centos7=<VM_NAME, ACTION_TYPE_FAILED_NAME_ALREADY_USED>]', sharedLocks='[9e8437af-b036-4451-8e98-3fe80b77444b=<REMOTE_VM, ACTION_TYPE_FAILED_VM_IS_BEING_IMPORTED$VmName centos7>]'}'
2015-10-08 14:48:26,500 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp-/127.0.0.1:8702-15) [7d4983d4] START, GetVmsInfoVDSCommand( GetVmsInfoVDSCommandParameters:{runAsync='true', storagePoolId='00000001-0001-0001-0001-000000000024', ignoreFailoverLimit='false', storageDomainId='cc4851cd-000c-4af1-b1cc-dd56ffb7a445', vmIdList='null'}), log id: 3d54671a
2015-10-08 14:48:26,526 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp-/127.0.0.1:8702-15) [7d4983d4] FINISH, GetVmsInfoVDSCommand, log id: 3d54671a
2015-10-08 14:48:26,743 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetImagesListVDSCommand] (ajp-/127.0.0.1:8702-15) [7d4983d4] START, GetImagesListVDSCommand( GetImagesListVDSCommandParameters:{runAsync='true', storagePoolId='00000001-0001-0001-0001-000000000024', ignoreFailoverLimit='false', sdUUID='275d8ae2-5849-4812-94ba-e155c3a75634'}), log id: 4f95c8cf
2015-10-08 14:48:26,752 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetImagesListVDSCommand] (ajp-/127.0.0.1:8702-15) [7d4983d4] FINISH, GetImagesListVDSCommand, return: [], log id: 4f95c8cf
2015-10-08 14:48:26,753 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] (ajp-/127.0.0.1:8702-15) [7d4983d4] START, DoesImageExistVDSCommand( GetImageInfoVDSCommandParameters:{runAsync='true', storagePoolId='00000001-0001-0001-0001-000000000024', ignoreFailoverLimit='false', storageDomainId='cc4851cd-000c-4af1-b1cc-dd56ffb7a445', imageGroupId='ea284943-a3f1-41af-adee-d44230c46e10', imageId='ca79d52c-597a-4ca9-a40d-bbfa275bbd5e'}), log id: 1421c428
2015-10-08 14:48:26,771 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] (ajp-/127.0.0.1:8702-15) [7d4983d4] FINISH, DoesImageExistVDSCommand, return: true, log id: 1421c428
2015-10-08 14:48:27,132 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-15) [15f1fc7f] Correlation ID: 7d4983d4, Job ID: 0c3f8521-112c-4b50-aae5-7424e15f0b00, Call Stack: null, Custom Event ID: -1, Message: Failed to import Vm centos7 to Data Center Default, Cluster Default
Looks like the image was correctly on the export domain but failed while moving to data domain.
So it doesn't seems an image uploader issue. Moving to engine / storage for further investigation
Based on following engine log:
2015-10-08 14:48:27,141 INFO [org.ovirt.engine.core.bll.ImportVmCommand] (ajp-/127.0.0.1:8702-15) [15f1fc7f] Lock freed to object 'EngineLock:{exclusiveLocks='[9e8437af-b036-4451-8e98-3fe80b77444b=<VM, ACTION_TYPE_FAILED_VM_IS_BEING_IMPORTED$VmName centos7>, centos7=<VM_NAME, ACTION_TYPE_FAILED_NAME_ALREADY_USED>]', sharedLocks='[9e8437af-b036-4451-8e98-3fe80b77444b=<REMOTE_VM, ACTION_TYPE_FAILED_VM_IS_BEING_IMPORTED$VmName centos7>]'}'
Looks like vm name "centos7" is already used. Can you please verify this?
This is the first VM created/imported after a clean install on fresh machine. there was now other VM's there Ala, is is a duplicate of bug 1269948 ? It seems so OK, closing. Tolik/Fabian - you'll have this available in the next build, or right now if you particularly want to build the engine from source. *** This bug has been marked as a duplicate of bug 1269948 *** |