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

Pin git deps for dependencies that have Instant workarounds #1497

Merged
merged 3 commits into from
Feb 15, 2022

Conversation

olix0r
Copy link
Member

@olix0r olix0r commented Feb 14, 2022

tokio & tower have been patched to avoid issues described in
linkerd/linkerd2#7748, but they have not yet been released. This change
pins these dependencies to Git to pickup the workarounds.

tokio & tower have been patched to avoid issues described in
linkerd/linkerd2#7748, but they have not yet been released. This change
pins these dependencies to Git to pickup the workarounds.

Signed-off-by: Oliver Gould <ver@buoyant.io>
@olix0r olix0r force-pushed the ver/pin-deps-for-instant-fixes branch from 2273f13 to 2771320 Compare February 14, 2022 15:16
Signed-off-by: Oliver Gould <ver@buoyant.io>
@olix0r olix0r force-pushed the ver/pin-deps-for-instant-fixes branch from cc131b8 to 495a51a Compare February 14, 2022 15:28
@olix0r olix0r marked this pull request as ready for review February 15, 2022 17:27
@olix0r olix0r requested a review from a team as a code owner February 15, 2022 17:27
@hawkw
Copy link
Contributor

hawkw commented Feb 15, 2022

The master version of Tokio does also include an update from mio 0.7 to 0.8 (tokio-rs/tokio@8fb15da), which hasn't been published yet. I think this change should be fairly stable at this point, but it is still a big change upstream, so we may want to be fairly cautious about that.

Dockerfile Outdated
Comment on lines 64 to 75
# When set, causes the proxy to remove the identity wrapper responsible for
# CSR and key generation.
ARG SKIP_IDENTITY_WRAPPER

WORKDIR /linkerd
COPY --from=build /out/linkerd2-proxy /usr/lib/linkerd/linkerd2-proxy
ENV LINKERD2_PROXY_LOG=warn,linkerd=info
RUN \
if [ -n "$SKIP_IDENTITY_WRAPPER" ] ; then \
rm -f /usr/bin/linkerd2-proxy-run && \
ln /usr/lib/linkerd/linkerd2-proxy /usr/bin/linkerd2-proxy-run ; \
fi
Copy link
Contributor

Choose a reason for hiding this comment

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

what's the story behind this change? looks unrelated

Copy link
Member Author

Choose a reason for hiding this comment

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

#1479 changed the base image to not include a shell, so it wasn't possible to build the dockerfile without this. I'll back this out and put up a separate PR for the change

Copy link
Contributor

Choose a reason for hiding this comment

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

ah, got it --- merging it in a separate PR is probably better, but mainly, i just wasn't sure what was changing here.

Signed-off-by: Oliver Gould <ver@buoyant.io>
@olix0r olix0r merged commit 82c1f61 into main Feb 15, 2022
@olix0r olix0r deleted the ver/pin-deps-for-instant-fixes branch February 15, 2022 18:04
olix0r added a commit to linkerd/linkerd2 that referenced this pull request Feb 15, 2022
This release updates the `tokio` and `tower` crates to unreleased
versions to pickup workarounds for `Instant`-related panics that occur
on Amazon Linux.

This release also updates the proxy's configuration logic to stop
logging errors when the inbound port configuration is empty.

---

* build(deps): bump rustls from 0.20.2 to 0.20.3 (linkerd/linkerd2-proxy#1495)
* build(deps): bump serde_json from 1.0.78 to 1.0.79 (linkerd/linkerd2-proxy#1494)
* build(deps): bump hdrhistogram from 7.4.0 to 7.5.0 (linkerd/linkerd2-proxy#1493)
* ci: Use cargo-action-fmt to annotate PRs (linkerd/linkerd2-proxy#1492)
* Do not error when `LINKERD2_PROXY_INBOUND_PORTS` is empty (linkerd/linkerd2-proxy#1478)
* build(deps): bump EmbarkStudios/cargo-deny-action from 1.2.11 to 1.2.12 (linkerd/linkerd2-proxy#1499)
* Fix dockerfile (linkerd/linkerd2-proxy#1500)
* Pin git deps for dependencies that have `Instant` workarounds (linkerd/linkerd2-proxy#1497)
olix0r added a commit to linkerd/linkerd2 that referenced this pull request Feb 15, 2022
This release updates the `tokio` and `tower` crates to unreleased
versions to pickup workarounds for `Instant`-related panics that occur
on Amazon Linux.

This release also updates the proxy's configuration logic to stop
logging errors when the inbound port configuration is empty.

---

* build(deps): bump rustls from 0.20.2 to 0.20.3 (linkerd/linkerd2-proxy#1495)
* build(deps): bump serde_json from 1.0.78 to 1.0.79 (linkerd/linkerd2-proxy#1494)
* build(deps): bump hdrhistogram from 7.4.0 to 7.5.0 (linkerd/linkerd2-proxy#1493)
* ci: Use cargo-action-fmt to annotate PRs (linkerd/linkerd2-proxy#1492)
* Do not error when `LINKERD2_PROXY_INBOUND_PORTS` is empty (linkerd/linkerd2-proxy#1478)
* build(deps): bump EmbarkStudios/cargo-deny-action from 1.2.11 to 1.2.12 (linkerd/linkerd2-proxy#1499)
* Fix dockerfile (linkerd/linkerd2-proxy#1500)
* Pin git deps for dependencies that have `Instant` workarounds (linkerd/linkerd2-proxy#1497)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants