yum install-packages will not fail if packages not found when installing multiple packages

Bug #1292323 reported by Om Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Triaged
Medium
Unassigned

Bug Description

yum install-packages will not fail if packages not found when installing multiple packages. Due to this some other element reports failure and user is cluless as to why element failed in first place.

The complete log can be found at http://paste.openstack.org/show/73476/

The relevant logs are copied here.

dib-run-parts Thu Mar 13 22:11:30 EDT 2014 Running /tmp/in_target.d/install.d/10-os-collect-config
+ install-packages build-essential libz-dev libxslt-dev libxml2-dev python-dev
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
No package libz-dev available.
No package python-dev available.
Resolving Dependencies
--> Running transaction check
---> Package automake.noarch 0:1.11.1-4.el6 will be installed
--> Processing Dependency: autoconf >= 2.62 for package: automake-1.11.1-4.el6.noarch
---> Package gcc.x86_64 0:4.4.7-4.el6 will be installed
--> Processing Dependency: libgomp = 4.4.7-4.el6 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: cpp = 4.4.7-4.el6 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.4.7-4.el6.x86_64
---> Package gcc-c++.x86_64 0:4.4.7-4.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.7-4.el6 for package: gcc-c++-4.4.7-4.el6.x86_64
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.7-4.el6.x86_64
---> Package kernel-devel.x86_64 0:2.6.32-431.5.1.el6 will be installed
---> Package libxml2-devel.x86_64 0:2.7.6-14.el6 will be installed
--> Processing Dependency: zlib-devel for package: libxml2-devel-2.7.6-14.el6.x86_64
---> Package libxslt-devel.x86_64 0:1.1.26-2.el6_3.1 will be installed
--> Processing Dependency: libxslt = 1.1.26-2.el6_3.1 for package: libxslt-devel-1.1.26-2.el6_3.1.x86_64
--> Processing Dependency: libgcrypt-devel for package: libxslt-devel-1.1.26-2.el6_3.1.x86_64
--> Processing Dependency: libxslt.so.1()(64bit) for package: libxslt-devel-1.1.26-2.el6_3.1.x86_64
--> Processing Dependency: libexslt.so.0()(64bit) for package: libxslt-devel-1.1.26-2.el6_3.1.x86_64
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-4.el6 will be installed
---> Package glibc-devel.x86_64 0:2.12-1.132.el6 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.132.el6 for package: glibc-devel-2.12-1.132.el6.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.132.el6.x86_64
---> Package libgcrypt-devel.x86_64 0:1.4.5-11.el6_4 will be installed
--> Processing Dependency: libgpg-error-devel for package: libgcrypt-devel-1.4.5-11.el6_4.x86_64
---> Package libgomp.x86_64 0:4.4.7-4.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.7-4.el6 will be installed
---> Package libxslt.x86_64 0:1.1.26-2.el6_3.1 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package zlib-devel.x86_64 0:1.2.3-29.el6 will be installed
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.12-1.132.el6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.132.el6.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.132.el6.x86_64
---> Package libgpg-error-devel.x86_64 0:1.7-4.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Running transaction check
---> Package kernel-headers.x86_64 0:2.6.32-431.5.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package Arch Version Repository Size
================================================================================
Installing:
 automake noarch 1.11.1-4.el6 linuxcoe_yum_updates 550 k
 gcc x86_64 4.4.7-4.el6 linuxcoe_yum_updates 10 M
 gcc-c++ x86_64 4.4.7-4.el6 linuxcoe_yum_updates 4.7 M
 kernel-devel x86_64 2.6.32-431.5.1.el6 linuxcoe_yum_updates 8.8 M
 libxml2-devel x86_64 2.7.6-14.el6 linuxcoe_yum_updates 1.1 M
 libxslt-devel x86_64 1.1.26-2.el6_3.1 linuxcoe_yum_updates 561 k
Installing for dependencies:
 autoconf noarch 2.63-5.1.el6 rhel_media 781 k
 cloog-ppl x86_64 0.15.7-1.2.el6 rhel_media 93 k
 cpp x86_64 4.4.7-4.el6 linuxcoe_yum_updates 3.7 M
 glibc-devel x86_64 2.12-1.132.el6 linuxcoe_yum_updates 978 k
 glibc-headers x86_64 2.12-1.132.el6 linuxcoe_yum_updates 608 k
 kernel-headers x86_64 2.6.32-431.5.1.el6 linuxcoe_yum_updates 2.8 M
 libgcrypt-devel x86_64 1.4.5-11.el6_4 linuxcoe_yum_updates 118 k
 libgomp x86_64 4.4.7-4.el6 linuxcoe_yum_updates 118 k
 libgpg-error-devel x86_64 1.7-4.el6 linuxcoe_yum_updates 14 k
 libstdc++-devel x86_64 4.4.7-4.el6 linuxcoe_yum_updates 1.6 M
 libxslt x86_64 1.1.26-2.el6_3.1 linuxcoe_yum_updates 452 k
 mpfr x86_64 2.4.1-6.el6 rhel_media 156 k
 ppl x86_64 0.10.2-11.el6 rhel_media 1.3 M
 zlib-devel x86_64 1.2.3-29.el6 linuxcoe_yum_updates 44 k

Transaction Summary
================================================================================
Install 20 Package(s)

Total size: 38 M
Installed size: 101 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : mpfr-2.4.1-6.el6.x86_64 1/20
  Installing : cpp-4.4.7-4.el6.x86_64 2/20
  Installing : ppl-0.10.2-11.el6.x86_64 3/20
  Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 4/20
  Installing : zlib-devel-1.2.3-29.el6.x86_64 5/20
  Installing : libxml2-devel-2.7.6-14.el6.x86_64 6/20
  Installing : libxslt-1.1.26-2.el6_3.1.x86_64 7/20
  Installing : autoconf-2.63-5.1.el6.noarch 8/20
  Installing : libgomp-4.4.7-4.el6.x86_64 9/20
  Installing : kernel-headers-2.6.32-431.5.1.el6.x86_64 10/20
  Installing : glibc-headers-2.12-1.132.el6.x86_64 11/20
  Installing : glibc-devel-2.12-1.132.el6.x86_64 12/20
  Installing : gcc-4.4.7-4.el6.x86_64 13/20
  Installing : libstdc++-devel-4.4.7-4.el6.x86_64 14/20
  Installing : libgpg-error-devel-1.7-4.el6.x86_64 15/20
  Installing : libgcrypt-devel-1.4.5-11.el6_4.x86_64 16/20
  Installing : libxslt-devel-1.1.26-2.el6_3.1.x86_64 17/20
  Installing : gcc-c++-4.4.7-4.el6.x86_64 18/20
  Installing : automake-1.11.1-4.el6.noarch 19/20
  Installing : kernel-devel-2.6.32-431.5.1.el6.x86_64 20/20
  Verifying : libgcrypt-devel-1.4.5-11.el6_4.x86_64 1/20
  Verifying : libgpg-error-devel-1.7-4.el6.x86_64 2/20
  Verifying : libstdc++-devel-4.4.7-4.el6.x86_64 3/20
  Verifying : libxml2-devel-2.7.6-14.el6.x86_64 4/20
  Verifying : kernel-headers-2.6.32-431.5.1.el6.x86_64 5/20
  Verifying : cpp-4.4.7-4.el6.x86_64 6/20
  Verifying : glibc-devel-2.12-1.132.el6.x86_64 7/20
  Verifying : libgomp-4.4.7-4.el6.x86_64 8/20
  Verifying : glibc-headers-2.12-1.132.el6.x86_64 9/20
  Verifying : kernel-devel-2.6.32-431.5.1.el6.x86_64 10/20
  Verifying : mpfr-2.4.1-6.el6.x86_64 11/20
  Verifying : autoconf-2.63-5.1.el6.noarch 12/20
  Verifying : libxslt-devel-1.1.26-2.el6_3.1.x86_64 13/20
  Verifying : libxslt-1.1.26-2.el6_3.1.x86_64 14/20
  Verifying : zlib-devel-1.2.3-29.el6.x86_64 15/20
  Verifying : gcc-4.4.7-4.el6.x86_64 16/20
  Verifying : gcc-c++-4.4.7-4.el6.x86_64 17/20
  Verifying : ppl-0.10.2-11.el6.x86_64 18/20
  Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 19/20
  Verifying : automake-1.11.1-4.el6.noarch 20/20

Installed:
  automake.noarch 0:1.11.1-4.el6 gcc.x86_64 0:4.4.7-4.el6
  gcc-c++.x86_64 0:4.4.7-4.el6 kernel-devel.x86_64 0:2.6.32-431.5.1.el6
  libxml2-devel.x86_64 0:2.7.6-14.el6 libxslt-devel.x86_64 0:1.1.26-2.el6_3.1

Dependency Installed:
  autoconf.noarch 0:2.63-5.1.el6
  cloog-ppl.x86_64 0:0.15.7-1.2.el6
  cpp.x86_64 0:4.4.7-4.el6
  glibc-devel.x86_64 0:2.12-1.132.el6
  glibc-headers.x86_64 0:2.12-1.132.el6
  kernel-headers.x86_64 0:2.6.32-431.5.1.el6
  libgcrypt-devel.x86_64 0:1.4.5-11.el6_4
  libgomp.x86_64 0:4.4.7-4.el6
  libgpg-error-devel.x86_64 0:1.7-4.el6
  libstdc++-devel.x86_64 0:4.4.7-4.el6
  libxslt.x86_64 0:1.1.26-2.el6_3.1
  mpfr.x86_64 0:2.4.1-6.el6
  ppl.x86_64 0:0.10.2-11.el6
  zlib-devel.x86_64 0:1.2.3-29.el6

Complete!
+ virtualenv --setuptools /opt/stack/venvs/os-collect-config

Changed in diskimage-builder:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
James Polley (tchaypo) wrote :

Tweaked status as per https://wiki.openstack.org/wiki/TripleO#Bug_Triage; we use triaged instead of confirmed

Changed in diskimage-builder:
status: Confirmed → Triaged
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.