Bug 771644 - Export doesn't appear in Webadmin but is displayed in WPF
Summary: Export doesn't appear in Webadmin but is displayed in WPF
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 3.1
Assignee: Daniel Erez
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-04 12:59 UTC by Jaroslav Henner
Modified: 2012-12-17 07:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-17 07:48:56 UTC
oVirt Team: ---


Attachments (Terms of Use)
rhevm.log (201.58 KB, text/x-log)
2012-01-04 12:59 UTC, Jaroslav Henner
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 770394 0 unspecified CLOSED Click on Unattached Export and ISO Storage Domains does not show their sub-tabs 2021-02-22 00:41:40 UTC

Internal Links: 770394

Description Jaroslav Henner 2012-01-04 12:59:52 UTC
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.

Comment 1 Einav Cohen 2012-01-04 14:18:33 UTC
Need to solve upstream (maybe already solved).

Comment 2 Einav Cohen 2012-01-04 15:58:11 UTC
- same root cause as Bug 770394
- solved upstream in:
http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commitdiff;h=93c9d2012fc819974894243b829b36d480ea4a42

Comment 3 Jaroslav Henner 2012-06-28 09:39:47 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.