dind fails to build

Bug #1716952 reported by Eduardo Gonzalez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Eduardo Gonzalez
Pike
Fix Released
Undecided
Unassigned
Queens
Fix Released
High
Eduardo Gonzalez

Bug Description

dind image fails to build in ubuntu binary due missing setuptools package to install docker from pip

:kolla.image.build.dind:Collecting docker
INFO:kolla.image.build.dind: Downloading docker-2.5.1-py2.py3-none-any.whl (111kB)
INFO:kolla.image.build.dind:Collecting backports.ssl-match-hostname>=3.5; python_version < "3.5" (from docker)
INFO:kolla.image.build.dind: Downloading backports.ssl_match_hostname-3.5.0.1.tar.gz
INFO:kolla.image.build.dind: Complete output from command python setup.py egg_info:
INFO:kolla.image.build.dind: Traceback (most recent call last):
INFO:kolla.image.build.dind: File "<string>", line 1, in <module>
INFO:kolla.image.build.dind: ImportError: No module named setuptools
INFO:kolla.image.build.dind:
INFO:kolla.image.build.dind: ----------------------------------------
INFO:kolla.image.build.dind:Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ekBDU_/backports.ssl-match-hostname/
INFO:kolla.image.build.dind:
INFO:kolla.image.build.dind:You are using pip version 8.1.1, however version 9.0.1 is available.
INFO:kolla.image.build.dind:You should consider upgrading via the 'pip install --upgrade pip' command.

Oraclelinux images fails to install due opstools version in url has changed and current returns 404.
Also, buildlogs set to mitaka returns 404 too, causing oraclelinux failing to build. No idea what mitaka repo is for in pike or master

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/503712

description: updated
Changed in kolla:
importance: Undecided → High
milestone: none → queens-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/503712
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=bc52005ac0af69bce31512584775c991b1aa6326
Submitter: Jenkins
Branch: master

commit bc52005ac0af69bce31512584775c991b1aa6326
Author: Eduardo Gonzalez <email address hidden>
Date: Wed Sep 13 17:32:01 2017 +0200

    Fix dind and zun images and oraclelinux build

    - dind need setuptools to install docker
      through pip in binary install
    - oraclelinux fails to install due opstools
      repo and openstack mitaka repos missing.
    - zun removed moved nova out of etc because is not
      used. https://github.com/openstack/zun/commit/6dc286616727fde6e4d22b415bd961ebd8854920

    Change-Id: Ic4eb0f2e97a108be3c854c95eede27b5cd411b5c
    Closes-Bug: #1716952

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/pike)

Reviewed: https://review.openstack.org/505144
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=03d6089626cb876e1d337f87c4c0d20e65f2b540
Submitter: Jenkins
Branch: stable/pike

commit 03d6089626cb876e1d337f87c4c0d20e65f2b540
Author: Eduardo Gonzalez <email address hidden>
Date: Tue Sep 19 08:13:46 2017 +0100

    Fix pike branch gate

    This patch contains two patches which is needed to fix the gate

    Pin ansible to <2.4 to make ara work in gates

    ARA does not work yet with ansible 2.4
    ARA has pinned to lower version than 2.4
    https://review.openstack.org/#/c/500651/

    (cherry picked from commit da9d2c3383ec491da23ccc51ba3c17b3343c368c)

    Fix dind and zun images and oraclelinux build

    - dind need setuptools to install docker
      through pip in binary install
    - oraclelinux fails to install due opstools
      repo and openstack mitaka repos missing.
    - zun removed moved nova out of etc because is not
      used. https://github.com/openstack/zun/commit/6dc286616727fde6e4d22b415bd961ebd8854920

    Change-Id: Ic4eb0f2e97a108be3c854c95eede27b5cd411b5c
    Closes-Bug: #1716952
    (cherry picked from commit bc52005ac0af69bce31512584775c991b1aa6326)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 6.0.0.0b2

This issue was fixed in the openstack/kolla 6.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 5.0.1

This issue was fixed in the openstack/kolla 5.0.1 release.

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.