Bug 1037823

Summary: node-install: should ERROR, not WARN when unable to resolve dependencies
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: InstallerAssignee: Ivan Necas <inecas>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: cwelton, dcleal, gkhachik, mmccune, skottler
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-04 17:33:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Corey Welton 2013-12-03 21:09:09 UTC
Description of problem:
In certain (perhaps esoteric) circumstances, node-install will be unable to resolve dependencies for package installs.  In these cases, it is throwing WARN rather than ERROR

Version-Release number of selected component (if applicable):
Satellite-6.0.2-RHEL-6-20131202.0


How reproducible:


Steps to Reproduce:
1.  Assure system has repo pointing to an incorrect RHEL version (or perhaps no RHEL repo at all)  For example, you might have a newly-updated RHEL 6.5 system that is still pointing to a RHEL 6.4 repo.
2.  Attempt to run node install.
3.  View results

Actual results:
buried in the kafo log:

[ WARN 2013-12-03 15:34:48 puppet]  /File[/etc/qpidd.conf]: Dependency Package[policycoreutils-python] has failures: true
[ WARN 2013-12-03 15:34:48 puppet]  /File[/etc/qpidd.conf]: Skipping because of failed dependencies
[ WARN 2013-12-03 15:34:48 puppet]  /Stage[main]/Qpid::Service/Service[qpidd]: Dependency Package[policycoreutils-python] has failures: true
[ WARN 2013-12-03 15:34:48 puppet]  /Stage[main]/Qpid::Service/Service[qpidd]: Skipping because of failed dependencies
[ WARN 2013-12-03 15:34:48 puppet]  /Stage[main]/Pulp::Install/Package[pulp-rpm-plugins]: Dependency Package[policycoreutils-python] has failures: true
[ WARN 2013-12-03 15:34:48 puppet]  /Stage[main]/Pulp::Install/Package[pulp-rpm-plugins]: Skipping because of failed dependencies
[ WARN 2013-12-03 15:34:48 puppet]  /Stage[main]/Pulp::Install/Package[pulp-server]: Dependency Package[policycoreutils-python] has failures: true
[ WARN 2013-12-03 15:34:48 puppet]  /Stage[main]/Pulp::Install/Package[pulp-server]: Skipping because of failed dependencies
[ WARN 2013-12-03 15:34:48 puppet]  /Stage[main]/Pulp::Install/Package[pulp-selinux]: Dependency Package[policycoreutils-python] has failures: true
[ WARN 2013-12-03 15:34:48 puppet]  /Stage[main]/Pulp::Install/Package[pulp-selinux]: Skipping because of failed dependencies


Expected results:
Throw an ERROR, not a WARN.

Additional info:

Comment 2 Dominic Cleal 2013-12-04 08:46:46 UTC
Can you attach the complete log file?