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

Bug 1012850

Summary: RemoteDomainConnection.close() will block forever if the master HC is not running
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Ivo Studensky <istudens>
Component: Domain ManagementAssignee: Ivo Studensky <istudens>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: unspecified Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: brian.stansberry, dosoudil, emuckenh
Target Milestone: ER4   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:20:22 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:    
Bug Blocks: 1045634    

Description Ivo Studensky 2013-09-27 09:18:51 UTC
Description of problem:
RemoteDomainConnection.close() overrides FutureManagementChannel.close() to first send a "unregister" message to the master HC before calling the superclass functionality.

Problem is this call tries to open a connection to the master and will block forever waiting for it to connect if the master isn't available, as seen at http://fpaste.org/18232/37105700/

That example was from AutoIgnoredResourcesDomainTestCase which is concurrently shutting down the hosts in the domain, meaning the master can be shutting down in the middle of or prior to slave shutdown.


A backport of WFLY-1511 to EAP 6.2.

Comment 1 Ivo Studensky 2013-09-27 11:48:59 UTC
Relevant PR:

https://github.com/jbossas/jboss-eap/pull/476

Comment 5 Petr Kremensky 2013-10-09 11:17:03 UTC
Verified on EAP 6.2.0.ER5.