yum does not fail when packages are missing
Bug #1675401 reported by
Marcin Juszkiewicz
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.
INFO:kolla.
INFO:kolla.
INFO:kolla.
ERROR:kolla.
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 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/449086 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=d2c8372e993 15d5071cca97d83 a941f99e66dbd0
Committed: https:/
Submitter: Jenkins
Branch: master
commit d2c8372e99315d5 071cca97d83a941 f99e66dbd0
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. kolla.image. build.openstack -base:Error: Not tolerating missing names on install, stopping. kolla.image. build.openstack -base: kolla.image. build.openstack -base:Removing intermediate container d5e506330b08 kolla.image. build.openstack -base:Error' d with the following message
INFO:
INFO:
INFO:
ERROR:
Closes-Bug: #1675401
Change-Id: Ib6b9e6b8cc216c e283cd043fa3600 db7c0cc2a98