Skip to content
Snippets Groups Projects
Commit a48f7fcd authored by Chris Hines's avatar Chris Hines
Browse files

more logz

parent 74c9e297
No related branches found
No related tags found
3 merge requests!77Revert "disable agressive kill and restart",!45Test,!44Dev
Pipeline #11905 passed
......@@ -111,6 +111,15 @@ class Ssh:
mode = os.stat(ctrlsocket).st_mode
except FileNotFoundError:
mode = None
logger.error('attempting to access control master socket raised exception')
logger.error(e)
import traceback
logger.error(traceback.format_exc())
except Exception as e:
logger.error('attempting to access control master socket raised exception')
logger.error(e)
import traceback
logger.error(traceback.format_exc())
if mode is None:
# I an existing control process is recoreded, but we are starting a new one, try to delete the old one
......@@ -419,6 +428,7 @@ class Ssh:
format(port=port, localport=localport),
'-p', sshport, '-l', user, batchhost])
logger.debug('starting tunnel with {}'.format(" ".join(sshcmd)))
tunnel_p = subprocess.Popen(sshcmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env)
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment