Bug 1311630 (TEIIDWEBCN-20-DV6.2.4)

Summary: "Unknown attribute ssl-enable" error in DV Management Console when configuring a transport for SSL
Product: [JBoss] JBoss Data Virtualization 6 Reporter: dsteigne
Component: ConfigurationAssignee: jolee
Status: CLOSED CURRENTRELEASE QA Contact: Filip Elias <felias>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: aszczucz, jdurani, jolee, mbaluch, thauser
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-24 11:43:22 UTC Type: Support Patch
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: 1307150    

Description dsteigne 2016-02-24 16:00:10 UTC
Description of problem:
 clicking the SSL Enabled checkbox on a Teiid Transport in the Management Console gives below error upon saving:

Unexpected HTTP response: 500

Request
{
    "operation" => "composite",
    "address" => [],
    "steps" => [{
        "address" => [
            ("profile" => "ha"),
            ("subsystem" => "teiid"),
            ("transport" => "jdbc")
        ],
        "operation" => "write-attribute",
        "name" => "ssl-enable",
        "value" => true
    }]
}

Response

Internal Server Error
{
    "outcome" => "failed",
    "result" => {"step-1" => {
        "outcome" => "failed",
        "failure-description" => "JBAS014792: Unknown attribute ssl-enable",
        "rolled-back" => true
    }},
    "failure-description" => {"domain-failure-description" => {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "JBAS014792: Unknown attribute ssl-enable"}}},
    "rolled-back" => true
}

The correct attribute is ssl-mode=enabled, which is what setting the Mode Field to enabled does.  Either remove the checkbox for "SSL Enabled" or have it send the correct operation:
Request
{
    "operation" => "composite",
    "address" => [],
    "steps" => [{
        "address" => [
            ("profile" => "ha"),
            ("subsystem" => "teiid"),
            ("transport" => "jdbc")
        ],
        "operation" => "write-attribute",
        "name" => "ssl-mode",
        "value" => enabled
    }]
}


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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 jolee 2016-03-09 19:56:27 UTC
Alex,
  This change is on the 62-1.2.x branch for teiid-web-console.  Anything else I need to do to make sure it get's into DV 6.2.4 ?


[1]
https://github.com/teiid/teiid-web-console/commit/a4d033a42a2a377e78b9b7eca97cea4c60a7b4ec

Comment 2 Alex Szczuczko 2016-03-10 11:00:03 UTC
I will need a new source tag for teiid-web-console, but nothing other than that.

Comment 3 Juraj DurĂ¡ni 2016-03-29 08:36:13 UTC
The option "ssl-mode" has been replace with the option "mode".