fuel-main fails to build for older fuel versions due to docker not being able to pull down centos images

Bug #1592576 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Sergey Kulanov
6.1.x
Fix Committed
Medium
Sergey Kulanov
7.0.x
Fix Committed
Medium
Sergey Kulanov

Bug Description

Detailed bug description:
When trying to build ISOs for fuel <= 8 where we build docker images, the process fails on trusty due to the older docker untilities (1.5.0) being used which can no longer pull down images from the docker hub.

Steps to reproduce:
1) git clone fuel-main
2) git checkout stable/8.0
3) run prepare-build-env.sh
4) make iso

Expected results:
built iso

Actual results:
failure:
sudo docker build -t fuel/fuel-centos-build /home/fuel/git/fuel-main/build/docker/fuel-centos-build
Sending build context to Docker daemon 15.87 kB
Sending build context to Docker daemon
Step 0 : FROM centos:centos7
Pulling repository centos
INFO[0002] Could not reach any registry endpoint
make: *** [/home/fuel/git/fuel-main/build/docker/fuel-centos.done] Error 1

Reproducibility:
100%

Workaround:
Pull in upstream docker package, see https://git.opnfv.org/cgit/fuel/tree/build/Makefile#n115

Version: 8 or less

description: updated
Revision history for this message
Sergey Kulanov (skulanov) wrote :

Alex, I think we can simply update docker version [1], not sure about use the latest version (need additional check), but at least we are using on our build slaves version 1.6.2:

$] docker version
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 7c8fca2
OS/Arch (server): linux/amd64

[1]. https://github.com/openstack/fuel-main/blob/stable/8.0/prepare-build-env.sh#L105

Changed in fuel:
importance: Undecided → Medium
status: New → In Progress
tags: added: non-release
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/329829

Changed in fuel:
assignee: Fuel build team (fuel-build) → Sergey Kulanov (skulanov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/8.0)

Reviewed: https://review.openstack.org/329829
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=659e6e18d0bf3f6c9b49696ba7121fbcb6277c60
Submitter: Jenkins
Branch: stable/8.0

commit 659e6e18d0bf3f6c9b49696ba7121fbcb6277c60
Author: Sergey Kulanov <email address hidden>
Date: Wed Jun 15 11:30:33 2016 +0300

    Update docker package for ISO build env

    We need to update docker package for ISO build env (at least to
    lxc-docker-1.6.2 which is currently used on slaves), because
    (1.5.0) can no longer pull down images from the docker hub

    Change-Id: I80bb0c6ad7bf231e7815d2a4d0dafc4f5924ff82
    Closes-bug: #1592576

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/7.0)

Fix proposed to branch: stable/7.0
Review: https://review.openstack.org/329939

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/6.1)

Fix proposed to branch: stable/6.1
Review: https://review.openstack.org/329940

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/6.1)

Reviewed: https://review.openstack.org/329940
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=c65d46feb20852c272e1d35655a41f7c39ff336f
Submitter: Jenkins
Branch: stable/6.1

commit c65d46feb20852c272e1d35655a41f7c39ff336f
Author: Sergey Kulanov <email address hidden>
Date: Wed Jun 15 11:30:33 2016 +0300

    Update docker package for ISO build env

    We need to update docker package for ISO build env (at least to
    lxc-docker-1.6.2 which is currently used on slaves), because
    (1.5.0) can no longer pull down images from the docker hub

    Change-Id: I80bb0c6ad7bf231e7815d2a4d0dafc4f5924ff82
    Closes-bug: #1592576
    (cherry picked from commit 659e6e18d0bf3f6c9b49696ba7121fbcb6277c60)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/7.0)

Reviewed: https://review.openstack.org/329939
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=da5a6f73e50e21358985ad6f9e01183f00017bc4
Submitter: Jenkins
Branch: stable/7.0

commit da5a6f73e50e21358985ad6f9e01183f00017bc4
Author: Sergey Kulanov <email address hidden>
Date: Wed Jun 15 11:30:33 2016 +0300

    Update docker package for ISO build env

    We need to update docker package for ISO build env (at least to
    lxc-docker-1.6.2 which is currently used on slaves), because
    (1.5.0) can no longer pull down images from the docker hub

    Change-Id: I80bb0c6ad7bf231e7815d2a4d0dafc4f5924ff82
    Closes-bug: #1592576
    (cherry picked from commit 659e6e18d0bf3f6c9b49696ba7121fbcb6277c60)

Changed in fuel:
status: In Progress → Fix Committed
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.