Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Envoy SHA to cherry-pick fix for idle timer segfault. #1890

Closed
wants to merge 1 commit into from

Conversation

PiotrSikora
Copy link
Contributor

Cherry-pick envoyproxy/envoy#3970.

Signed-off-by: Piotr Sikora [email protected]

@istio-testing
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: PiotrSikora
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: jimmycyj

If they are not already assigned, you can assign the PR to them by writing /assign @jimmycyj in a comment when ready.

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Jul 30, 2018
@PiotrSikora
Copy link
Contributor Author

Cherry-picked instead of rolling forward to minimize untested changes and to avoid picking envoyproxy/envoy#3975, since it could require last minute changes in Pilot.

@rshriram
Copy link
Member

Please wait. I have already merged the latest changes in istio (for latest Envoy sha). We can’t cherry pick because we need the gRPC bug fix.

@rshriram
Copy link
Member

Sorry I spoke to soon. So we don’t need that fix because we don’t set the idle timer (ie disabled always). We set the stream_idle_timeout.

@rshriram
Copy link
Member

Also with regard to 3975, it doesn’t affect pilot as we don’t issue any mutating commands to Envoy.

@rkpagadala
Copy link
Contributor

@rshriram @PiotrSikora Whats the plan for this PR, do we need this for 1.0? We are planning to cut 1.0 today.

@PiotrSikora
Copy link
Contributor Author

I've got mixed feelings about not cherry-picking this, since if we don't set idle timer somewhere and/or allow users to configure it in the future, then we're risking Envoy crashing instead of just prematurely closing connections... I agree that this probably isn't "critical fix", but also I don't see any cost associated with merging it, especially considering that we just bumped API.

cc @lizan @costinm Thoughts?

@rkpagadala
Copy link
Contributor

@PiotrSikora I bumped the API because it was merged in release-1.0 branch, we need all the code to be consistent when shipped. Also it was a doc fix only. I would prefer not to merge this.

@PiotrSikora
Copy link
Contributor Author

cc @htuch any thoughts?

@lizan
Copy link
Contributor

lizan commented Jul 30, 2018

Sorry I spoke to soon. So we don’t need that fix because we don’t set the idle timer (ie disabled always). We set the stream_idle_timeout.

@rshriram If we set stream_idle_timeout, then it could trigger the segfault which fixed in envoyproxy/envoy#3970, when stream is created but envoy didn't get full request header, and idle timeout kicked in. @htuch correct me if I am wrong.

@costinm
Copy link
Contributor

costinm commented Jul 30, 2018

We were supposed to cut 1.0 30 min ago.

I think it is too late. If it crashes we'll need to cut 1.0.1 next week

@htuch
Copy link
Contributor

htuch commented Jul 30, 2018 via email

@rshriram
Copy link
Member

rshriram commented Aug 1, 2018

See pilot code. It’s always set to 0 (stream idle timeout). But we don’t set idle timeout.

And when we allow users to pick idle timeouts in future, we will be upgrading Envoy as well. Ie pull in bug fix automatically.

@PiotrSikora
Copy link
Contributor Author

Superseded by #1894.

@PiotrSikora PiotrSikora closed this Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants