Failed to build ironic-pxe container for ubuntu

Bug #1512508 reported by Sidharth Surana
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Sam Yaple

Bug Description

Building images fails with ubuntu

root cause being the package "pxelinux" not available for "trusty" release of ubuntu. It is only available for the newer versions.
See: http://packages.ubuntu.com/search?keywords=pxelinux&searchon=names

Command:
tools/build.py --base ubuntu --base-tag trusty --type source
...
...
INFO:__main__:Images that failed to build
INFO:__main__:===========================
ERROR:__main__:ironic-px Failed with status: error

==========
Tried to build just the ironic-pxe container and that failed with the following output

tools/build.py --base ubuntu --base-tag trusty --type source ironic-pxe

INFO:__main__:base:Building
INFO:__main__:base:Step 0 : FROM ubuntu:trusty
INFO:__main__:base: ---> 1d073211c498
INFO:__main__:base:Step 1 : MAINTAINER Kolla Project (https://launchpad.net/kolla)
INFO:__main__:base: ---> Using cache
INFO:__main__:base: ---> 3b95736b3d7f
INFO:__main__:base:Step 2 : ENV KOLLA_BASE_DISTRO ubuntu
INFO:__main__:base: ---> Using cache
INFO:__main__:base: ---> e08e6298f785
INFO:__main__:base:Step 3 : ENV KOLLA_INSTALL_TYPE source
INFO:__main__:base: ---> Using cache
INFO:__main__:base: ---> 89984158cee4
INFO:__main__:base:Step 4 : ENV KOLLA_INSTALL_METATYPE mixed
INFO:__main__:base: ---> Using cache
INFO:__main__:base: ---> e6a313eaf7b6
INFO:__main__:base:Step 5 : ENV http_proxy http://proxy.vmware.com:3128
INFO:__main__:base: ---> Using cache
INFO:__main__:base: ---> 4f42ec8df04f
INFO:__main__:base:Step 6 : ENV https_proxy http://proxy.vmware.com:3128
INFO:__main__:base: ---> Using cache
INFO:__main__:base: ---> 04730e55a08d
INFO:__main__:base:Step 7 : ENV DEBIAN_FRONTEND noninteractive
INFO:__main__:base: ---> Using cache
INFO:__main__:base: ---> 7ba160cdfdda
INFO:__main__:base:Step 8 : COPY sources.list /etc/apt/
INFO:__main__:base: ---> Using cache
INFO:__main__:base: ---> 0e8f588b6960
INFO:__main__:base:Step 9 : RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com 199369E5404BD5FC7D2FE43BCBCB082A1BB943DB && apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com 391A9AA2147192839E9DB0315EDB1B62EC4926EA && apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com 430BDF5C56E7C94E848EE60C1C4CBDCDCD2EFD2A && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get install -y --no-install-recommends python && apt-get clean && sed -i "s|'purelib': '\$base/local/lib/python\$py_version_short/dist-packages',|'purelib': '\$base/lib/python\$py_version_short/dist-packages',|;s|'platlib': '\$platbase/local/lib/python\$py_version_short/dist-packages',|'platlib': '\$platbase/lib/python\$py_version_short/dist-packages',|;s|'headers': '\$base/local/include/python\$py_version_short/\$dist_name',|'headers': '\$base/include/python\$py_version_short/\$dist_name',|;s|'scripts': '\$base/local/bin',|'scripts': '\$base/bin',|;s|'data' : '\$base/local',|'data' : '\$base',|" /usr/lib/python2.7/distutils/command/install.py && rm -rf /usr/lib/python2.7/site-packages && ln -s dist-packages /usr/lib/python2.7/site-packages
INFO:__main__:base: ---> Using cache
INFO:__main__:base: ---> 40e4cbb11609
INFO:__main__:base:Step 10 : COPY set_configs.py /usr/local/bin/kolla_set_configs
INFO:__main__:base: ---> Using cache
INFO:__main__:base: ---> 00152fccc9d1
INFO:__main__:base:Step 11 : COPY start.sh /usr/local/bin/kolla_start
INFO:__main__:base: ---> Using cache
INFO:__main__:base: ---> dcd44065a781
INFO:__main__:base:Step 12 : RUN touch /usr/local/bin/kolla_extend_start && chmod 755 /usr/local/bin/kolla_start /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_set_configs
INFO:__main__:base: ---> Using cache
INFO:__main__:base: ---> 4ce739305fa5
INFO:__main__:base:Step 13 : CMD kolla_start
INFO:__main__:base: ---> Using cache
INFO:__main__:base: ---> 958c86d28c9b
INFO:__main__:base:Successfully built 958c86d28c9b
INFO:__main__:base:Built
INFO:__main__:ironic-pxe:Building
INFO:__main__:ironic-pxe:Step 0 : FROM kollaglue/ubuntu-source-base:latest
INFO:__main__:ironic-pxe: ---> 958c86d28c9b
INFO:__main__:ironic-pxe:Step 1 : MAINTAINER Kolla Project (https://launchpad.net/kolla)
INFO:__main__:ironic-pxe: ---> Using cache
INFO:__main__:ironic-pxe: ---> d3ec9a334976
INFO:__main__:ironic-pxe:Step 2 : RUN apt-get install --no-install-recommends tftpd-hpa syslinux-common pxelinux && apt-get clean && mkdir -p /tftpboot && cp /usr/lib/syslinux/pxelinux.0 /var/lib/tftpboot/chain.c32 /tftpboot
INFO:__main__:ironic-pxe: ---> Running in da82829b7baa
INFO:__main__:ironic-pxe:Reading package lists...
INFO:__main__:ironic-pxe:Building dependency tree...
INFO:__main__:ironic-pxe:Reading state information...
INFO:__main__:ironic-pxe:Package pxelinux is not available, but is referred to by another package.
INFO:__main__:ironic-pxe:This may mean that the package is missing, has been obsoleted, or
INFO:__main__:ironic-pxe:is only available from another source
INFO:__main__:ironic-pxe:W
INFO:__main__:ironic-pxe::
INFO:__main__:ironic-pxe:Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
INFO:__main__:ironic-pxe:
INFO:__main__:ironic-pxe:
INFO:__main__:ironic-pxe:W
INFO:__main__:ironic-pxe::
INFO:__main__:ironic-pxe:Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
INFO:__main__:ironic-pxe:
INFO:__main__:ironic-pxe:
INFO:__main__:ironic-pxe:W
INFO:__main__:ironic-pxe::
INFO:__main__:ironic-pxe:Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
INFO:__main__:ironic-pxe:
INFO:__main__:ironic-pxe:
INFO:__main__:ironic-pxe:W
INFO:__main__:ironic-pxe::
INFO:__main__:ironic-pxe:Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
INFO:__main__:ironic-pxe:
INFO:__main__:ironic-pxe:W: You may want to run apt-get update to correct these problems
INFO:__main__:ironic-pxe:E: Package 'pxelinux' has no installation candidate
INFO:__main__:ironic-pxe:
INFO:__main__:ironic-pxe:Removing intermediate container da82829b7baa
ERROR:__main__:ironic-pxe:Error'd with the following message
ERROR:__main__:ironic-pxe:The command '/bin/sh -c apt-get install --no-install-recommends tftpd-hpa syslinux-common pxelinux && apt-get clean && mkdir -p /tftpboot && cp /usr/lib/syslinux/pxelinux.0 /var/lib/tftpboot/chain.c32 /tftpboot' returned a non-zero code: 100
INFO:__main__:ironic-pxe:Building
INFO:__main__:ironic-pxe:Step 0 : FROM kollaglue/ubuntu-source-base:latest
INFO:__main__:ironic-pxe: ---> 958c86d28c9b
INFO:__main__:ironic-pxe:Step 1 : MAINTAINER Kolla Project (https://launchpad.net/kolla)
INFO:__main__:ironic-pxe: ---> Using cache
INFO:__main__:ironic-pxe: ---> d3ec9a334976
INFO:__main__:ironic-pxe:Step 2 : RUN apt-get install --no-install-recommends tftpd-hpa syslinux-common pxelinux && apt-get clean && mkdir -p /tftpboot && cp /usr/lib/syslinux/pxelinux.0 /var/lib/tftpboot/chain.c32 /tftpboot
INFO:__main__:ironic-pxe: ---> Running in 098fe5a7e627
INFO:__main__:ironic-pxe:Reading package lists...
INFO:__main__:ironic-pxe:Building dependency tree...
INFO:__main__:ironic-pxe:Reading state information...
INFO:__main__:ironic-pxe:Package pxelinux is not available, but is referred to by another package.
INFO:__main__:ironic-pxe:This may mean that the package is missing, has been obsoleted, or
INFO:__main__:ironic-pxe:is only available from another source
INFO:__main__:ironic-pxe:W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
INFO:__main__:ironic-pxe:W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
INFO:__main__:ironic-pxe:W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
INFO:__main__:ironic-pxe:W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
INFO:__main__:ironic-pxe:W: You may want to run apt-get update to correct these problems
INFO:__main__:ironic-pxe:E: Package 'pxelinux' has no installation candidate
INFO:__main__:ironic-pxe:
INFO:__main__:ironic-pxe:Removing intermediate container 098fe5a7e627
ERROR:__main__:ironic-pxe:Error'd with the following message
ERROR:__main__:ironic-pxe:The command '/bin/sh -c apt-get install --no-install-recommends tftpd-hpa syslinux-common pxelinux && apt-get clean && mkdir -p /tftpboot && cp /usr/lib/syslinux/pxelinux.0 /var/lib/tftpboot/chain.c32 /tftpboot' returned a non-zero code: 100
INFO:__main__:ironic-pxe:Building
INFO:__main__:ironic-pxe:Step 0 : FROM kollaglue/ubuntu-source-base:latest
INFO:__main__:ironic-pxe: ---> 958c86d28c9b
INFO:__main__:ironic-pxe:Step 1 : MAINTAINER Kolla Project (https://launchpad.net/kolla)
INFO:__main__:ironic-pxe: ---> Using cache
INFO:__main__:ironic-pxe: ---> d3ec9a334976
INFO:__main__:ironic-pxe:Step 2 : RUN apt-get install --no-install-recommends tftpd-hpa syslinux-common pxelinux && apt-get clean && mkdir -p /tftpboot && cp /usr/lib/syslinux/pxelinux.0 /var/lib/tftpboot/chain.c32 /tftpboot
INFO:__main__:ironic-pxe: ---> Running in 92d730cdc2ac
INFO:__main__:ironic-pxe:Reading package lists...
INFO:__main__:ironic-pxe:Building dependency tree...
INFO:__main__:ironic-pxe:Reading state information...
INFO:__main__:ironic-pxe:Package pxelinux is not available, but is referred to by another package.
INFO:__main__:ironic-pxe:This may mean that the package is missing, has been obsoleted, or
INFO:__main__:ironic-pxe:is only available from another source
INFO:__main__:ironic-pxe:W
INFO:__main__:ironic-pxe::
INFO:__main__:ironic-pxe:Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
INFO:__main__:ironic-pxe:
INFO:__main__:ironic-pxe:W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
INFO:__main__:ironic-pxe:W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
INFO:__main__:ironic-pxe:W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
INFO:__main__:ironic-pxe:W: You may want to run apt-get update to correct these problems
INFO:__main__:ironic-pxe:E: Package 'pxelinux' has no installation candidate
INFO:__main__:ironic-pxe:
INFO:__main__:ironic-pxe:Removing intermediate container 92d730cdc2ac
ERROR:__main__:ironic-pxe:Error'd with the following message
ERROR:__main__:ironic-pxe:The command '/bin/sh -c apt-get install --no-install-recommends tftpd-hpa syslinux-common pxelinux && apt-get clean && mkdir -p /tftpboot && cp /usr/lib/syslinux/pxelinux.0 /var/lib/tftpboot/chain.c32 /tftpboot' returned a non-zero code: 100
INFO:__main__:Successfully built images
INFO:__main__:=========================
INFO:__main__:base
INFO:__main__:Images that failed to build
INFO:__main__:===========================
ERROR:__main__:ironic-px Failed with status: error

Steven Dake (sdake)
Changed in kolla:
status: New → Triaged
importance: Undecided → High
milestone: none → mitaka-1
Revision history for this message
Martin André (mandre) wrote :
Changed in kolla:
assignee: nobody → Sam Yaple (s8m)
status: Triaged → Fix Committed
Sam Yaple (s8m)
Changed in kolla:
status: Fix Committed → Fix Released
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.