Bug 1852817 - Error "undefined method `any?' for nil:NilClass" while running foreman-maintain packages update command.
Summary: Error "undefined method `any?' for nil:NilClass" while running foreman-mainta...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.8.0
Assignee: Kavita
QA Contact: Jameer Pathan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-01 11:28 UTC by Jameer Pathan
Modified: 2021-12-01 08:08 UTC (History)
5 users (show)

Fixed In Version: rubygem-foreman_maintain-0.6.8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 12:38:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 30276 0 Normal Closed Error "undefined method `any?' for nil:NilClass" while running foreman-maintain packages update command. 2020-07-20 11:39:28 UTC
Red Hat Product Errata RHBA-2020:4365 0 None None None 2020-10-27 12:38:38 UTC

Description Jameer Pathan 2020-07-01 11:28:17 UTC
Description of problem:
Error "undefined method `any?' for nil:NilClass" while running foreman-maintain packages update command.

Version-Release number of selected component (if applicable):
- Satellite 6.8.0 snap 6
- rubygem-foreman_maintain-0.6.5-1.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Run "foreman-maintain packages update"

Actual results:
# foreman-maintain packages update
undefined method `any?' for nil:NilClass


Expected results:
"foreman-maintain packages update" command should update all packages without any error.

Additional info:

Comment 1 Kavita 2020-07-01 12:09:04 UTC
Created redmine issue https://projects.theforeman.org/issues/30276 from this bug

Comment 2 Jameer Pathan 2020-07-16 14:09:02 UTC
Verified

Verified with:
- rubygem-foreman_maintain-0.6.8-1.el7sat.noarch
- Satellite 6.8.0 snap 9

Test steps:
1. Run "foreman-maintain packages update"

Observaton:
"foreman-maintain packages update" command updated all packages without any error.

Comment 5 errata-xmlrpc 2020-10-27 12:38:24 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 (Satellite 6.8 Satellite Maintenance Release), 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/RHBA-2020:4365


Note You need to log in before you can comment on or make changes to this bug.