yum does not fail when packages are missing

Bug #1675401 reported by Marcin Juszkiewicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Unassigned
Newton
Won't Fix
Undecided
Unassigned
Ocata
Won't Fix
Undecided
Unassigned
Pike
Fix Released
High
Unassigned

Bug Description

By default yum skips missing packages. As a result built images may not
contain what we expect them to have (often found on non-x86
architectures).

There is an option to make it fail in same way as APT does in Debian
world. And [1] patch makes use of it so broken images just fail:

INFO:kolla.image.build.openstack-base:No package Percona-Server-shared-56 available.
INFO:kolla.image.build.openstack-base:Error: Not tolerating missing names on install, stopping.
INFO:kolla.image.build.openstack-base:
INFO:kolla.image.build.openstack-base:Removing intermediate container d5e506330b08
ERROR:kolla.image.build.openstack-base:Error'd with the following message

1. https://review.openstack.org/#/c/449086/

Changed in kolla:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Marcin Juszkiewicz (hrw)
milestone: none → pike-1
Changed in kolla:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/449086
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=d2c8372e99315d5071cca97d83a941f99e66dbd0
Submitter: Jenkins
Branch: master

commit d2c8372e99315d5071cca97d83a941f99e66dbd0
Author: Marcin Juszkiewicz <email address hidden>
Date: Thu Mar 23 12:28:35 2017 +0100

    make yum fail on missing packages

    By default yum skips missing packages. As a result built images may not
    contain what we expect them to have (often found on non-x86
    architectures).

    There is an option to make it fail in same way as APT does in Debian
    world. And this patch makes use of it so broken images just fail:

    INFO:kolla.image.build.openstack-base:No package Percona-Server-shared-56 available.
    INFO:kolla.image.build.openstack-base:Error: Not tolerating missing names on install, stopping.
    INFO:kolla.image.build.openstack-base:
    INFO:kolla.image.build.openstack-base:Removing intermediate container d5e506330b08
    ERROR:kolla.image.build.openstack-base:Error'd with the following message

    Closes-Bug: #1675401

    Change-Id: Ib6b9e6b8cc216ce283cd043fa3600db7c0cc2a98

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (stable/newton)

Change abandoned by Eduardo Gonzalez (<email address hidden>) on branch: stable/newton
Review: https://review.openstack.org/451465

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 5.0.0.0b2

This issue was fixed in the openstack/kolla 5.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (stable/ocata)

Change abandoned by Eduardo Gonzalez (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/451460

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.