Project

General

Profile

Bug #32936

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

Added by Jeremy Lenz over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

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

Associated revisions

Revision a186876a (diff)
Added by Jonathon Turel over 1 year ago

Fixes #32936 - use bulk_host_ids parameter for traces

History

#1 Updated by The Foreman Bot over 1 year ago

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

#2 Updated by Jonathon Turel over 1 year ago

  • Target version set to Katello 4.1.1

#3 Updated by Jonathon Turel over 1 year ago

  • Bugzilla link set to 1978457

#4 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.2.0 added

#5 Updated by Jonathon Turel over 1 year ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Samir Jha over 1 year ago

  • Triaged changed from No to Yes

#7 Updated by James Jeffers over 1 year ago

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

Also available in: Atom PDF