Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 919419

Summary: All the available agents are not listed in the 'available agents' section of the affinity group
Product: [JBoss] JBoss Operations Network Reporter: Sunil Kondkar <skondkar>
Component: High AvailabilityAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: jkremser, jshaughn, myarboro, spinder
Target Milestone: ---   
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: 2014-01-02 20:35:53 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:
Bug Depends On: 919078    
Bug Blocks:    
Attachments:
Description Flags
Screenshot_All-available-agents
none
Screenshot-Only-one-agent-available-to-affinity-group none

Description Sunil Kondkar 2013-03-08 12:15:50 UTC
Description of problem:

Created an HA environment with two servers and two agents. While creating an affinity group, I observed that only one agent is available in the 'available agents' section of the affinity group. This is observed intermittently.

I checked that the 'Administration->Agents' section displays two agents.

Please refer to the attached screenshots.

Version-Release number of selected component (if applicable):

Version: 3.2.0.ALPHA_QA
Build Number: eef7a17:341de14

How reproducible:

Intermittently

Steps to Reproduce:

1. Create an HA environment of two servers and two agents
2. Create an affinity group ( Ex: ag1 )
3. Click on the 'Update Membership' button in the 'Agent Members' section of the affinity group ag1.
4. The pop up shows only one agent in the 'available agents' section of the affinity group.
  
Actual results:

All the available agents are not listed in the 'available agents' section of the affinity group.

Expected results:

All the available agents should be listed in the 'available agents' section of the affinity group.

Additional info:

Comment 1 Sunil Kondkar 2013-03-08 12:16:55 UTC
Created attachment 707006 [details]
Screenshot_All-available-agents

Comment 2 Sunil Kondkar 2013-03-08 12:17:56 UTC
Created attachment 707007 [details]
Screenshot-Only-one-agent-available-to-affinity-group

Comment 3 Jirka Kremser 2013-03-08 15:04:48 UTC
fixed in master

Comment 4 Jirka Kremser 2013-04-11 20:06:47 UTC
^ ... by commit 9d1673d7d

https://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=9d1673d7d

Comment 5 Simeon Pinder 2013-07-02 21:12:09 UTC
Moving this to ON_QA for testing with latest build:

https://brewweb.devel.redhat.com//buildinfo?buildID=280316

Comment 6 Sunil Kondkar 2013-07-05 13:47:41 UTC
Verified on JON 3.2 Alpha 46 build. Build Number: dbe7020:45c43c4

Created HA environment and verified that all the available agents are listed in the 'available agents' section of the affinity group.

Also verified that any newly added agents are listed as available agents while creating a new affinity group and editing existing affinity groups.