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

Bug 1317279

Summary: iscsi login fails in v3
Product: [oVirt] ovirt-engine Reporter: Nelly Credi <ncredi>
Component: RestAPIAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.0.0CC: amureini, bugs, ncredi
Target Milestone: ovirt-4.0.0-alphaKeywords: AutomationBlocker
Target Release: 4.0.0Flags: rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
juan.hernandez: devel_ack+
rule-engine: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt 4.0.0 alpha1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:58:04 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 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.