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 almost 3 years ago. Updated almost 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 #1

Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Jonathon Turel
  • Pull request https://github.com/Katello/katello/pull/9440 added
Actions #2

Updated by Jonathon Turel almost 3 years ago

  • Target version set to Katello 4.1.1
Actions #3

Updated by Jonathon Turel almost 3 years ago

  • Bugzilla link set to 1978457
Actions #4

Updated by The Foreman Bot almost 3 years ago

  • Fixed in Releases Katello 4.2.0 added
Actions #5

Updated by Jonathon Turel almost 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Samir Jha almost 3 years ago

  • Triaged changed from No to Yes
Actions #7

Updated by James Jeffers almost 3 years ago

  • Has duplicate Bug #32929: Unable to restart or reboot service/system after update in content hosts / traces added
Actions

Also available in: Atom PDF