Missing package name for distro/element: ubuntu/bootloader on ppc

Bug #1624021 reported by Sudipta Biswas
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
High
Mikhail S Medvedev

Bug Description

DIB fails for ppc64el ubuntu image build with the following error:

+ [[ ppc64el =~ ppc ]]
++ echo /dev/mapper/loop1p2
++ sed -e s#p2##
+ BOOT_DEV=/dev/mapper/loop1p1
+ DIB_EXTLINUX=0
+ '[' 0 '!=' 0 ']'
+ install_grub2
+ '[' -f /tmp/grub/install ']'
+ [[ ppc64el =~ ppc ]]
+ install-packages -m bootloader grub-ieee1275
Missing package name for distro/element: ubuntu/bootloader
bin/pkg-map error.

Changed in diskimage-builder:
assignee: nobody → Sudipta Biswas (sbiswas7)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to diskimage-builder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/370980

Changed in diskimage-builder:
status: New → In Progress
Changed in diskimage-builder:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/411541

Changed in diskimage-builder:
assignee: Sudipta Biswas (sbiswas7) → Mikhail S Medvedev (msmedved)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on diskimage-builder (master)

Change abandoned by Ian Wienand (<email address hidden>) on branch: master
Review: https://review.openstack.org/370980
Reason: merged I8425876c26e9e416c8ce2f53a4e38d26b4208633

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Reviewed: https://review.openstack.org/411541
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=9d7725b47585edf4d2276b18fd68e4ea53c46387
Submitter: Jenkins
Branch: master

commit 9d7725b47585edf4d2276b18fd68e4ea53c46387
Author: Mikhail S Medvedev <email address hidden>
Date: Thu Dec 15 17:58:14 2016 -0600

    Fix bootloader element on ppc

    For some reason [1] introduced -m option without ever checking that the
    mapping exists. Because there is no grub-ieee1275 mapping anywhere (not
    in base, not in bootloader), pkg-map fails. So stop using the mapping in
    package-install of grub-ieee1275 on ppc.

    There is another patch that tries to solve the same bug by adding the
    mapping [2]. I think it is better to undo the breakage introduced in [1]
    first, and then, if various distributions have differing names for the
    package, introduce various mappings. My reasoning is that at the moment
    this element is broken for all ppc64 distributions. This patch would
    fix it for some (namely, Ubuntu). Then we can add mappings as tests
    are done for other distributions.

    [1] Ibca43173c30c2a74a73a2e2d9dd6d6d832c62694
    [2] Id2b0f63a7015f883070fd59b79fd96a1c024858a

    Change-Id: I8425876c26e9e416c8ce2f53a4e38d26b4208633
    Closes-Bug: #1624021

Changed in diskimage-builder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to diskimage-builder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/424988

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on diskimage-builder (master)

Change abandoned by Ian Wienand (<email address hidden>) on branch: master
Review: https://review.openstack.org/424988
Reason: wrong branch

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to diskimage-builder (feature/v2)

Fix proposed to branch: feature/v2
Review: https://review.openstack.org/424989

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on diskimage-builder (feature/v2)

Change abandoned by Ian Wienand (<email address hidden>) on branch: feature/v2
Review: https://review.openstack.org/424989
Reason: i'm going to try this in smaller increments

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to diskimage-builder (feature/v2)

Fix proposed to branch: feature/v2
Review: https://review.openstack.org/427984

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: feature/v2
Review: https://review.openstack.org/428050

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on diskimage-builder (feature/v2)

Change abandoned by Ian Wienand (<email address hidden>) on branch: feature/v2
Review: https://review.openstack.org/427984
Reason: oops, new version in Ib9eb3dd1d384fc5b6a9846608216e056c57a173a

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (feature/v2)
Download full text (7.9 KiB)

Reviewed: https://review.openstack.org/428050
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=adf39c52cf483be06d000e659129c1eebb8533be
Submitter: Jenkins
Branch: feature/v2

commit 7603f97cadbf92c79549547dabbe252650343cac
Author: Gregory Haynes <email address hidden>
Date: Wed Dec 21 17:39:27 2016 +0000

    Revert "Revert Xenial to Python 2"

    We landed the fix for this in
    Icdb769541eee9793f261b4b8ec563be76ee13fe2.

    This reverts commit 2978ff885b1084fee923be7efcac3524d6ee2b56.

    Change-Id: Iecfc41ab2aad57bc4f6f86a13810b534d19a8fd5

commit 54b2733ad8b5807fdae1267c5475d4a0fba38237
Author: Gregory Haynes <email address hidden>
Date: Wed Dec 21 08:17:40 2016 +0000

    Dont run with VIRTUAL_ENV set

    debian ships a modified site.py which has some interesting behavior when
    VIRTUAL_ENV is set. In this case it will add
    /usr/lib/pythonx.x/site-packages to the start of sys.path. This causes
    pip to install packages to this location (rather than /usr/local). As a
    result, later on when booting where VIRTUAL_ENV is not set this branch
    is not hit and the path where python packages were installed is not part
    of sys.path.

    Change-Id: Icdb769541eee9793f261b4b8ec563be76ee13fe2

commit 2978ff885b1084fee923be7efcac3524d6ee2b56
Author: Ian Wienand <email address hidden>
Date: Wed Dec 21 05:11:07 2016 +0000

    Revert Xenial to Python 2

    There are issues with pip packages and a python3 only Xenial systems.
    This is occuring after Ie609de51cc5fcde701296c9474e315981d9778a2.

    We believe the issue is with VIRTUAL_ENV being set within the chroot
    and messing up pip installs
    (Icdb769541eee9793f261b4b8ec563be76ee13fe2) but a full solution is not
    yet clear.

    For now, set Xenial to ensure we use python2. Install the package for
    the ubuntu element (75-debian-minimal-baseinstall will install python2
    for the minimal elements).

    Change-Id: Id403919b0af93b375a900186c01a0d3a3bdfafea

commit 9d9a1e3000b72a5ab2de0366d5068af89e252cd8
Author: Paul Belanger <email address hidden>
Date: Fri Dec 16 12:30:10 2016 -0500

    Start func testing on centos-minimal again

    Because we run this image in openstack-infra, we want to increase our
    test coverage to help avoid potential breaks to our CI systems.

    Change-Id: I26405e3f7465654075278ec35b5e0da1338bb45e
    Signed-off-by: Paul Belanger <email address hidden>

commit d9dcb3fe99a4782b1cb4ddb9179a5e86ff73be96
Author: Paul Belanger <email address hidden>
Date: Fri Dec 16 11:42:59 2016 -0500

    Increase func testing for ubuntu-minimal element

    Since we still run these 3 version of ubuntu-minimal elements in
    openstack-infra, also run functional testing for them.

    Trusty and xenial will be in voting gate, precise added as skipped for
    non-voting.

    Add the default skip/run status to the "-l" output just to confirm
    this too.

    Change-Id: Icfbfd0cb7d9acae824972474b77e2fe0486c4f69
    Signed-off-by: Paul Belanger <email address hidden>

commit 61087d33e9ef67f05ef4a3b0dfc90ab521604292
Author: Ian Wienand <iwienand@redhat...

Read more...

tags: added: in-feature-v2
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.