Bug 674767

Summary: New Verb for discovering if luns were connected correctly
Product: Red Hat Enterprise Linux 6 Reporter: mkublin <mkublin>
Component: vdsmAssignee: Dan Kenigsberg <danken>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: high    
Version: 6.3CC: abaron, bazulay, danken, dnaori, iheim, lpeer, srevivo
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: vdsm-4.9-49 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-19 15:12:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 671139    

Description mkublin 2011-02-03 09:07:10 UTC
Description of problem:

At time of extend some ISCSI domain the backend need a new verb from the side of vdsm in order to retrieve if the connections of luns was successes.

1)Today we are using GetDeviceInfo for each lun in order to refresh it at vds side and recognized if it was connected correct. Obvious it is not performance efficient.

2)The using of GetDeviceList is also has a performance problems - it is the size of message which is send back from vds to backend - we actually receive information about all connected devices, the message can be big.

The desired API:
We will send to vdsm a list of luns ids and receive back map of lun id and its status.

Comment 2 David Naori 2011-02-20 20:54:12 UTC
Verified on vdsm-4.9-49

vdsClient -s 0 getDevicesVisibility 1Net-2-50G,1Net-2-50G,1Net-3-50G,1Net-4-50G,1error3-12g,1IET_00150001,1Net-1-50G,1error5-12g

        1error3-12g = True
        1Net-4-50G = False
        1IET_00150001 = True
        1Net-2-50G = True
        1Net-1-50G = True
        1error5-12g = True
        1Net-3-50G = False