Bug 906844
Summary: | IllegalArgumentException in JON 3.1.2.GA agent.log during operations with JPP | ||
---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | mgottval <mgottval> |
Component: | Agent | Assignee: | RHQ Project Maintainer <rhq-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | JON 3.1.2 | CC: | hrupp, mvecera, myarboro, spinder |
Target Milestone: | ER01 | ||
Target Release: | JON 3.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 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
mgottval
2013-02-01 16:48:15 UTC
Ok. So I spent some time tracking this issue down and it's a little bit of a mess. It's definitely a bug, but it looks worse than it actually is. The short of it is that the AS7 plugin was updated to support JPP on autodiscovery and does so successfully and this is when it pulls the information out of the product.conf file as described by https://docspace.corp.redhat.com/docs/DOC-124664. The bad news is that we forgot to also update the 'Product Name' component to 'Portal Platform'. This means that when the root server is discovered it has all the correct product information, but once the JBossAS7 instance is configured to use the management user that subsequent discovery requests will cause this nasty exception in the log. This is kind of a redundant discovery exception because once you've discovered the root JPP server you won't need to rediscover it for the children resources to be correctly discovered or to interact with the server resource. The ugly part is that the error in the agent logs will continue until patched or fixed in the next release or the following workaround is applied. #Workaround The AS7 plugin erroneously looks for the string 'JPP' to be listed from the [JPP install folder]/modules/org/jboss/as/product/jpp/dir/META-INF file as the value for 'JBoss-Product-Release-Name: Portal Platform'. Change 'Portal Platform' to 'JPP' and restart your JPP server. The exception will no longer be listed on discovery. Unsure if change the product name here will have other side effect for routine JPP usage. This is fixed in master with commit: 982fb93fc5e406808 Leaving in current state for correct triage and assessment for applicability to other branches. This is fixed in master and should be available in the next jon32 build Verified on JON 3.2.ER02 + JPP 6.1.CR03. |