minishift / minishift-centos-iso

CentOS based ISO as an alternative for boot2docker ISO
GNU Lesser General Public License v3.0
40 stars 33 forks source link

Add python-setuptools in install package list. #189

Closed praveenkumar closed 6 years ago

praveenkumar commented 6 years ago

For latest docker version of RHEL depend on another service named as registries which need to have python-setuptools installed as part of it. Below you can see ImportError: No module named pkg_resources which is part of python-setuptools and same will be come soon in centos side.

# systemctl status registries.service
* registries.service - SystemWide Container Registries
   Loaded: loaded (/usr/lib/systemd/system/registries.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2017-12-12 01:49:51 EST; 1min 24s ago
  Process: 2308 ExecStart=/usr/libexec/registries -o /run/containers/registries.conf -V REGISTRIES (code=exited, status=1/FAILURE)
 Main PID: 2308 (code=exited, status=1/FAILURE)

Dec 12 01:49:51 minishift systemd[1]: Starting SystemWide Container Registries...
Dec 12 01:49:51 minishift systemd[1]: registries.service: main process exited, code=exited, status=1/FAILURE
Dec 12 01:49:51 minishift registries[2308]: Traceback (most recent call last):
Dec 12 01:49:51 minishift registries[2308]: File "/usr/libexec/registries", line 5, in <module>
Dec 12 01:49:51 minishift registries[2308]: from pkg_resources import load_entry_point
Dec 12 01:49:51 minishift registries[2308]: ImportError: No module named pkg_resources
Dec 12 01:49:51 minishift systemd[1]: Failed to start SystemWide Container Registries.
Dec 12 01:49:51 minishift systemd[1]: Unit registries.service entered failed state.
Dec 12 01:49:51 minishift systemd[1]: registries.service failed.

$ systemctl status docker
-- Logs begin at Tue 2017-12-12 01:46:59 EST, end at Tue 2017-12-12 01:49:51 EST. --
Dec 12 01:47:07 localhost systemd[1]: Dependency failed for Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit docker.service has failed.
gbraad commented 6 years ago

@budhrg this is inside the image, not the CI