ISO build fails with 'xz: executable not found in $PATH'

Bug #1400606 reported by Dmitry Nikishov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
New
Undecided
Unassigned

Bug Description

Env:
- Ubuntu 14.04
- environment set up with 'prepare-build-env.sh'
- building from master branch of github.com/stackforge/fuel-* repos
- executed 'make iso' with all the default settings

ISO build fails with:
tar xf /tmp/fuel-main/build/artifacts/ubuntu_target_images.tar -C /tmp/fuel-main/build/iso/isoroot/targetimages
touch /tmp/fuel-main/build/iso/isoroot-image.done
find /tmp/fuel-main/local_mirror/docker/ -regex '.*xz' | xargs -n1 sudo docker load -i
2014/12/09 07:38:40 Error: Untar exit status 1 exec: "xz": executable file not found in $PATH
2014/12/09 07:38:41 Error: Untar exit status 1 exec: "xz": executable file not found in $PATH
2014/12/09 07:38:41 Error: Untar exit status 1 exec: "xz": executable file not found in $PATH
make: *** [/tmp/fuel-main/build/docker/base-images.done] Error 123

This seems to be an issue associated with changes introduced in docker 1.3.2: https://github.com/docker/docker/issues/9327
'prepare-build-env.sh' installs 1.3.2 by default (latest available in http://mirror.yandex.ru/mirrors/docker).
After manual downgrade to docker 1.3.1, build process has been able to proceed.

Revision history for this message
Alexander Kupko (akupko) wrote :

Here is a workaround: https://blogs.oracle.com/brunoborges/entry/oracle_linux_docker_base_image
It proposes to uncompress the archive first and then load a tarball file.

Please note, 1.4.1 version of docker (default in Ubuntu 14.04) does not work as well due to another bug: https://github.com/docker/docker/issues/4036

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.