fuel-main fails to build for older fuel versions due to docker not being able to pull down centos images
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-
4) make iso
Expected results:
built iso
Actual results:
failure:
sudo docker build -t fuel/fuel-
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/
Reproducibility:
100%
Workaround:
Pull in upstream docker package, see https:/
Version: 8 or less
description: | updated |
tags: | added: non-release |
Changed in fuel: | |
assignee: | Fuel build team (fuel-build) → Sergey Kulanov (skulanov) |
Changed in fuel: | |
status: | In Progress → Fix Committed |
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