Bug 2073535
Summary: | satellite-maintain packages check-update fails when there are no packages to be updated. | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Rafael Cavalcanti <rcavalca> | |
Component: | Satellite Maintain | Assignee: | Sayan Das <saydas> | |
Status: | CLOSED ERRATA | QA Contact: | Matyas Strelec <mstrelec> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.10.4 | CC: | ahumbe, ajambhul, apatel, aupadhye, ehelms, gsulliva, jpathan, kgaikwad, mkalyat, pcreech, saydas | |
Target Milestone: | 6.14.0 | Keywords: | Triaged, UserExperience | |
Target Release: | Unused | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | foreman-maintain-1.3.2 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2218656 (view as bug list) | Environment: | ||
Last Closed: | 2023-11-08 14:17:47 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: | ||
Embargoed: |
Description
Rafael Cavalcanti
2022-04-08 18:09:35 UTC
Created and Attaching: Bug #36369: Consider both 0 and 100 as valid exit codes for check-update yum action - Foreman Maintain - Foreman https://projects.theforeman.org/issues/36369 Fixes #36369 - Exit code 0 is a valid exit status by sayan3296 · Pull Request #729 · theforeman/foreman_maintain https://github.com/theforeman/foreman_maintain/pull/729 Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36369 has been resolved. need this fix released in an upstream version of foreman_maintain Verified that it works correctly on Satellite 6.14.0 snap 7.0. Running `satellite-maintain packages check-update` after updating all the rpms the task finishes successfully with OK status. # satellite-maintain packages check-update Running Check for available package updates ================================================================================ Check for available package updates: Updating Subscription Management repositories. Satellite 6.14 RHEL8 329 kB/s | 3.0 kB 00:00 Satellite Maintenance 6.14 RHEL8 437 kB/s | 2.6 kB 00:00 Security: kernel-core-4.18.0-477.15.1.el8_8.x86_64 is an installed security update Security: kernel-core-4.18.0-477.13.1.el8_8.x86_64 is the currently running version [OK] -------------------------------------------------------------------------------- Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.14 security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:6818 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |