Project

General

Profile

Bug #13058

Unsuccessful Errata install marked success

Added by John Mitsch over 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Errata Management
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1296334
Description of problem:

When errata is unsuccessful in installation on a host, it is still marked as success.

"""
Label: Actions::Katello::System::Erratum::Install
Name: Install erratum
Owner: admin
Started at: 2015-11-20 20:35:08 UTC
Ended at: 2015-11-20 21:02:45 UTC
State: stopped
Result: success

Output:

Test Transaction Errors: installing package kernel-2.6.32-504.16.2.el6.x86_64 needs 22MB on the /boot filesystem
installing package kernel-2.6.32-431.20.3.el6.x86_64 needs 50MB on the /boot filesystem
installing package kernel-2.6.32-431.1.2.el6.x86_64 needs 78MB on the /boot filesystem
installing package kernel-2.6.32-504.8.1.el6.x86_64 needs 106MB on the /boot filesystem
installing package kernel-2.6.32-431.11.2.el6.x86_64 needs 134MB on the /boot filesystem
installing package kernel-2.6.32-504.12.2.el6.x86_64 needs 162MB on the /boot filesystem
"""
[reply] [−] Private Comment 6

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Set up a content host
2.Use https://jlsherrill.fedorapeople.org/fake-repos/needed-errata/ as a repo and make available to content host
3.yum install walrus-0.71 on content host
4.remove walrus 5.21 symlink from repo (on Satellite host) from /var/lib/pulp/nodes/published/https/repos/
5. Install errata on content host.

Actual results:

Errata install task is marked as success.

Expected results:

Errata install task fails or shows a warning to the user.

Additional info:

This is from https://bugzilla.redhat.com/show_bug.cgi?id=1215838 as that bug addressed both package install warnings and errata install warnings.

Associated revisions

Revision 1fda4ecd (diff)
Added by John Mitsch over 4 years ago

Fixes #13058 - Unsuccessful Errata install marked success

Revision 9b212da1
Added by John Mitsch over 4 years ago

Merge pull request #5898 from johnpmitsch/errata_install_13058

Fixes #13058 - Unsuccessful Errata install marked success

History

#1 Updated by Eric Helms over 4 years ago

  • Legacy Backlogs Release (now unused) set to 114

#2 Updated by Bryan Kearney over 4 years ago

  • Category changed from Web UI to Errata Management

#3 Updated by John Mitsch over 4 years ago

  • Legacy Backlogs Release (now unused) changed from 114 to 86

#4 Updated by John Mitsch over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF