Back to bug 1308350

Who When What Removed Added
Yaniv Lavi 2016-02-14 14:52:10 UTC See Also https://bugzilla.redhat.com/show_bug.cgi?id=1217401
Yaniv Lavi 2016-02-14 14:52:41 UTC Target Milestone --- ovirt-4.0.0
Flags ovirt-4.0.0? planning_ack? testing_ack?
Gil Klein 2016-02-15 08:54:15 UTC CC gklein
Juan Hernández 2016-02-15 09:00:48 UTC Assignee juan.hernandez amureini
Allon Mureinik 2016-02-15 13:13:16 UTC Assignee amureini frolland
Aharon Canan 2016-03-10 10:00:39 UTC CC acanan
QA Contact pstehlik emarcian
Fred Rolland 2016-04-19 08:44:52 UTC Link ID oVirt gerrit 56270
Link ID oVirt gerrit 56301
Status NEW POST
Red Hat Bugzilla Rules Engine 2016-04-19 08:44:57 UTC Flags planning_ack? planning_ack+
Fred Rolland 2016-04-21 08:58:01 UTC Status POST MODIFIED
Doc Text Adding support for skipping the LUN status check in the REST API.
Checking the status of the LUN is a heavyweight operation and this data is not always needed by the user.

The default is `true` for backward compatibility.
The parameter `report_status` is available both on getting the list of a host storages or a specific host storage:

GET /hosts/{host:id}/storage
GET /hosts/{host:id}/storage/{storage:id}

For example, to skip the LUN status check, set `report_status` to false:
(The `status` field of the LUN will not be present in the response)

GET /hosts/{host:id}/storage/{storage:id};report_status=false

<host_storage id="360014051136c20574f743bdbd28177fd">
<logical_units>
<logical_unit id="360014051136c20574f743bdbd28177fd">
<lun_mapping>0</lun_mapping>
<paths>1</paths>
<product_id>lun0</product_id>
<serial>SLIO-ORG_lun0_1136c205-74f7-43bd6993</serial>
<size>10737418240</size>
<vendor_id>LIO-ORG</vendor_id>
<volume_group_id>O9Du7I-RahN</volume_group_id>
</logical_unit>
</logical_units>
<type>iscsi</type>
<host id="8bb5ade5-e988-4000-8b93-dbfc6717fe50"/>
</host_storage>
Doc Type Bug Fix Enhancement
Sandro Bonazzola 2016-05-19 09:17:04 UTC Status MODIFIED ON_QA
Target Release --- 4.0.0
CC sbonazzo
Target Milestone ovirt-4.0.0-alpha ovirt-4.0.0-beta
Gil Klein 2016-08-11 15:07:10 UTC Status ON_QA CLOSED
Resolution --- CURRENTRELEASE
Last Closed 2016-08-11 11:07:10 UTC
Megan Lewis 2016-08-16 01:57:30 UTC CC melewis
Doc Text Adding support for skipping the LUN status check in the REST API.
Checking the status of the LUN is a heavyweight operation and this data is not always needed by the user.

The default is `true` for backward compatibility.
The parameter `report_status` is available both on getting the list of a host storages or a specific host storage:

GET /hosts/{host:id}/storage
GET /hosts/{host:id}/storage/{storage:id}

For example, to skip the LUN status check, set `report_status` to false:
(The `status` field of the LUN will not be present in the response)

GET /hosts/{host:id}/storage/{storage:id};report_status=false

<host_storage id="360014051136c20574f743bdbd28177fd">
<logical_units>
<logical_unit id="360014051136c20574f743bdbd28177fd">
<lun_mapping>0</lun_mapping>
<paths>1</paths>
<product_id>lun0</product_id>
<serial>SLIO-ORG_lun0_1136c205-74f7-43bd6993</serial>
<size>10737418240</size>
<vendor_id>LIO-ORG</vendor_id>
<volume_group_id>O9Du7I-RahN</volume_group_id>
</logical_unit>
</logical_units>
<type>iscsi</type>
<host id="8bb5ade5-e988-4000-8b93-dbfc6717fe50"/>
</host_storage>
With this update, support has been added for skipping the LUN status check in the REST API as checking the status of the LUN is a heavyweight operation and this data is not always required. To enable this feature set report_status to false. The default for report_status is true to allow for backward compatibility. The report_status parameter is available when getting a list of host storage domains or when getting a specific host storage domain, GET /hosts/{host:id}/storage or GET /hosts/{host:id}/storage/{storage:id}. For example:

GET /hosts/{host:id}/storage/{storage:id};report_status=false

<host_storage id="360014051136c20574f743bdbd28177fd">
<logical_units>
<logical_unit id="360014051136c20574f743bdbd28177fd">
<lun_mapping>0</lun_mapping>
<paths>1</paths>
<product_id>lun0</product_id>
<serial>SLIO-ORG_lun0_1136c205-74f7-43bd6993</serial>
<size>10737418240</size>
<vendor_id>LIO-ORG</vendor_id>
<volume_group_id>O9Du7I-RahN</volume_group_id>
</logical_unit>
</logical_units>
<type>iscsi</type>
<host id="8bb5ade5-e988-4000-8b93-dbfc6717fe50"/>
</host_storage>
Allon Mureinik 2016-08-16 08:12:19 UTC CC amureini
Flags needinfo?(melewis)
Megan Lewis 2016-08-17 03:41:37 UTC Doc Text With this update, support has been added for skipping the LUN status check in the REST API as checking the status of the LUN is a heavyweight operation and this data is not always required. To enable this feature set report_status to false. The default for report_status is true to allow for backward compatibility. The report_status parameter is available when getting a list of host storage domains or when getting a specific host storage domain, GET /hosts/{host:id}/storage or GET /hosts/{host:id}/storage/{storage:id}. For example:

GET /hosts/{host:id}/storage/{storage:id};report_status=false

<host_storage id="360014051136c20574f743bdbd28177fd">
<logical_units>
<logical_unit id="360014051136c20574f743bdbd28177fd">
<lun_mapping>0</lun_mapping>
<paths>1</paths>
<product_id>lun0</product_id>
<serial>SLIO-ORG_lun0_1136c205-74f7-43bd6993</serial>
<size>10737418240</size>
<vendor_id>LIO-ORG</vendor_id>
<volume_group_id>O9Du7I-RahN</volume_group_id>
</logical_unit>
</logical_units>
<type>iscsi</type>
<host id="8bb5ade5-e988-4000-8b93-dbfc6717fe50"/>
</host_storage>
With this update, support has been added for skipping the LUN status check in the REST API as checking the status of the LUN is a heavyweight operation and this data is not always required. To enable this feature set report_status to false. The default for report_status is true to allow for backward compatibility. The report_status parameter is available when getting a list of storage devices visible to a host or when getting a specific storage device via a host, GET /hosts/{host:id}/storage or GET /hosts/{host:id}/storage/{storage:id}. For example:

GET /hosts/{host:id}/storage/{storage:id};report_status=false

<host_storage id="360014051136c20574f743bdbd28177fd">
<logical_units>
<logical_unit id="360014051136c20574f743bdbd28177fd">
<lun_mapping>0</lun_mapping>
<paths>1</paths>
<product_id>lun0</product_id>
<serial>SLIO-ORG_lun0_1136c205-74f7-43bd6993</serial>
<size>10737418240</size>
<vendor_id>LIO-ORG</vendor_id>
<volume_group_id>O9Du7I-RahN</volume_group_id>
</logical_unit>
</logical_units>
<type>iscsi</type>
<host id="8bb5ade5-e988-4000-8b93-dbfc6717fe50"/>
</host_storage>
Flags needinfo?(melewis)

Back to bug 1308350