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?
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.
#1 Updated by John Freeman about 2 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.