happy-kitchen-89482
05/12/2023, 1:51 AMbitter-ability-32190
05/12/2023, 1:55 AMhappy-kitchen-89482
05/12/2023, 2:04 AMbitter-ability-32190
05/12/2023, 2:04 AMbitter-ability-32190
05/12/2023, 2:09 AMhappy-kitchen-89482
05/12/2023, 2:12 AMhappy-kitchen-89482
05/12/2023, 2:12 AMbitter-ability-32190
05/12/2023, 2:12 AMwitty-crayon-22786
05/12/2023, 3:24 AM2.16.x
, but seems to be reproducibly hitting a git
failure on ARM: https://github.com/pantsbuild/pants/actions/runs/4954228969/jobs/8862538892?pr=18979 ⦠not sure if thatās something we have a fix for on main
: i havenāt seen it before.witty-crayon-22786
05/12/2023, 3:25 AMwitty-crayon-22786
05/12/2023, 3:26 AMhappy-kitchen-89482
05/12/2023, 3:51 AMwitty-crayon-22786
05/12/2023, 3:52 AMwitty-crayon-22786
05/12/2023, 3:52 AMhappy-kitchen-89482
05/12/2023, 3:15 PMhappy-kitchen-89482
05/12/2023, 3:21 PMhappy-kitchen-89482
05/12/2023, 3:22 PMhappy-kitchen-89482
05/12/2023, 3:52 PMhappy-kitchen-89482
05/12/2023, 4:20 PMhappy-kitchen-89482
05/12/2023, 4:22 PM$ docker run -ti <http://ghcr.io/pantsbuild/wheel_build_aarch64:v3-8384c5cf|ghcr.io/pantsbuild/wheel_build_aarch64:v3-8384c5cf> bash
> curl -L <https://cnn.com> # fetches the CNN home page
$ docker network create mynet
$ docker run --network mynet -ti <http://ghcr.io/pantsbuild/wheel_build_aarch64:v3-8384c5cf|ghcr.io/pantsbuild/wheel_build_aarch64:v3-8384c5cf> bash
> curl -L <https://cnn.com> # blocks forever
happy-kitchen-89482
05/12/2023, 4:22 PMwitty-crayon-22786
05/12/2023, 4:23 PMdocker
was recently upgraded on that machine, which was what caused it to lose docker-init
, and need another package installed to be able to access <http://docker.io|docker.io>
happy-kitchen-89482
05/12/2023, 4:23 PMhappy-kitchen-89482
05/12/2023, 4:23 PMwitty-crayon-22786
05/12/2023, 4:23 PMhappy-kitchen-89482
05/12/2023, 4:24 PMhappy-kitchen-89482
05/12/2023, 4:25 PMhappy-kitchen-89482
05/12/2023, 4:32 PMhappy-kitchen-89482
05/12/2023, 5:08 PMwitty-crayon-22786
05/12/2023, 5:19 PM<http://docker.io|docker.io>
package getting removed again as well.happy-kitchen-89482
05/12/2023, 5:19 PMhappy-kitchen-89482
05/12/2023, 5:20 PMhappy-kitchen-89482
05/12/2023, 5:20 PMhappy-kitchen-89482
05/12/2023, 5:20 PMwitty-crayon-22786
05/12/2023, 5:20 PMapt install <http://docker.io|docker.io>
happy-kitchen-89482
05/12/2023, 5:21 PMhappy-kitchen-89482
05/12/2023, 5:21 PMwitty-crayon-22786
05/12/2023, 5:21 PMwitty-crayon-22786
05/12/2023, 5:22 PMapt-file search docker-init
suggested that that file came from <http://docker.io|docker.io>
witty-crayon-22786
05/12/2023, 5:22 PMwitty-crayon-22786
05/12/2023, 5:22 PMapt-file update && apt-file search docker-init
happy-kitchen-89482
05/12/2023, 5:23 PMwitty-crayon-22786
05/12/2023, 5:28 PMwitty-crayon-22786
05/12/2023, 5:28 PMhappy-kitchen-89482
05/12/2023, 5:28 PMwitty-crayon-22786
05/12/2023, 5:49 PMdocker-init
issue using the docker CLI, so i think that it might be a docker daemon configuration issuewitty-crayon-22786
05/12/2023, 5:50 PMhappy-kitchen-89482
05/12/2023, 5:52 PMhappy-kitchen-89482
05/12/2023, 5:52 PMnameserver
in the container's /etc/resolv.conf
is wrongwitty-crayon-22786
05/12/2023, 6:09 PM/lib/systemd/system/docker.service
and restart dockerd
to fix this⦠is now a reasonable time?happy-kitchen-89482
05/12/2023, 6:10 PMhappy-kitchen-89482
05/12/2023, 6:11 PMhappy-kitchen-89482
05/12/2023, 6:11 PMhappy-kitchen-89482
05/12/2023, 6:11 PMwitty-crayon-22786
05/12/2023, 6:11 PMdocker-init
issue.
basically: the daemon is expecting docker-init
on its PATH, but it isnāt there⦠it defaults to looking for it at /usr/libexec/docker-init
, but dockerd
can be instructed to look for it elsewhere with dockerd --init-path
.
but⦠wth.happy-kitchen-89482
05/12/2023, 6:11 PMhappy-kitchen-89482
05/12/2023, 6:12 PMwitty-crayon-22786
05/12/2023, 6:12 PMhappy-kitchen-89482
05/12/2023, 6:12 PMhappy-kitchen-89482
05/12/2023, 6:13 PMwitty-crayon-22786
05/12/2023, 6:13 PMwitty-crayon-22786
05/12/2023, 6:20 PM# ps -ef | grep dockerd
root 2505 1 0 16:28 ? 00:00:24 dockerd --group docker --exec-root=/run/snap.docker --data-root=/var/snap/docker/common/var-lib-docker --pidfile=/run/snap.docker/docker.pid --config-file=/var/snap/docker/2857/config/daemon.json
root 97141 1 0 18:16 ? 00:00:01 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock --init-path /usr/bin/docker-init
⦠that doesnāt seem good?witty-crayon-22786
05/12/2023, 6:21 PMhappy-kitchen-89482
05/12/2023, 6:25 PMhappy-kitchen-89482
05/12/2023, 6:26 PMhappy-kitchen-89482
05/12/2023, 6:26 PMwitty-crayon-22786
05/12/2023, 6:26 PM<http://docker.io|docker.io>
with apt
yesterday.happy-kitchen-89482
05/12/2023, 6:27 PMhappy-kitchen-89482
05/12/2023, 6:27 PMhappy-kitchen-89482
05/12/2023, 6:28 PMwitty-crayon-22786
05/12/2023, 6:30 PMapt remove <http://docker.io|docker.io>
, so only the snap
version should be installed now.witty-crayon-22786
05/12/2023, 6:30 PMwitty-crayon-22786
05/12/2023, 6:30 PMdocker
cli is still there and still connectshappy-kitchen-89482
05/12/2023, 6:31 PMhappy-kitchen-89482
05/12/2023, 6:32 PM/snap/bin/docker
instead of /usr/bin/docker
happy-kitchen-89482
05/12/2023, 6:33 PMhappy-kitchen-89482
05/12/2023, 6:33 PMwitty-crayon-22786
05/12/2023, 6:34 PMdocker-init
issue, but now i know that my issue is with snap
and not with apt
=(witty-crayon-22786
05/12/2023, 6:34 PMhappy-kitchen-89482
05/12/2023, 6:38 PMhappy-kitchen-89482
05/12/2023, 6:39 PMhappy-kitchen-89482
05/12/2023, 6:39 PMhappy-kitchen-89482
05/12/2023, 6:41 PMwitty-crayon-22786
05/12/2023, 7:25 PMwitty-crayon-22786
05/12/2023, 7:26 PMdocker-init
issue though. have no idea what should be installing it, as searching inside of snap
packages is apparently not a thingwitty-crayon-22786
05/12/2023, 7:33 PMsnap
version and swap to the apt
version, would it re-break your networking fix?witty-crayon-22786
05/12/2023, 7:50 PMhappy-kitchen-89482
05/12/2023, 8:00 PMhappy-kitchen-89482
05/12/2023, 8:00 PMhappy-kitchen-89482
05/12/2023, 8:00 PMwitty-crayon-22786
05/12/2023, 8:01 PMwitty-crayon-22786
05/12/2023, 8:01 PMwitty-crayon-22786
05/12/2023, 8:14 PMsnap remove docker && apt install <http://docker.io|docker.io>
worked. ffs.witty-crayon-22786
05/12/2023, 8:14 PMwitty-crayon-22786
05/12/2023, 9:33 PMwitty-crayon-22786
05/12/2023, 9:35 PMreboot
?happy-kitchen-89482
05/12/2023, 10:28 PMreboot
works just as wellwitty-crayon-22786
05/12/2023, 10:29 PMwitty-crayon-22786
05/12/2023, 10:29 PMhappy-kitchen-89482
05/12/2023, 11:56 PM