| Summary: | Patching status is not detected correctly from EAP7 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Michael Burman <miburman> | ||||||||
| Component: | Plugin -- JBoss EAP 7 | Assignee: | Simeon Pinder <spinder> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jeeva Kandasamy <jkandasa> | ||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | high | ||||||||||
| Version: | JON 3.3.5 | CC: | fbrychta, jkandasa, loleary, mmahoney | ||||||||
| Target Milestone: | DR01 | Keywords: | Triaged | ||||||||
| Target Release: | One-off release | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2016-06-06 18:56:40 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: | |||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 1314853 | ||||||||||
| Attachments: |
|
||||||||||
The output with --json-output (which can't be used with EAP6) is a bit different to the old one.
[standalone@localhost:9990 /] patch info --json-output
{
"outcome" : "success",
"result" : {
"cumulative-patch-id" : "base",
"patches" : [],
"version" : "7.0.0.GA",
"addon" : null,
"layer" : {"base" : {
"cumulative-patch-id" : "base",
"patches" : []
}},
"patch-stream" : {"JBoss EAP" : {
"cumulative-patch-id" : "base",
"patches" : [],
"version" : "7.0.0.GA",
"addon" : null,
"layer" : {"base" : {
"cumulative-patch-id" : "base",
"patches" : []
}}
}}
}
}
[standalone@localhost:9990 /]
Fixed in the master (does not add support for patch-stream part):
commit 35c9504dd73e9b56c4cbcf10d2d5101678b35d3a
Author: Michael Burman <miburman>
Date: Fri Feb 12 13:23:03 2016 +0200
[BZ 1304338] Use --json-output in patch info when dealing with EAP7 server
Available for test in the following build: http://jon01.mw.lab.eng.bos.redhat.com:8042/dist/release/jon/plugins/eap/3.3/Update-03/DR01/ Previous commit is superseded by the master commit:
commit b57684bf616bad1444735ceced9f764b99318d72
Author: Michael Burman <miburman>
Date: Thu Mar 3 17:21:56 2016 +0200
[BZ 1314385] Initial implementation of wfly-10 plugin (copy of jboss-as-7 plugin)
Created attachment 1132896 [details]
EAP6
Created attachment 1132897 [details]
EAP7
Created attachment 1139746 [details]
EAP7
EAP 7 with Application Platform Plug-in Pack Update-03 DR01
|
Description of problem: The output generated by the EAP7 DMR differs when it comes to patching support, and instead of returning correct JSON like the EAP6: { "outcome" : "success", "result" : { "cumulative-patch-id" : "base", "patches" : [], "version" : "6.4.0.GA", "addon" : null, "layer" : {"base" : { "cumulative-patch-id" : "base", "patches" : [] }} } } We only get the following output: Version: 7.0.0.GA Cumulative patch ID: base One-off patches: none I have no idea if this is intended change or not. Version-Release number of selected component (if applicable): JON 3.3.5 / EAP7 ER04 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: