make process should fail on issues with installing packages

Bug #1465388 reported by Sergey Kulanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Vladimir Kozhukalov

Bug Description

We need to put make process in failed state on any issues with installing packages

For example:
http://jenkins-product.srt.mirantis.net:8080/view/custom_iso/job/custom_7.0_iso/54/consoleFull

1) Checking for virtual provide or file-provide for python-tasklib
No package python-tasklib available.

2) https://github.com/stackforge/fuel-main/blob/master/image/centos/centos.ks#L47
Preparing bootloader config
error: package ruby is not installed
Loaded plugins: fastestmirror, priorities
Setting up Install Process
No package ruby-augeas available.
No package ruby-devel available.
No package rubygem-openstack available.
No package rubygem-netaddr available.
No package puppet available.
Resolving Dependencies

If we don't have some package in mirror then no packages will be installed. We need to catch such issues, to be sure that the iso was built in proper way

Changed in fuel:
status: New → Confirmed
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

yum can't fail on multipackage installs like this. The best way is to modify the puppet manifests to ensure every package. That way it will fail for sure. The yum install early on is intended to save time wasted in puppet

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

#1 comment is meant for another bug. The error for IBP should be handled in a different way

Roman Vyalov (r0mikiam)
Changed in fuel:
milestone: 7.0 → 8.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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

Changed in fuel:
assignee: Fuel build team (fuel-build) → Vladimir Kozhukalov (kozhukalov)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/225889
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=39990f503d27afead391441abebfc50b464887eb
Submitter: Jenkins
Branch: master

commit 39990f503d27afead391441abebfc50b464887eb
Author: Vladimir Kozhukalov <email address hidden>
Date: Mon Sep 21 18:05:53 2015 +0300

    Install rpm packages one by one using xargs and yum

    The thing is that when using 'yum install package1 package2'
    yum is not going to fail if one of the packages fails to
    install. Instead we use 'echo package1 package2 | xargs -n1 yum install'
    to install them in turn.

    Change-Id: I878d6c2589636aa39495c0fefc0c1dc9f1b33a56
    Closes-Bug: #1465388

Changed in fuel:
status: In Progress → Fix Committed
Dmitry Pyzhov (dpyzhov)
tags: added: area-build
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.