Bug 1415078

Summary: direct lun disk status is not available via GUI/RestAPI
Product: [oVirt] ovirt-engine Reporter: Avihai <aefrat>
Component: BLL.StorageAssignee: Allon Mureinik <amureini>
Status: CLOSED NOTABUG QA Contact: Raz Tamir <ratamir>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-22 09:50:56 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 Flags
Print screen of GUI and RestApi of the direct lun vs image disk
none
GUI view of direct lun vs image disk none

Description Avihai 2017-01-20 07:53:28 UTC
Created attachment 1242662 [details]
Print screen of GUI and RestApi of the direct lun vs image disk

Description of problem:
Direct lun disk status is not available via GUI/RestAPI 
On Same fc/iscsi domain an image disk status is available.


Version-Release number of selected component (if applicable):
ovirt-engine-4.1.0.1-0.4.master.20170118134729.gitf34da1f.el7.centos.noarch

How reproducible:
100%


Steps to Reproduce:
1.create block(iscsi/fc) domain
2.create a direct lun disk
3.check out via GUI/RestAPI what is the disk status.

Actual results:
Direct lun disk status is not available.
Via GUI I get N/A.
Via RestAPI "status" field does not exist .


Expected results:
Direct lun disk status should be shown the same as an image disk .

Additional info:
On Same fc/iscsi domain an image disk status is available.

Comment 1 Avihai 2017-01-20 07:55:01 UTC
Created attachment 1242663 [details]
GUI view of direct lun vs image disk

Comment 2 Yaniv Kaul 2017-01-22 09:50:56 UTC
AFAIR, we don't know the status of a direct LUN. We don't monitor or check it.
There's no real status for it either (what does it means 'not OK' ?)

Comment 3 Avihai 2017-01-22 11:56:23 UTC
(In reply to Yaniv Kaul from comment #2)
> AFAIR, we don't know the status of a direct LUN. We don't monitor or check
> it.
> There's no real status for it either (what does it means 'not OK' ?)

"OK" is taken from an image disk status field both in GUI/RestAPI.
In direct lun disk you see in GUI "N/A" .

In direct lun disk I would expect it to have the same status as any other disk.

I understand its a different kind of disk that we can only know its status from the lun connectivity state.

Can we monitor the lun state & apply it to the direct disk state ?
Maybe an RFE is in order here ?