Bug 594520 - EAP 5.x running "production" config reports "partitionName" trait as NULL
Summary: EAP 5.x running "production" config reports "partitionName" trait as NULL
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 3.0.0
Hardware: All
OS: All
Target Milestone: ---
: ---
Assignee: Ian Springer
QA Contact: Corey Welton
Depends On:
Blocks: 725852 jon-sprint11-bugs
TreeView+ depends on / blocked
Reported: 2010-05-20 22:05 UTC by Joseph Marques
Modified: 2013-08-06 00:37 UTC (History)
3 users (show)

Fixed In Version: 2.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-08-12 16:58:23 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 676721 0 medium NEW When no partition name is defined in AS instance, metric collection results in NPE 2021-02-22 00:41:40 UTC

Internal Links: 676721

Description Joseph Marques 2010-05-20 22:05:19 UTC
Description of problem:

It appears that the "partitionName" attribute for EAP 5.x is not always reported correctly.  This blocks customers from using group definitions to automatically create compatible groups to manage their jboss clusters.  If you do:

groupby resource.trait[partitionName]

It will not find anything

Steps to Reproduce:
1. Start some EAP 5.0.1 version with the "production" configuration
2. Inventory that instance
3. Navigate to Monitor > Traits
Actual results:

The "Partition Name" attribute is empty / not reported

Expected results:

The "Partition Name" attribute should be filled in

Additional info:

Comment 1 Ian Springer 2010-06-30 22:50:56 UTC
I verified that the property [MCBean|ServerConfig|*|partitionName] did indeed have a null value for an EAP 5.0.1 instance running the "production" config. But I noticed that the property [MCBean|HAPartition|*|partitionName] was set correctly to the cluster partition name. So I updated the as-5 plugin to fallback to using the 2nd property if the 1st property does not exist or has a null value.

Commit abc1adc - pushed to release-3.0.0 branch.

Note, I also changed the display name of the trait from "Partition Name" to "Cluster Partition Name".

Comment 2 Sunil Kondkar 2010-07-01 08:47:11 UTC
Verified on JON 2.4 GA_QA build#47

Started EAP 5.0.1 with the "production" configuration. Navigated to Monitor > Traits tab. It displays the trait "Cluster Partition Name" with value 'DefaultPartition'.

Comment 3 Ian Springer 2010-07-01 15:17:22 UTC
I've created the following JIRA issue for the EAP issue with the 'partitionName' managed property having a null value:


Comment 4 Corey Welton 2010-08-12 16:58:23 UTC
Mass-closure of verified bugs against JON.

Comment 5 Ian Springer 2011-07-27 14:49:58 UTC
This is already fixed in the RHQ branch used for the EAP 5.x admin-console.

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