The tripleo-ci zuul reproducer fails to stop zuul services (docker_service) due to docker-py

Bug #1837216 reported by Marios Andreou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Incomplete
Low
Marios Andreou

Bug Description

Running the zuul based reproducer on an rdo cloud vm (using centos - 3.10.0-957.21.3.el7.x86_64 CentOS Linux release 7.6.1810) it fails with trace like:

    ./reproducer-zuul-based-quickstart.sh --workspace ~/WORKSPACE/ -ug marios -rg marios
    ...
    TASK [ansible-role-tripleo-ci-reproducer : Stop up zuul and friends] *************************
    task path: /home/reprozuul/WORKSPACE/roles/ansible-role-tripleo-ci-reproducer/tasks/start.yaml:10
    fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to import docker or docker-py - cannot import name __version__. Try `pip install docker` or `pip install docker-py` (Python 2.6)"}

The failing task is there [1] - doing some digging I found that [2]. I _tried_ the suggested pip install docker-py but got the same [3]

[1] https://github.com/rdo-infra/ansible-role-tripleo-ci-reproducer/blob/fbafd6cd6f4a2ac7c4250aa9c244ae775677c004/tasks/start.yaml#L11
[2] https://docs.ansible.com/ansible/latest/modules/docker_compose_module.html#requirements
[3][reprozuul@repro ~]$ pip show docker ==> Version: 3.6.0
   [reprozuul@repro ~]$ pip show docker-py ==> Version: 1.10.6

Revision history for this message
Marios Andreou (marios-b) wrote :

ftr i couldn't get this to work on the centos vm... tried all the combinations of docker/docker-py sudo vs --user install but same result.

I tried a different vm and with the rdo fedora-cloud-base-28 image i didn't hit that problem

Changed in tripleo:
importance: Medium → Low
wes hayutin (weshayutin)
Changed in tripleo:
milestone: none → train-3
tags: added: alert
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Incomplete
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
tags: removed: alert ci
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.