Hide Forgot
Created attachment 550677 [details] rhevm.log Description of problem: After attaching export attached in another setup, but in maintenance (DOWN) state, the export is probably noted in DB, but webadmin doesn't display it and when trying to add'n'attach it to setup, it says: Import operation failed. Domain export-pn-migrations already exists in the system. Note that there are some events about possibly corrupted VMs or templates. Version-Release number of selected component (if applicable): RHEVM 3.0.1_0001-3.el6 How reproducible: unknown Steps to Reproduce: 1. Have export in one setup. Attached, in DOWN state. 2. Add and attach it in another setup. Error will be displayed. 3. Detach it 4. Add and attach it in another setup again. Actual results: """ Import operation failed. Domain export-pn-migrations already exists in the system. """ In that time the export is present when looking trough WPF and RESTAPI. Expected results: Export visible everywhere. Additional info: I believe these messages are from time I was trying to attach storage that is not visible in Webadmin. 2012-01-04 13:35:59,668 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (http-0.0.0.0-8443-27) IrsBroker::Failed::AttachStorageDomainVDS due to: IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Storage domain already attached to pool: 'domain=38c0db4a-cfd7-4ef9-b8ed-6942ae42841b, pool=ccbedc9c-3fe0-48ab-8ccb-2be11eaf3032' 2012-01-04 13:35:59,668 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand] (http-0.0.0.0-8443-27) FINISH, AttachStorageDomainVDSCommand, log id: 6910e915 2012-01-04 13:35:59,668 ERROR [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (http-0.0.0.0-8443-27) Command org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand throw Vdc Bll exception. With error message VdcBLLException: org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Storage domain already attached to pool: 'domain=38c0db4a-cfd7-4ef9-b8ed-6942ae42841b, pool=ccbedc9c-3fe0-48ab-8ccb-2be11eaf3032' 2012-01-04 13:35:59,872 INFO [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (http-0.0.0.0-8443-27) Command [id=6565ddfc-f041-4c22-8c56-e968dd8a199a]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.storage_pool_iso_map; snapshot: storagePoolId = 32e7aa9e-31ff-467b-8cc2-f90c108aff2f, storageId = 38c0db4a-cfd7-4ef9-b8ed-6942ae42841b.
Need to solve upstream (maybe already solved).
- same root cause as Bug 770394 - solved upstream in: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commitdiff;h=93c9d2012fc819974894243b829b36d480ea4a42
1. Had export in setup A. Attached, in DOWN state. 2. Added and attached it in setup B. Error was displayed. Export got added, in detached state in setup B. 3. Detached it in A. 4. Tried to add'n'attach it in B. Error popped. 5. Tried to attach it. Got attached. I think this is fine now.