Bug 1978457

Summary: Error when trying to restart Traces: TypeError in Katello::RemoteExecutionController#create no implicit conversion of nil into String
Product: Red Hat Satellite Reporter: Jonathon Turel <jturel>
Component: Hosts - ContentAssignee: Jonathon Turel <jturel>
Status: CLOSED ERRATA QA Contact: Stephen Wadeley <swadeley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: pcreech
Target Milestone: 6.10.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-4.1.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:12:20 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:

Description Jonathon Turel 2021-07-01 20:59:25 UTC
Host details page > Traces tab:
When I select a Trace and click Restart Selected, I get that rails error.

Stack trace (no pun intended):

20:12:56 rails.1   |  b5e92d58 | TypeError (no implicit conversion of nil into String):
20:12:56 rails.1   |  b5e92d58 |  
20:12:56 rails.1   |  b5e92d58 | /home/vagrant/katello/app/controllers/katello/remote_execution_controller.rb:34:in `hosts'
20:12:56 rails.1   |  b5e92d58 | /home/vagrant/katello/app/controllers/katello/remote_execution_controller.rb:30:in `prepare_composer'
20:12:56 rails.1   |  b5e92d58 | /home/vagrant/katello/app/controllers/katello/remote_execution_controller.rb:12:in `create'
20:12:56 rails.1   |  b5e92d58 | app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
20:12:56 rails.1   |  b5e92d58 | app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
20:12:56 rails.1   |  b5e92d58 | app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
20:12:56 rails.1   |  b5e92d58 | /home/vagrant/katello/lib/katello/middleware/organization_created_enforcer.rb:18:in `call'
20:12:56 rails.1   |  b5e92d58 | /home/vagrant/katello/lib/katello/middleware/event_daemon.rb:10:in `call'
20:12:56 rails.1   |  b5e92d58 | lib/foreman/middleware/telemetry.rb:10:in `call'
20:12:56 rails.1   |  b5e92d58 | lib/foreman/middleware/catch_json_parse_errors.rb:9:in `call'
20:12:56 rails.1   |  b5e92d58 | lib/foreman/middleware/logging_context_session.rb:22:in `call'
20:12:56 rails.1   |  b5e92d58 | lib/foreman/middleware/logging_context_request.rb:11:in `call'
20:12:56 rails.1   |  b5e92d58 | /home/vagrant/katello/lib/katello/prevent_json_parsing.rb:12:in `call'
20:12:56 rails.1   | 2021-07-01T20:12:56 [I|app|ce974c34] Started GET "/sockjs-node/info?t=1625170376548" for 192.168.122.1 at 2021-07-01 20:12:56 +0000
20:12:56 rails.1   | 2021-07-01T20:12:56 [F|app|ce974c34]

Comment 1 Jonathon Turel 2021-07-01 20:59:28 UTC
Created from redmine issue https://projects.theforeman.org/issues/32936

Comment 2 Jonathon Turel 2021-07-01 20:59:29 UTC
Upstream bug assigned to jturel

Comment 3 Bryan Kearney 2021-07-07 16:03:58 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32936 has been resolved.

Comment 10 errata-xmlrpc 2021-11-16 14:12:20 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.10 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:4702