Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1349517

Summary: Listing host storages on 4.0 using APIv3 causes internal error
Product: [oVirt] ovirt-engine Reporter: Vaclav Kondula <vkondula>
Component: RestAPIAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kubica <pkubica>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: bugs, gklein, juan.hernandez, mperina
Target Milestone: ovirt-4.0.1Keywords: AutomationBlocker, Regression
Target Release: 4.0.1.1Flags: rule-engine: ovirt-4.0.z+
rule-engine: blocker+
rule-engine: planning_ack+
juan.hernandez: devel_ack+
pstehlik: testing_ack+
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: 2016-08-04 13:30:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vaclav Kondula 2016-06-23 15:06:56 UTC
Description of problem:
Trying to access /ovirt-engine/api/v3/hosts/ed1bf140-d7ca-4250-9aa1-02cf54796f1c/storage on 4.0.0.6-0.1.el7ev causes "internal error"
Works fine on v4.


Version-Release number of selected component (if applicable):
rhevm 4.0.0.6-0.1.el7ev

How reproducible:


Steps to Reproduce:
1. access /ovirt-engine/api/v3/hosts/{host}/storage

Actual results:
"Internal error"

Expected results:
listing storages on that host

Comment 1 Petr Kubica 2016-07-25 12:59:01 UTC
Hi, I have engine with host and configured nfs torage domain and local storage on that host but GET https://10.34.63.115/ovirt-engine/api/v3/hosts/ec5e93c6-937e-4154-a328-e48a4b82fc60/storage/ return only "<host_storage/>".
(behavior in v4 is the same) so how can I populate this page ?

Comment 2 Juan Hernández 2016-07-26 07:36:06 UTC
That collection only enumerates SCSI storage, so you need to make sure that you have some fibre channel or iSCSI LUNs visible to that host.

Comment 3 Petr Kubica 2016-07-26 11:43:09 UTC
Verified in 
ovirt-engine-restapi-4.0.2-0.2.rc1.el7ev.noarch
ovirt-engine-4.0.2-0.2.rc1.el7ev.noarch