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

Bug 1156233

Summary: Updating Blocking Bounded Queue Thread Pools fails when queue-length is 0
Product: [JBoss] JBoss Operations Network Reporter: Armine Hovsepyan <ahovsepy>
Component: Plugin -- JBoss EAP 6Assignee: Thomas Segismont <tsegismo>
Status: CLOSED WONTFIX QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.3.0CC: fbrychta, hrupp, jshaughn, loleary, mfoley, myarboro, rhatlapa
Target Milestone: ---   
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-01-15 20:57:54 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:
Attachments:
Description Flags
eap.log
none
eap_cli.log none

Description Armine Hovsepyan 2014-10-23 23:10:57 UTC
Description of problem:
Updating Blocking Bounded Queue Thread Pools fails when queue-length is 0

Version-Release number of selected component (if applicable):
JON 3.3 ER05 + EAP 6.2.0

How reproducible:
always


Steps to Reproduce:
1. create a Updating Blocking Bounded Queue Thread Pools with 'queue length=0'
2. edit any attribute (queue length or any other)
3.

Actual results:
update fails with: {JBAS014653: Composite operation failed and was rolled back. Steps that failed:={Operation step-7=JBAS014792: Unknown attribute handoff-executor}}, rolled-back=true

Fragment from EAP log attached (eap.log)

Expected results:
thread pool resource is editable

Additional info:
update of the same resouce from eap cli is possible without issues.  Lot attached (eap_cli.log)

Comment 1 Armine Hovsepyan 2014-10-23 23:12:08 UTC
Created attachment 950124 [details]
eap.log

Comment 2 Armine Hovsepyan 2014-10-23 23:13:29 UTC
Created attachment 950125 [details]
eap_cli.log

Comment 3 Jay Shaughnessy 2014-10-24 13:13:16 UTC
This is more likely an EAP bug than a JON bug.  Typical, positive, queue-lengths don't have a problem and I think it's unlikely that a real-world definition would hit this problem, as a zero-length queue is not useful.  To avoid this on the JON side would require plugin-level validation code, it's not possible to specify this sort of validation in the descriptor.

I recommend post-ga (or even wont-fix is fine imo).

Comment 4 Heiko W. Rupp 2014-10-24 13:53:13 UTC
+1 on what Jay said

Comment 7 Larry O'Leary 2016-01-15 20:57:54 UTC
As per comment 3, this issue is being closed and will not be fixed. It appears 0 is an invalid value and although the resource configuration should probably perform data validation and enforce this, that capability does not currently exist in JBoss ON.

In any case, if a queue length of 0 is an invalid value, the EAP error is valid and the user should ensure the value is greater then 0.