Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

3607

November 6th, 2018 00:00

Deploying ECS CE 3.2.2.0 fails with "The error was: AttributeError: 'module' object has no attribute 'HTTPError'"

Hi folks,

I am following the Quick Start Guide on https://ecsce.readthedocs.io/en/latest/ deploy ECS CE 3.2.2.0 (single node) on CentoOS 7.

The bootstrap ran fine but the install is failing as below on "step1" with 'module' object has no attribute 'HTTPError'.

TASK [common_deploy : Common | Create a data container for ECS configuration control] ******************************************************************************************************************************************************************************************

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'module' object has no attribute 'HTTPError'

fatal: [192.168.100.189]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Traceback (most recent call last):\n  File \"/tmp/ansible_4FOhhl/ansible_module_docker.py\", line 526, in \n    import docker.client\n  File \"/usr/lib/python2.7/site-packages/docker/__init__.py\", line 6, in \n    from .client import Client, AutoVersionClient, from_env # flake8: noqa\n  File \"/usr/lib/python2.7/site-packages/docker/client.py\", line 11, in \n    from . import api\n  File \"/usr/lib/python2.7/site-packages/docker/api/__init__.py\", line 2, in \n    from .build import BuildApiMixin\n  File \"/usr/lib/python2.7/site-packages/docker/api/build.py\", line 7, in \n    from .. import errors\n  File \"/usr/lib/python2.7/site-packages/docker/errors.py\", line 4, in \n    c lass APIError(requests.exceptions.HTTPError):\nAttributeError: 'module' object has no attribute 'HTTPError'\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1}

PLAY RECAP *********************************************************************************************************************************************************************************************************************************************************************

192.168.100.189            : ok=19   changed=15   unreachable=0    failed=1

Playbook run took 0 days, 0 hours, 0 minutes, 19 seconds

Operation failed.

Running "step1" a 2nd time fails as the ECS disk is already partitioned, however when I re-format the drive and re-run "step1" again I hot the same error-> APIError(requests.exceptions.HTTPError):\nAttributeError: 'module' object has no attribute 'HTTPError'\n


Has anyone seen this behaviour?

Message was edited by: micksul

No Responses!
No Events found!

Top