Bug 1929660

Summary: 'undefined method `length' for nil:NilClass' error for Red Hat Insights page.
Product: Red Hat Satellite Reporter: Jameer Pathan <jpathan>
Component: RH Cloud - InsightsAssignee: Shimon Shtein <sshtein>
Status: CLOSED ERRATA QA Contact: Jameer Pathan <jpathan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: aruzicka, lhellebr, tpapaioa, zhunting
Target Milestone: 6.9.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.0.17 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 13:11:14 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 Jameer Pathan 2021-02-17 11:45:29 UTC
Description of problem:
'undefined method `length' for nil:NilClass' error for Red Hat Insights page.

Version-Release number of selected component (if applicable):
- Satellite 6.9.0 snap 13
- tfm-rubygem-foreman_rh_cloud-3.0.16-1.el7sat.noarch

How reproducible:
- Always

Steps to Reproduce:
1. Install satellite 6.9.0 snap 13
2. Go to Configure > Insights page

Actual results:
The server returned the following error: Request failed with status code 500

Expected results:
- The page should show instructions for configuring insights.

Additional info:

Comment 2 Lukáš Hellebrandt 2021-02-17 13:42:51 UTC
I've just hit exactly this today, also with Sat 6.9 snap 13. This also happens when manifest is imported and Cloud Connector is installed.

Comment 5 Tasos Papaioannou 2021-03-03 16:45:33 UTC
Verified on 6.9.0 snap 15.0.

Comment 8 errata-xmlrpc 2021-04-21 13:11:14 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 (Moderate: Satellite 6.9 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/RHSA-2021:1313