Bug 2218656

Summary: satellite-maintain packages check-update fails when there are no packages to be updated.
Product: Red Hat Satellite Reporter: Odilon Sousa <osousa>
Component: Satellite MaintainAssignee: Sayan Das <saydas>
Status: CLOSED ERRATA QA Contact: Griffin Sullivan <gsulliva>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 6.10.4CC: ahumbe, ajambhul, apatel, aupadhye, ehelms, gsulliva, jpathan, kgaikwad, mkalyat, pcreech, saydas
Target Milestone: 6.13.3Keywords: Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-foreman-maintain-1.2.11 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2073535 Environment:
Last Closed: 2023-08-03 13:30:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 Griffin Sullivan 2023-07-24 20:02:03 UTC
FailedQA on 6.13.3 snap 1

The change didn't make it into the snap because it seems this was marked for the wrong package. It should be foreman_maintain not foreman_ansible.

Comment 3 Griffin Sullivan 2023-07-27 15:36:18 UTC
Verified on 6.13.3 snap 2

Packages check-update works when there are no packages to update.

Steps to reproduce:

1) # satellite-maintain packages check-update

2) Ensure there is a list of packages to update

3) # satellite-maintain packages update

4) # reboot

5) # satellite-maintain packages check-update


Results:

Step 5 runs successfully with [OK] status.

Comment 12 errata-xmlrpc 2023-08-03 13:30:19 UTC
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.13.3 Async Security 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:4466