Project

General

Profile

Support #25272

Can daqinterface log the ssh commands it does in such a way that one could possible try to replay (or retry) them in an isolated environment?

Added by Ron Rechenmacher 4 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
artdaq-daqinterface
Target version:
-
Start date:
12/02/2020
Due date:
% Done:

100%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

At icarus, we have had a couple of startup issues in which there have been ssh timeouts.
Pat R. asks "Is there a way I can run [the ssh commands] myself with extra debugging to look at their runtime env?"

It would be nice is daqinterface could log the ssh commands (perhaps with extended/verbose logging enabled) in such
a way that (assuming a proper environment), one could cut/paste the ssh command from the log and be able to do what
Pat is asking.

Associated revisions

Revision be48e74e (diff)
Added by John Freeman 4 months ago

JCF: Issue #25272: if debug level is set to 6 or higher in the boot file, print out all ssh calls in the DAQInterface class (this excludes utilities.py)

History

#1 Updated by John Freeman 4 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

On the feature/25272_print_all_ssh_calls branch, if you set the "debug level" in the boot file to 6 (or higher), all ssh commands called by DAQInterface member functions get printed. This excludes ssh calls in utilities.py since these are outside of DAQInterface and thus don't have a concept of "debug level"; however, if $ARTDAQ_DAQINTERFACE_DIR/rc/control/utilities.py is edited so that right after line 97 and right after line 667 "print cmd" is called, those ssh's will be printed as well.

Also available in: Atom PDF