[Openstack-operators] [magnum] issue using magnum on Pike

Spyros Trigazis strigazi at gmail.com
Tue Oct 3 08:32:11 UTC 2017


Hello,

It looks like the new docker module is not installed.
The docker client moved from docker 1.x to 2.x and
unfortunately they changed the name.

Magnum Pike depends on python-docker 2.x.
http://git.openstack.org/cgit/openstack/magnum/tree/requirements.txt?h=stable%2Fpike#n16

Module named docker:
https://github.com/docker/docker-py/blob/2.0.0/setup.py#L47
https://pypi.python.org/pypi/docker

Module named docker-py:
https://github.com/docker/docker-py/blob/1.10.6/setup.py#L43
https://pypi.python.org/pypi/docker-py

The change on the name:
https://github.com/docker/docker-py/commit/25aaec37b7c2e950b4a987ac151880061febb37a

You need to install docker 2.x , I don't know if there are opensuse
packages for it, I see only 1.10.4.

# zypper info python-docker-py
Loading repository data...
Reading installed packages...


Information for package python-docker-py:
-----------------------------------------
Repository     : OSS
Name           : python-docker-py
Version        : 1.10.4-10.2
Arch           : noarch
Vendor         : openSUSE
Installed Size : 306.6 KiB
Installed      : No
Status         : not installed
Source package : python-docker-py-1.10.4-10.2.src
Summary        : Docker API Client
Description    :
    A docker API client in Python

Cheers,
Spyros



More information about the OpenStack-operators mailing list