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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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
merged 1 commit into from
Apr 30, 2021

Conversation

AkihiroSuda
Copy link
Member

@AkihiroSuda AkihiroSuda commented Apr 15, 2021

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 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
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
Member

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

Copy link
Member

@thaJeztah thaJeztah left a comment

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 <akihiro.suda.cz@hco.ntt.co.jp>
(cherry picked from commit 11bddf330d4fec818e17333c360c25e8641f221d)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Copy link
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

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

LGTTM

@gnat
Copy link

gnat commented May 8, 2021

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 area/rootless Rootless mode kind/bugfix PR's that fix bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants