Bug #16611

arvados-docker-cleaner package broken on Debian 10 and Ubuntu 18.04

Added by Javier Bértoli over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Docker
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Story points:
-
Release relationship:
Auto

Description

On a clean buster install:

Jul 16 10:50:34 ip-10-254-254-103 systemd[1]: arvados-docker-cleaner.service: Main process exited, code=exited, status=1/FAILURE
Jul 16 10:50:34 ip-10-254-254-103 systemd[1]: arvados-docker-cleaner.service: Failed with result 'exit-code'.
Jul 16 10:50:37 ip-10-254-254-103 dhclient[450]: XMT: Solicit on ens5, interval 121430ms.
Jul 16 10:50:41 ip-10-254-254-103 sudo[4925]:    admin : TTY=unknown ; PWD=/home/admin ; USER=root ; COMMAND=/usr/bin/docker ps -q
Jul 16 10:50:41 ip-10-254-254-103 sudo[4925]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jul 16 10:50:41 ip-10-254-254-103 sudo[4925]: pam_unix(sudo:session): session closed for user root
Jul 16 10:50:44 ip-10-254-254-103 systemd[1]: arvados-docker-cleaner.service: Service RestartSec=10s expired, scheduling restart.
Jul 16 10:50:44 ip-10-254-254-103 systemd[1]: arvados-docker-cleaner.service: Scheduled restart job, restart counter is at 47.
Jul 16 10:50:44 ip-10-254-254-103 systemd[1]: Stopped Arvados Docker Image Cleaner.
Jul 16 10:50:44 ip-10-254-254-103 systemd[1]: Started Arvados Docker Image Cleaner.
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]: Traceback (most recent call last):
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:   File "/usr/bin/arvados-docker-cleaner", line 5, in <module>
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:     from arvados_docker.cleaner import main
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:   File "/usr/share/python3/dist/arvados-docker-cleaner/lib/python3.7/site-packages/arvados_docker/cleaner.py", line 21, in <module>
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:     import docker
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:   File "/usr/share/python3/dist/arvados-docker-cleaner/lib/python3.7/site-packages/docker/__init__.py", line 20, in <module>
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:     from .client import Client, AutoVersionClient # flake8: noqa
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:   File "/usr/share/python3/dist/arvados-docker-cleaner/lib/python3.7/site-packages/docker/client.py", line 25, in <module>
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:     from . import api
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:   File "/usr/share/python3/dist/arvados-docker-cleaner/lib/python3.7/site-packages/docker/api/__init__.py", line 2, in <module>
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:     from .build import BuildApiMixin
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:   File "/usr/share/python3/dist/arvados-docker-cleaner/lib/python3.7/site-packages/docker/api/build.py", line 9, in <module>
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:     from .. import utils
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:   File "/usr/share/python3/dist/arvados-docker-cleaner/lib/python3.7/site-packages/docker/utils/__init__.py", line 1, in <module>
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:     from .utils import (
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:   File "/usr/share/python3/dist/arvados-docker-cleaner/lib/python3.7/site-packages/docker/utils/utils.py", line 24, in <module>
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:     from distutils.version import StrictVersion
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:   File "/usr/share/python3/dist/arvados-docker-cleaner/lib/python3.7/distutils/__init__.py", line 44, in <module>
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]:     from distutils import dist, sysconfig  # isort:skip
Jul 16 10:50:44 ip-10-254-254-103 sh[4933]: ImportError: cannot import name 'dist' from 'distutils' (/usr/share/python3/dist/arvados-docker-cleaner/lib/python3.7/distutils/__init__.py)
Jul 16 10:50:44 ip-10-254-254-103 systemd[1]: arvados-docker-cleaner.service: Main process exited, code=exited, status=1/FAILURE
Jul 16 10:50:44 ip-10-254-254-103 systemd[1]: arvados-docker-cleaner.service: Failed with result 'exit-code'.

The package is not pulling python3-distutils as a dependency.


Related issues

Related to Arvados - Bug #16434: python3-arvados-cwl-runner package broken on Debian 10 and Ubuntu 18.04Resolved

Related to Arvados - Bug #16600: Compute nodes missing attached scratch spaceResolved

Associated revisions

Revision 2dd9827a (diff)
Added by Ward Vandewege about 1 year ago

The arvados-docker-cleaner packages on Debian 10 and Ubuntu
18.04 (and later, presumably) have a dependency on the python3-distutils
package.

closes #16611

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <>

Revision 614f8f17 (diff)
Added by Javier Bértoli 8 months ago

fix(compute-images): remove unneeded code

refs #17435 & #16611

Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <>

Revision 9bae12f6 (diff)
Added by Javier Bértoli 7 months ago

fix(compute-images): remove unneeded code

refs #17435 & #16611

Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <>

History

#1 Updated by Javier Bértoli over 1 year ago

  • Related to Bug #16434: python3-arvados-cwl-runner package broken on Debian 10 and Ubuntu 18.04 added

#2 Updated by Javier Bértoli over 1 year ago

  • Related to Bug #16600: Compute nodes missing attached scratch space added

#3 Updated by Ward Vandewege about 1 year ago

  • Target version set to 2020-08-12 Sprint
  • Assigned To set to Ward Vandewege
  • Status changed from New to In Progress

#4 Updated by Ward Vandewege about 1 year ago

  • Release set to 34

#5 Updated by Ward Vandewege about 1 year ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Resolved

#6 Updated by Ward Vandewege about 1 year ago

  • Release changed from 34 to 25

Also available in: Atom PDF