Bug 1311630 (TEIIDWEBCN-20-DV6.2.4) - "Unknown attribute ssl-enable" error in DV Management Console when configuring a transport for SSL
Summary: "Unknown attribute ssl-enable" error in DV Management Console when configurin...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: TEIIDWEBCN-20-DV6.2.4
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Configuration
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: jolee
QA Contact: Filip Elias
URL:
Whiteboard:
Depends On:
Blocks: 1307150
TreeView+ depends on / blocked
 
Reported: 2016-02-24 16:00 UTC by dsteigne
Modified: 2019-09-12 09:57 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-24 11:43:22 UTC
Type: Support Patch
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIIDWEBCN-20 0 Major Resolved "Unknown attribute ssl-enable" error in DV Management Console when configuring a transport for SSL 2016-08-18 08:34:44 UTC
Red Hat Knowledge Base (Solution) 2177271 0 None None None 2016-02-24 16:03:18 UTC

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".


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