Bug 2235603

Summary: "undefined method `[]' for nil:NilClass (NoMethodError)" in production.log when running "configure cloud connector" job.
Product: Red Hat Satellite Reporter: Jameer Pathan <jpathan>
Component: RH Cloud - Cloud ConnectorAssignee: satellite6-bugs <satellite6-bugs>
Status: NEW --- QA Contact: Jameer Pathan <jpathan>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.14.0CC: ahumbe, aruzicka, ehelms, rlavi, sshtein
Target Milestone: UnspecifiedKeywords: EasyFix, Triaged
Target Release: UnusedFlags: rlavi: needinfo? (jpathan)
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 2023-08-29 08:47:11 UTC
Description of problem:
"undefined method `[]' for nil:NilClass (NoMethodError)" in production.log when running "Configure cloud connector" job.

Version-Release number of selected component (if applicable):
- rubygem-foreman_rh_cloud-8.0.48-1.el8sat.noarch
- Satellite 6.14.0 snap 13

How reproducible:
- always

Steps to Reproduce:
1. Create Org
2. Import manifest 
3. Go to Configure > Inventory upload and click on "Configure cloud connector" button.
4. Check /var/log/foreman/production.log

Actual results:
- "undefined method `[]' for nil:NilClass (NoMethodError)" traceback in production.log 

Expected results:
- No traceback

Additional info:
- The error doesn't seem to affect any of the rh_cloud plugin functionalities.