Project

General

Profile

Actions

Bug #32936

closed

Error when trying to restart Traces: TypeError in Katello::RemoteExecutionController#create no implicit conversion of nil into String

Added by Jeremy Lenz over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

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]


Related issues 1 (0 open1 closed)

Has duplicate Katello - Bug #32929: Unable to restart or reboot service/system after update in content hosts / tracesDuplicateActions
Actions

Also available in: Atom PDF