Unsolved
This post is more than 5 years old
24 Posts
0
911
August 26th, 2016 05:00
ECS Docker Multi-node install fails with "ImportError: No module named setuptools"
Hello all,
I am trying to install a 4-node ECS on CentOS 7 and it failed with the following error:
csmultinode emccorp/ecs-software-2.2.1:latest
5234de925a25c8383fd9c19b0284d313455e233f55ce5a6a1ab0226b945b7755
[26/Aug/2016 10:15:54] INFO [root:506] Check the Docker processes.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5234de925a25 emccorp/ecs-software-2.2.1:latest "/opt/vipr/boot/boot." Less than a second ago Up Less than a second ecsmultinode
[26/Aug/2016 10:15:54] INFO [root:542] Backup common-object properties file
[26/Aug/2016 10:15:55] INFO [root:546] Copy common-object properties files to host
[26/Aug/2016 10:15:55] INFO [root:550] Modify Directory Table config for multi node
[26/Aug/2016 10:15:55] INFO [root:554] Copy modified files to container
[26/Aug/2016 10:15:55] INFO [root:562] Backup ssm properties file
[26/Aug/2016 10:15:55] INFO [root:566] Copy ssm properties files to host
[26/Aug/2016 10:15:55] INFO [root:570] Modify SSM config for multi node
[26/Aug/2016 10:15:55] INFO [root:574] Copy modified files to container
[26/Aug/2016 10:15:55] INFO [root:579] Adding python setuptools to container
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12402 100 12402 0 0 1398 0 0:00:08 0:00:08 --:--:-- 3695
Traceback (most recent call last):
File "ez_setup.py", line 426, in
sys.exit(main())
File "ez_setup.py", line 422, in main
archive = download_setuptools(**_download_args(options))
File "ez_setup.py", line 337, in download_setuptools
version = _resolve_version(version)
...
...
...
kennethreitz-requests-52b15f8/tests/testserver/__init__.py
kennethreitz-requests-52b15f8/tests/testserver/server.py
kennethreitz-requests-52b15f8/tests/utils.py
Traceback (most recent call last):
File "setup.py", line 9, in
from setuptools import setup
ImportError: No module named setuptools
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12402 100 12402 0 0 2514 0 0:00:04 0:00:04 --:--:-- 2538
[26/Aug/2016 10:16:35] INFO [root:589] Cleaning up python packages
rm: cannot remove 'setuptools-*.zip': No such file or directory
[26/Aug/2016 10:16:37] INFO [root:594] Flush VNeST data
[26/Aug/2016 10:16:38] INFO [root:597] Stop container
ecsmultinode
[26/Aug/2016 10:16:48] INFO [root:600] Start container
ecsmultinode
Thanking you in advance.
Stephen
shegarty1
24 Posts
0
August 26th, 2016 06:00
I checked python-setuptools is installed on the first node:
[root@ecs-n1 ~]# yum list | grep python | grep -i setup
cryptsetup-python.x86_64 1.6.7-1.el7 base
python-setuptools.noarch 0.9.8-4.el7 base
[root@ecs-n1 ~]#
I then installed python-setuptools manually before retrying the ECS installation again but it reported the same error.