Project

General

Custom queries

Profile

Actions

Bug #30225

closed

SSH debug logging doesn't show any useful data

Added by Adam Ruzicka about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1851382

Description of problem:
When ssh debug logging is enabled, it prints only the facility which emitted the message, not the message itself.

Version-Release number of selected component (if applicable):
rubygem-smart_proxy_remote_execution_ssh-0.3.0-3
rubygem-foreman_remote_execution_core-1.3.0-1

How reproducible:
Always

Steps to Reproduce:
1. Set ssh_log_level to debug in /etc/smart_proxy_dynflow_core/settings.d/remote_execution_ssh.yml
2. Restart smart_proxy_dynflow_core
3. Run a REX job
4. Watch /var/log/foreman-proxy/smart_proxy_dynflow_core.log

Actual results:
The log contains logs like
socket[2abe13ae57f8]socket[2abe13ae57f8]net.ssh.connection.session[3fcbf60ee3e8]net.ssh.connection.channel[3fcbf6108dec]socket[2abe13ae57f8]net.ssh.connection.channel[3fcbf6108dec]socket[2abe13ae57f8]socket[2abe13ae57f8

(also hitting BZ1851379)

It does not show what is actually supposed to be logged, only that a session or a channel emitted a log message.

Expected results:
Log messages like
net.ssh.transport.algorithms[2b0600e23494]: negotiating algorithms
net.ssh.transport.algorithms[2b0600e23494]: negotiated:

Additional info:

Actions #1

Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Adam Ruzicka
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/514 added
Actions #2

Updated by The Foreman Bot almost 5 years ago

  • Fixed in Releases foreman_remote_execution 3.3.3 added
Actions #3

Updated by Adam Ruzicka almost 5 years ago

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

Updated by Adam Ruzicka almost 5 years ago

  • Subject changed from SSH debug logging doesn't show any useful data to SSH debug logging doesn't show any useful data
  • Fixed in Releases foreman_remote_execution_core 1.3.1 added
  • Fixed in Releases deleted (foreman_remote_execution 3.3.3)
Actions

Also available in: Atom PDF