Bug 1084911 - [host-deploy] termination event is not received due to threading race: Pipe Closed
Summary: [host-deploy] termination event is not received due to threading race: Pipe C...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.4.1
Assignee: Alon Bar-Lev
QA Contact: Pavel Stehlik
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-07 08:33 UTC by Alon Bar-Lev
Modified: 2014-05-08 13:38 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-08 13:38:33 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 26506 0 None None None Never
oVirt gerrit 26507 0 None MERGED host-deploy: SSHDialog: close streams after sink is stopped Never
oVirt gerrit 26587 0 ovirt-engine-3.4 MERGED host-deploy: SSHDialog: close streams after sink is stopped Never

Description Alon Bar-Lev 2014-04-07 08:33:33 UTC
In 3.4 ssh wrapper was moved to use java-7 try-with-resources, so an explicit close of all resources is called.

This caused the wrapper thread to close the input stream of the receiving thread without the receiving thread has the chance to read the last bytes, as implementation of PipedInputStream first look at state then on buffer.

Comment 1 Sandro Bonazzola 2014-04-18 08:17:20 UTC
All referenced patches have been merged, shouldn't this be in modified?

Comment 2 Alon Bar-Lev 2014-04-18 19:28:17 UTC
Yes, as you can see the robots is playing with us.

Comment 3 Sandro Bonazzola 2014-05-08 13:38:33 UTC
This is an automated message

oVirt 3.4.1 has been released:
 * should fix your issue
 * should be available at your local mirror within two days.

If problems still persist, please make note of it in this bug report.


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