Bug 1210498

Summary: Unregistered disks are not accessible after importing storage domain via RHEV UI
Product: Red Hat Enterprise Virtualization Manager Reporter: Marina Kalinin <mkalinin>
Component: ovirt-engine-webadmin-portalAssignee: Maor <mlipchuk>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: high    
Version: 3.5.0CC: amureini, bcholler, ecohen, gklein, lsurette, rbalakri, Rhev-m-bugs, sherold, yeylon
Target Milestone: ovirt-3.6.3   
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-04-12 14:29:19 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:
Bug Depends On:    
Bug Blocks: 902971    

Description Marina Kalinin 2015-04-09 21:29:20 UTC
Description of problem:
Note: I am not sure what is the definition for "unregistered disks", but I believe this is how we call those. 

In order to be able using those "unregistered" disks on the import domain, it is required to register them using RestAPI ONLY. This option should be available on the UI as well.

Another problem I noticed while testing is that the disk looses its interface definition and always consider it as IDE. Even if the original disk was Virtio. This is probably not high priority to fix, however, I think it is wrong behavior.

Version-Release number of selected component (if applicable):
3.5

How reproducible:
Always

Steps to Reproduce:
1. On RHEV Setup X create a VM with 2 disks, one disk (disk1) reside on Domain A, another(disk2) on Domain B.
2. Detach Domain B from Setup X. (I guess this disk can also be any floating disk, unattached to any VM, but my customer is trying do it other way.)
3. Import Domain B into RHEV Setup Y. Storage Domain is imported successfully
4. Go to the Disks Main tab.

Actual results:
Disk disk2 is not present on the UI.
Checking on the SPM host, the disk is available under /rhev/data-center.
There is a workaround to bring the disk using RestAPI. So, after "registering" the disk, the disk shows up on the UI.

Expected results:
This "register" operation should be exposed to UI.

Comment 2 Marina Kalinin 2015-04-09 21:37:58 UTC
It might be a duplicate of this :
https://bugzilla.redhat.com/show_bug.cgi?id=1138139

Comment 4 Allon Mureinik 2015-04-12 14:29:19 UTC
(In reply to Marina from comment #2)
> It might be a duplicate of this :
> https://bugzilla.redhat.com/show_bug.cgi?id=1138139

Indeed, it's a dup of this RFE, and the linked kbase indeed provides a solution to it.
Closing this BZ, and we can continue the prioritization discussion on bug 1138139.

*** This bug has been marked as a duplicate of bug 1138139 ***