Bug 1054360
| Summary: | RFE: let users run an AS7/EAP6 CLI script with an operation on Standalone or Host Controller resources | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Thomas Segismont <tsegismo> |
| Component: | Plugins | Assignee: | Libor Zoubek <lzoubek> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.10 | CC: | hrupp, lzoubek, theute |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | RHQ 4.10 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-04-23 12:29:58 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: | |
| Embargoed: | |||
|
Description
Thomas Segismont
2014-01-16 17:05:58 UTC
in master
commit 275832167d4969404896875eb418bdfa8468fa24
Author: Libor Zoubek <lzoubek>
Date: Wed Feb 19 12:50:02 2014 +0100
[BZ 1054360] - RFE: let users run an AS7/EAP6 CLI script with an operation
on Standalone or Host Controller resources
Adding 2 new operations for AS7 DomainController and Standalone servers.
executeCommands and executeScript. The latter expects script exists on
target host with as7 cli commands. Both operations run jboss-cli executable
in the end. Currently there is hard-coded timeout waiting to jboss-cli
process to 60s. This should be improved so operation timeout is used
instead. Both operations has 2 additional parameters. If user runs a script
wich changes AS state, he might need to trigger discovery or availability
after right operation success. Plugin config was extended by nativeHost and
nativePort simple properties
- those are required to run jboss-cli and are discovered same way as
management host and port. Both operations could work even if plugin does
not yet know credentials to AS7, since jboss-cli uses magic local
authentication and if it succeeds it ignores supplied user and password
parameters.
commit 2b36795891d0708ed49a35222b057bd122e6b90b
Author: Libor Zoubek <lzoubek>
Date: Mon Feb 24 16:50:07 2014 +0100
[BZ 1054360] RFE: let users run an AS7/EAP6 CLI script with an operation on
Standalone or Host Controller resources
Remove hard-coded timeout when waiting for jboss-cli process. Exposed
another 2 operation parameters to handle process timeout or killing it when
timeout occurs.
Bulk closing of 4.10 issues. If an issue is not solved for you, please open a new BZ (or clone the existing one) with a version designator of 4.10. |