Bug 826207

Summary: [jdg] Duplicate infinspan resource
Product: [JBoss] JBoss Data Grid 6 Reporter: Charles Crouch <ccrouch>
Component: unspecifiedAssignee: Tristan Tarrant <ttarrant>
Status: VERIFIED --- QA Contact:
Severity: high Docs Contact:
Priority: urgent    
Version: 6.0.0CC: hrupp, jdg-bugs, theute, tsykora, ttarrant
Target Milestone: CR2   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 825818
: 829331 (view as bug list) 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:
Bug Depends On: 825818, 826228    
Bug Blocks: 707223, 829331    
Attachments:
Description Flags
duplicate infinispan resource on JDG ER11 none

Comment 1 Charles Crouch 2012-05-29 18:58:10 UTC
As discussed with Heiko/Tristan there are updates required to the JDG plugin which will necessitate an ER11 version of the JDG plugin

Comment 2 Libor Zoubek 2012-06-06 11:33:25 UTC
Sorry for marking this as VERIFIED before. This issue was reproducible either on classic EAP6 and JDG. I've verified it on EAP6 CR1. Now .. having JDG ER11 .. issue is still here. This time it looks like it could be enough to fix it in AS7 plugin.

See attached screenshot

Comment 3 Libor Zoubek 2012-06-06 11:34:02 UTC
Created attachment 589841 [details]
duplicate infinispan resource on JDG ER11

Comment 4 Heiko W. Rupp 2012-06-06 12:21:29 UTC
This is an issue with the JDG plugin itself.
The code in the as7 plugin checks for a resource type '{JDG}Infinispan', but the
JDG plugin only defines a type '{JDG}Infinispan (Managed Server)', so that the muting check does not work.

Comment 5 Tristan Tarrant 2012-06-06 12:30:22 UTC
Heiko, I'm sorry I misunderstood your original request. So I should just change:

<service name="Infinispan (Managed Server)" ...>

to 

<service name="Infinispan" ...> 

in my plugin ?

Comment 6 Heiko W. Rupp 2012-06-06 12:34:13 UTC
Tristan,

yes.

My original "request" (rather suggestion) was to add the additional properties in <resource-configuration>, that the as7 plugin has, but not the JDG one to the JDG plugin.

But renaming the Infinispan type (and the Datagrid one) to the ER10 version ( without '(Managed Server)' is needed.

  Heiko

Comment 7 Tristan Tarrant 2012-06-06 12:35:38 UTC
Ok. It will be fixed in our CR1 (due tomorrow). I copied the entire plugin descriptor from the AS7 one and just added my properties. Now the name is back to the ER10 "Infinispan". Thanks

Comment 8 Libor Zoubek 2012-06-11 09:03:01 UTC
verified on JON 3.1.GA + JDG 6.CR2 and EAP6.CR1

Comment 10 Tomas Sykora 2013-09-10 13:38:51 UTC
I'm reopening this bug for JDG 6.2 DR4.

Plugin changed compared to DR3 version. 

Now I can see duplicated detection of infinispan resource again (exactly how it's shown on the picture posted by Libor).

Both infinispan resources contain cache sub-resources but only one provide operations for caches. The other one (the wrong duplicate) has "greyed" operations selection.

Comment 11 Tomas Sykora 2013-09-10 13:46:38 UTC
We are still testing this with JON 3.1.2.GA and this version of AS7 plugin

Display Name: JBoss Application Server 7.x
	Name: JBossAS7
Version: 4.4.0.JON312GA

We will switch to testing with JON 3.2 soon but we still probably need plugin to be compatible with older version of JON (3.1.2 and its plugin pack). Or not?

Comment 12 Heiko W. Rupp 2013-09-10 13:54:21 UTC
Guys, this was done long time and verified with the correct version at the time.
Please re-set this to the previous state and open a new one for the new JDG version