make iso fails due to "No such image: busybox"

Bug #1577832 reported by Dexin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Dexin

Bug Description

I am not able to build a iso with make iso, in master branch because of "No such image: busybox"

The information:
================================================================
sudo bash -c "export LOCAL_MIRROR=/root/fuel-main/local_mirror; \
  /root/fuel-main/report-changelog.sh"
touch /root/fuel-main/build/mirror/make-changelog.done
sudo docker save fuel/centos busybox fuel/astute_8.0:latest fuel/cobbler_8.0:latest fuel/mcollective_8.0:latest fuel/nailgun_8.0:latest fuel/keystone_8.0:latest fuel/nginx_8.0:latest fuel/ostf_8.0:latest fuel/rsync_8.0:latest fuel/rsyslog_8.0:latest fuel/rabbitmq_8.0:latest fuel/postgres_8.0:latest > /root/fuel-main/build/docker/fuel-images.tar
Error response from daemon: No such image: busybox
make: *** [/root/fuel-main/build/docker/build.done] Error 1
root@dexinl-VirtualBox:~/fuel-main# vi /root/fuel-main/build/mirror/make-changelog.done
================================================================

But when run "busybox" command, it can work:
================================================================
root@dexinl-VirtualBox:~/fuel-main# busybox
BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2012.
Licensed under GPLv2. See source distribution for detailed
copyright notices.

Usage: busybox [function [arguments]...]
   or: busybox --list[-full]
   or: busybox --install [-s] [DIR]
   or: function [arguments]...
.......
================================================================

Milestone: Fuel for OpenStack 8.0
OS: Ubuntu 14.04.4 LTS
Docker version 1.11.1, build 5604cbe

steps to reproduce :
apt-get install git
git clone --branch 8.0 https://github.com/openstack/fuel-main
cd fuel-main
./prepare-build-env.sh
make iso

Tags: area-build
tags: added: area-build
Changed in fuel:
milestone: none → 8.0-updates
assignee: nobody → Sergey Kulanov (skulanov)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Sergey Kulanov (skulanov) wrote :

Could you please run `make deep_clean` and then `make iso` again, because busybox is the image that should be downloaded, please check the log as example:

touch /home/jenkins/workspace/tmp/8.0.custom.iso/build/mirror/ubuntu/repo.done
wget -nv -O /home/jenkins/workspace/tmp/8.0.custom.iso/local_mirror/docker/centos.tar.xz http://mirror.fuel-infra.org/docker/8.0/centos.tar.xz
2016-04-28 12:41:50 URL:http://mirror.fuel-infra.org/docker/8.0/centos.tar.xz [44686844/44686844] -> "/home/jenkins/workspace/tmp/8.0.custom.iso/local_mirror/docker/centos.tar.xz" [1]
wget -nv -O /home/jenkins/workspace/tmp/8.0.custom.iso/local_mirror/docker/busybox.tar.xz http://mirror.fuel-infra.org/docker/8.0/busybox.tar.xz
2016-04-28 12:41:50 URL:http://mirror.fuel-infra.org/docker/8.0/busybox.tar.xz [897148/897148] -> "/home/jenkins/workspace/tmp/8.0.custom.iso/local_mirror/docker/busybox.tar.xz" [1]
touch /home/jenkins/workspace/tmp/8.0.custom.iso/build/mirror/docker/base-images.done
touch /home/jenkins/workspace/tmp/8.0.custom.iso/build/mirror/docker/build.done
touch /home/jenkins/workspace/tmp/8.0.custom.iso/build/mirror/build.done
sudo bash -c "export LOCAL_MIRROR=/home/jenkins/workspace/tmp/8.0.custom.iso/local_mirror; \
  /home/jenkins/workspace/8.0.custom.iso/report-changelog.sh"

If the issue appeared again we need you to attach full build log to this bug

Put to incomplete and waiting for feedback,

thanks

Changed in fuel:
status: In Progress → Incomplete
assignee: Sergey Kulanov (skulanov) → Dexin (lidexin2003)
Revision history for this message
Dexin (lidexin2003) wrote :

Hi Sergey,

Thanks for your comments, and I ran `make deep_clean` and then `make iso` again, I cannot hit this issue(LP#1577832), but hit the other issue(it is maybe LP#1576219), the log infomation:
=====================================================================
......
zeromq3-3.2.5-1.el7~mos1.x86_64.rpm | 344 kB 00:00
[fuel: 1121 of 1121 ] Downloading Packages/zeromq3-devel-3.2.5-1.el7~mos1.x86_64.rpm
zeromq3-devel-3.2.5-1.el7~mos1.x86_64.rpm | 94 kB 00:00
touch /root/fuel-main/build/mirror/centos/mos-download.done
createrepo -g /root/fuel-main/local_mirror/mos-centos/comps.xml \
     -o /root/fuel-main/local_mirror/mos-centos/ /root/fuel-main/local_mirror/mos-centos/
Worker 0: Error: Could not open local rpm file: /root/fuel-main/local_mirror/mos-centos//Packages/python-socketpool-0.5.3-2.el7~mos1.noarch.rpm: RPM Error opening Package
Failed to process 1 package(s).
Spawning worker 0 with 1121 pkgs
Worker 0:
Worker 0: iso-8859-1 encoding on Terje R�sten <email address hidden> - 0.4.5-1
Worker 0:
Worker 0:
Worker 0: iso-8859-1 encoding on Terje R�sten <email address hidden> - 0.4.5-1
Worker 0:
Worker 0:
Worker 0: iso-8859-1 encoding on Terje R�sten <email address hidden> - 0.4.5-1
Worker 0:
Worker 0:
Worker 0: iso-8859-1 encoding on Terje R�sten <email address hidden> - 0.4.5-1
Worker 0:
Workers Finished
make: *** [/root/fuel-main/build/mirror/centos/mos-repo.done] Error 1
=====================================================================
Full build log are "make_iso_20160504.txt" and "make_iso_20160505.txt"

Revision history for this message
Dexin (lidexin2003) wrote :
Revision history for this message
Sergey Kulanov (skulanov) wrote :

Hi Dexin,

please analyse your logs, it seems that you have some network issue:

Could not retrieve package cluster-glue-libs-devel-1.0.12-1.16.1.el7~mos1.x86_64. Error was failure: Packages/cluster-glue-libs-devel-1.0.12-1.16.1.el7~mos1.x86_64.rpm from fuel: [Errno 256] No more mirrors to try.
Could not retrieve package python-socketpool-0.5.3-2.el7~mos1.noarch. Error was failure: Packages/python-socketpool-0.5.3-2.el7~mos1.noarch.rpm from fuel: [Errno 256] No more mirrors to try.

Revision history for this message
Dexin (lidexin2003) wrote :

Hi Sergey,

Thanks for your comments, I will further check network issue, and if get the more information, I will summit it.

Roman Vyalov (r0mikiam)
Changed in fuel:
status: Incomplete → Invalid
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.