Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

agent: Fix the issue of stdout hang on builtin proxy #397

Merged
merged 1 commit into from
Oct 16, 2018

Conversation

lifupan
Copy link
Member

@lifupan lifupan commented Oct 15, 2018

Since the Yamux's keepalive has been disabled both
on the server and the client side, and this brings
a weird issue where the communication between the
proxy and the agent hangs. The same issue has been
fixed in kata proxy by:
"kata-containers/proxy#91".

This commit just cherry-pick that patch here to
fix the same issue on kata builtin proxy.

Fixes: #396

Signed-off-by: fupan [email protected]

Since the Yamux's keepalive has been disabled both
on the server and the client side, and this brings
a weird issue where the communication between the
proxy and the agent hangs. The same issue has been
fixed in kata proxy by:
"kata-containers/proxy#91".

This commit just cherry-pick that patch here to
fix the same issue on kata builtin proxy.

Fixes: kata-containers#396

Signed-off-by: fupan <[email protected]>
@jodh-intel
Copy link
Contributor

jodh-intel commented Oct 15, 2018

lgtm

Approved with PullApprove

Copy link
Contributor

@grahamwhaley grahamwhaley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@grahamwhaley
Copy link
Contributor

/test

@codecov
Copy link

codecov bot commented Oct 15, 2018

Codecov Report

Merging #397 into master will increase coverage by 0.12%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master     #397      +/-   ##
==========================================
+ Coverage   47.83%   47.96%   +0.12%     
==========================================
  Files          17       17              
  Lines        2638     2648      +10     
==========================================
+ Hits         1262     1270       +8     
- Misses       1215     1216       +1     
- Partials      161      162       +1

Copy link

@devimc devimc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@lifupan
Copy link
Member Author

lifupan commented Oct 16, 2018

/test

@devimc devimc merged commit 03f040f into kata-containers:master Oct 16, 2018
@lifupan lifupan deleted the fix_stdouthang branch October 17, 2018 01:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sometimes the IO's stdout will hang on shimv2 with kata builtin proxy
5 participants