Bug 1317279 - iscsi login fails in v3
Summary: iscsi login fails in v3
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ovirt-4.0.0-alpha
: 4.0.0
Assignee: Juan Hernández
QA Contact: Pavel Stehlik
URL:
Whiteboard:
: 1317281 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-13 17:40 UTC by Nelly Credi
Modified: 2016-07-05 07:58 UTC (History)
3 users (show)

Fixed In Version: ovirt 4.0.0 alpha1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-05 07:58:04 UTC
oVirt Team: Infra
rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
juan.hernandez: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 54706 0 master MERGED restapi: Add V3 action adapters 2016-03-14 11:49:50 UTC

Description Nelly Credi 2016-03-13 17:40:35 UTC
Description of problem:
iscsi login results in HTTP500

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


How reproducible:
100%

Steps to Reproduce:
1 send request ovirt-engine/api/hosts/f4930d27-6eee-42a7-9c00-b769cd119535/iscsilogin with version: 3 
<action>
    <async>false</async>
    <grace_period>
        <expiry>10</expiry>
    </grace_period>
    <iscsi>
        <target>.....</target>
        <address>.......</address>
    </iscsi>
</action>


Actual results:
HTTP 500
<html><head><title>Error</title></head><body>Internal Server Error</body></html>


Expected results:
HTTP 200

Additional info:
This is working with version:4

Comment 1 Yaniv Kaul 2016-03-13 21:13:30 UTC
Engine and server log? (please always attach them)

Comment 2 Juan Hernández 2016-03-14 11:48:42 UTC
This is caused by missing V4 adapters for the "Action" type. The proposed patch fixes the issue.

Comment 3 Juan Hernández 2016-03-14 11:49:29 UTC
*** Bug 1317281 has been marked as a duplicate of this bug. ***

Comment 4 Nelly Credi 2016-03-28 11:57:54 UTC
this was already fixed removing the need info

Comment 5 Sandro Bonazzola 2016-07-05 07:58:04 UTC
oVirt 4.0.0 has been released, closing current release.


Note You need to log in before you can comment on or make changes to this bug.