Skip to content

[20.10 backport] bump up rootlesskit to v0.14.2 (Fix Timed out proxy starting the userland proxy. error with DOCKERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=slirp4netns)#42294

Merged
cpuguy83 merged 1 commit into
moby:20.10from
AkihiroSuda:rootlesskit-0.14.2-2010
Apr 30, 2021

Conversation

@AkihiroSuda

@AkihiroSuda AkihiroSuda commented Apr 15, 2021

Copy link
Copy Markdown
Member

Cherry-pick #42293


- What I did

Fix Timed out proxy starting the userland proxy. error with DOCKERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=slirp4netns.
(rootless-containers/rootlesskit#250)

- How I did it

Bumped up RootlessKit to v0.14.2.

Full changes: rootless-containers/rootlesskit@v0.14.1...v0.14.2

- How to verify it

Make sure that the following error no longer happens.

$ cat ~/.config/systemd/user/docker.service.d/override.conf 
[Service]
Environment=DOCKERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER="slirp4netns"

$ docker --context=rootless run --rm -p 8080:80 nginx:alpine
docker: Error response from daemon: driver failed programming external connectivity on endpoint dreamy_gauss (93092ec62bc18d4190f18c05f188505c11acce4feef7ea2eb259805c18edfd85): Timed out proxy starting the userland proxy.

- Description for the changelog

Fix Timed out proxy starting the userland proxy. error with DOCKERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=slirp4netns.

- A picture of a cute animal (not mandatory but encouraged)
🐧

@AkihiroSuda AkihiroSuda added area/networking Networking area/rootless Rootless Mode kind/bugfix PR's that fix bugs labels Apr 15, 2021
@AkihiroSuda AkihiroSuda added this to the 20.10.7 milestone Apr 15, 2021
@AkihiroSuda

Copy link
Copy Markdown
Member Author

CI failure is unrelated:

[2021-04-15T05:44:49.627Z] #22 53.63       aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c /tmp/pip-install-ymd4jk19/Cython/Cython/Plex/Scanners.c -o build/temp.linux-aarch64-3.7/tmp/pip-install-ymd4jk19/Cython/Cython/Plex/Scanners.o

[2021-04-15T05:44:49.627Z] #22 53.63       /tmp/pip-install-ymd4jk19/Cython/Cython/Plex/Scanners.c:21:10: fatal error: Python.h: No such file or directory

[2021-04-15T05:44:49.627Z] #22 53.63        #include "Python.h"

[2021-04-15T05:44:49.627Z] #22 53.63                 ^~~~~~~~~~

[2021-04-15T05:44:49.627Z] #22 53.63       compilation terminated.

[2021-04-15T05:44:49.627Z] #22 53.63       error: command 'aarch64-linux-gnu-gcc' failed with exit status 1

[2021-04-15T05:44:49.627Z] #22 53.63   

[2021-04-15T05:44:49.627Z] #22 53.63       ----------------------------------------

[2021-04-15T05:44:49.627Z] #22 53.63   Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ymd4jk19/Cython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-mtj_1y4q/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-t7_k5vse --compile" failed with error code 1 in /tmp/pip-install-ymd4jk19/Cython/

[2021-04-15T05:44:49.627Z] #22 53.63   

[2021-04-15T05:44:49.627Z] #22 53.63   ----------------------------------------

[2021-04-15T05:44:49.627Z] #22 53.74 Command "/usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-t7_k5vse --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel Cython" failed with error code 1 in None

[2021-04-15T05:44:49.891Z] #22 ERROR: executor failed running [/bin/sh -c pip3 install yamllint==1.16.0]: exit code: 1

@thaJeztah

Copy link
Copy Markdown
Member

@AkihiroSuda can you rebase this one to fix the python issue?

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM (after rebase)

Fix `Timed out proxy starting the userland proxy.` error with `DOCKERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=slirp4netns`.
(rootless-containers/rootlesskit#250)

Full changes: rootless-containers/rootlesskit@v0.14.1...v0.14.2

Signed-off-by: Akihiro Suda <[email protected]>
(cherry picked from commit 11bddf330d4fec818e17333c360c25e8641f221d)
Signed-off-by: Akihiro Suda <[email protected]>
@AkihiroSuda
AkihiroSuda force-pushed the rootlesskit-0.14.2-2010 branch from 55e09e7 to 9ca6677 Compare April 21, 2021 09:11
@AkihiroSuda
AkihiroSuda requested a review from tiborvass April 23, 2021 05:57
@AkihiroSuda
AkihiroSuda requested a review from cpuguy83 April 30, 2021 10:10

@cpuguy83 cpuguy83 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTTM

@gnat

gnat commented May 8, 2021

Copy link
Copy Markdown

Bumped into this too. Thanks for taking action so quickly. Waiting on 20.10.7, staying on 20.10.5 until then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/networking Networking area/rootless Rootless Mode kind/bugfix PR's that fix bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants