Bug 1318613

Summary: It's not possible to execute CLI operations on EAP7 when the http-upgrade is disabled
Product: [JBoss] JBoss Operations Network Reporter: Filip Brychta <fbrychta>
Component: Plugin -- JBoss EAP 7Assignee: Simeon Pinder <spinder>
Status: CLOSED WONTFIX QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.3.5Keywords: Triaged
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-03-17 11:02:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Filip Brychta 2016-03-17 10:59:03 UTC
Description of problem:
The fix for bz1311094 removed nativeHost/nativePort attributes from plugin config because those are no longer necessary when the http-upgrade is enabled (which is default on EAP7). However it's possible to disable the http-upgrade and it that case it will not be possible to execute CLI operations on EAP7.

Version-Release number of selected component (if applicable):
JON 3.3.5 with eap plugin pack 04

How reproducible:
Always

Steps to Reproduce:
1. import EAP7 with disabled http-upgrade to JON inventory
2. run "Execute CLI Commands" operation


Actual results:
It will fail because the JON agent will start jboss cli client with incorrect controller port.

Expected results:
It should be detected if http-upgrade is enabled/disabled and choose correct port for CLI operations accordingly.

Additional info:
This will probably apply for cli operations in bundle handover as well.

Comment 1 Filip Brychta 2016-03-17 11:02:44 UTC
Closing as WONTFIX based on discussion with Larry and Thomas.
It has been acknowledged that the user must not disable http upgrade so that we can still start a connected CLI from the JON agent.