threefoldtech / grid_deployment

Deploy a full Grid backend with docker-compose and snapshots
Apache License 2.0
2 stars 0 forks source link

[hub/bootstrap] cannot pull caddy on Ubutu 24.04 Grid vm #69

Closed coesensbert closed 1 month ago

coesensbert commented 2 months ago

Deploying on Ubuntu 24.04 on a mainnet Grid vm results in

Setting up build-essential (12.10ubuntu1) ...
Setting up libheif-plugin-aomdec:amd64 (1.17.6-1ubuntu4) ...
Setting up libheif1:amd64 (1.17.6-1ubuntu4) ...
Setting up libheif-plugin-libde265:amd64 (1.17.6-1ubuntu4) ...
Setting up libheif-plugin-aomenc:amd64 (1.17.6-1ubuntu4) ...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
Processing triggers for sgml-base (1.31) ...
Setting up libfontconfig1:amd64 (2.15.0-1.1ubuntu2) ...
Setting up libgd3:amd64 (2.3.3-9ubuntu5) ...
Setting up libc-devtools (2.39-0ubuntu8.3) ...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
Collecting pynacl
  Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata (8.6 kB)
Collecting cffi>=1.4.1 (from pynacl)
  Downloading cffi-1.17.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.4.1->pynacl)
  Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 856.7/856.7 kB 14.9 MB/s eta 0:00:00
Downloading cffi-1.17.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 479.1/479.1 kB 16.6 MB/s eta 0:00:00
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.6/117.6 kB 6.4 MB/s eta 0:00:00
Installing collected packages: pycparser, cffi, pynacl
Successfully installed cffi-1.17.0 pycparser-2.22 pynacl-1.5.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Collecting redis
  Downloading redis-5.0.8-py3-none-any.whl.metadata (9.2 kB)
Downloading redis-5.0.8-py3-none-any.whl (255 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 255.6/255.6 kB 5.6 MB/s eta 0:00:00
Installing collected packages: redis
Successfully installed redis-5.0.8
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARN[0000] /root/grid_deployment/grid-hub/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 18/23
 ⠋ 0-bootstrap [⣿⣿⣿⣿⣿⣿⣿⣿] 417.1MB / 422.8MB Pulling                                                                                                                                                           11.1s 
   ✔ 762bedf4b1b7 Pull complete                                                                                                                                                                                4.9s 
   ✔ 01263277d690 Download complete                                                                                                                                                                            9.3s 
   ✔ 5dca50fd1969 Download complete                                                                                                                                                                            0.3s 
   ✔ ca703f4a79ab Download complete                                                                                                                                                                            7.7s 
   ✔ 400955d886f8 Download complete                                                                                                                                                                            1.2s 
   ✔ e7ade3afb065 Download complete                                                                                                                                                                            1.6s 
   ✔ c0c613338fc1 Download complete                                                                                                                                                                            1.9s 
   ✔ 4f4fb700ef54 Download complete                                                                                                                                                                            8.1s 
 ⠋ caddy [⣿⣿⣿⣿] 18.62MB / 18.62MB Pulling                                                                                                                                                                     11.1s 
   ✔ c6a83fedfae6 Pull complete                                                                                                                                                                                6.2s 
   ✔ 8f1190437381 Pull complete                                                                                                                                                                                7.1s 
   ✔ 04f2b318172a Pull complete                                                                                                                                                                                7.9s 
   ⠇ 025823b4426f Extracting [==================================================>]  14.64MB/14.64MB                                                                                                            9.4s 
 ⠋ 0-hub [⣿⣿⣿] 30.89MB / 31.44MB Pulling                                                                                                                                                                      11.1s 
   ✔ 3eedeb721c8c Pull complete                                                                                                                                                                                9.3s 
   ⠧ ee314859dc05 Extracting [=>                                                 ]  32.77kB/1.092MB                                                                                                           10.1s 
   ✔ b34302d78a8d Download complete                                                                                                                                                                            4.2s 
 ✔ 0-db Pulled                                                                                                                                                                                                 7.2s 
   ✔ d0f42ecf7e6c Pull complete                                                                                                                                                                                5.4s 
   ✔ 61b0e5cfe610 Pull complete                                                                                                                                                                                5.6s 
   ✔ 66d692840546 Pull complete                                                                                                                                                                                5.8s 
   ✔ b7bf35b355a2 Pull complete                                                                                                                                                                                6.1s 
failed to register layer: lsetxattr security.capability /usr/bin/caddy: operation not supported
root@hubbcdeptst:~/grid_deployment/grid-hub# docker ps -a
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
root@hubbcdeptst:~/grid_deployment/grid-hub# tmux a
-bash: tmux: command not found
root@hubbcdeptst:~/grid_deployment/grid-hub# docker pull caddy:2.8.4
2.8.4: Pulling from library/caddy
c6a83fedfae6: Pull complete 
8f1190437381: Pull complete 
04f2b318172a: Pull complete 
025823b4426f: Extracting [==================================================>]  14.64MB/14.64MB
4f4fb700ef54: Download complete 
failed to register layer: lsetxattr security.capability /usr/bin/caddy: operation not supported
root@hubbcdeptst:~/grid_deployment/grid-hub# docker pull caddy:2.8.4
2.8.4: Pulling from library/caddy
c6a83fedfae6: Pull complete 
8f1190437381: Pull complete 
04f2b318172a: Pull complete 
025823b4426f: Extracting [==================================================>]  14.64MB/14.64MB
4f4fb700ef54: Download complete 
failed to register layer: lsetxattr security.capability /usr/bin/caddy: operation not supported
root@hubbcdeptst:~/grid_deployment/grid-hub# docker --version
Docker version 27.2.0, build 3ab4256
coesensbert commented 1 month ago

Related to Ubuntu 24.04 grid image

coesensbert commented 1 month ago

got an alternative image but same issue arrises image

coesensbert commented 1 month ago

see https://github.com/threefoldtech/zos/issues/2420