aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Khutornenko" <>
Subject Review Request 38326: Adding ssh options into "aurora task" commands.
Date Fri, 11 Sep 2015 23:31:28 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for Aurora, Bill Farner and Zameer Manji.

Bugs: AURORA-1491

Repository: aurora


Adding ssh options into "aurora task" commands.


  src/main/python/apache/aurora/client/api/ c7238e274e53138187c2fe6fe5f14b7ae5f43ba2

  src/main/python/apache/aurora/client/cli/ 41b13d6f0e1ed355ea8b958b875c20f065349465

  src/main/python/apache/aurora/client/cli/ d1f2568ac0afdd95c65523fde41f0dd16670a7a8

  src/test/python/apache/aurora/client/cli/ 3ad0b70a7d918055ffee34f593d108a28de6e9f9



In vagrant:
vagrant@aurora:~$ aurora task run -v --ssh-user=vagrant --ssh-options='-v -k' --executor-sandbox
devcluster/www-data/prod/hello 'ls'
DEBUG] Command=(['task', 'run', '-v', '--ssh-user=vagrant', '--ssh-options=-v -k', '--executor-sandbox',
'devcluster/www-data/prod/hello', 'ls'])
DEBUG] Using auth module: <apache.aurora.common.auth.auth_module.InsecureAuthModule object
at 0x7f05d2b88250>
DEBUG] Running command: ['ssh', '-n', '-q', '-v', '-k', 'vagrant@', u'cd /var/lib/mesos/slaves/*/frameworks/*/executors/thermos-1442013544190-www-data-prod-hello-0-fe7fa2f1-e21b-4cc3-9107-0777da35537e/runs/latest;ls']  OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014  debug1: Reading configuration data /etc/ssh/ssh_config  debug1: /etc/ssh/ssh_config line 19: Applying options for *  debug1: /etc/ssh/ssh_config line 57: Applying options for *  debug1: Connecting to [] port 22.  debug1: Connection established.  debug1: identity file /home/vagrant/.ssh/id_rsa type 1  debug1: identity file /home/vagrant/.ssh/id_rsa-cert type -1  debug1: identity file /home/vagrant/.ssh/id_dsa type -1  debug1: identity file /home/vagrant/.ssh/id_dsa-cert type -1  debug1: identity file /home/vagrant/.ssh/id_ecdsa type -1  debug1: identity file /home/vagrant/.ssh/id_ecdsa-cert type -1  debug1: identity file /home/vagrant/.ssh/id_ed25519 type -1  debug1: identity file /home/vagrant/.ssh/id_ed25519-cert type -1  debug1: Enabling compatibility mode for protocol 2.0  debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2  debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1
Ubuntu-2ubuntu2  debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 pat OpenSSH_6.6.1* compat 0x04000000  debug1: SSH2_MSG_KEXINIT sent  debug1: SSH2_MSG_KEXINIT received  debug1: kex: server->client aes128-ctr none  debug1: kex: client->server aes128-ctr none  debug1: sending SSH2_MSG_KEX_ECDH_INIT  debug1: expecting SSH2_MSG_KEX_ECDH_REPLY  debug1: Server host key: ECDSA 46:15:09:58:38:39:76:02:68:e1:c2:43:1f:70:bf:6e  Warning: Permanently added '' (ECDSA) to the list of known hosts.  debug1: ssh_ecdsa_verify: signature correct  debug1: SSH2_MSG_NEWKEYS sent  debug1: expecting SSH2_MSG_NEWKEYS  debug1: SSH2_MSG_NEWKEYS received  debug1: Roaming not allowed by server  debug1: SSH2_MSG_SERVICE_REQUEST sent  debug1: SSH2_MSG_SERVICE_ACCEPT received  debug1: Authentications that can continue: publickey,password  debug1: Next authentication method: publickey  debug1: Offering RSA public key: /home/vagrant/.ssh/id_rsa  debug1: Server accepts key: pkalg ssh-rsa blen 279  debug1: key_parse_private2: missing begin marker  debug1: read PEM private key done: type RSA  debug1: Authentication succeeded (publickey).  Authenticated to ([]:22).  debug1: channel 0: new [client-session]  debug1: Requesting  debug1: Entering interactive session.  debug1: Sending environment.  debug1: Sending env LANG = en_US.UTF-8  debug1: Sending env LC_CTYPE = en_US.UTF-8  debug1: Sending command: cd /var/lib/mesos/slaves/*/frameworks/*/executors/thermos-1442013544190-www-data-prod-hello-0-fe7fa2f1-e21b-4cc3-9107-0777da35537e/runs/latest;ls  debug1: client_input_channel_req: channel 0 rtype exit-status reply 0  checkpoints  __main__.log  sandbox  stderr  stdout  task.json  thermos_executor.pex  thermos_runner.aurora.root.log.DEBUG.20150911-231905.16314  thermos_runner.aurora.root.log.ERROR.20150911-231905.16314  thermos_runner.aurora.root.log.FATAL.20150911-231905.16314  thermos_runner.aurora.root.log.INFO.20150911-231905.16314  thermos_runner.aurora.root.log.WARNING.20150911-231905.16314  thermos_runner.DEBUG  thermos_runner.ERROR  thermos_runner.FATAL  thermos_runner.INFO  thermos_runner.pex  thermos_runner.WARNING  debug1: channel 0: free: client-session, nchannels 1  debug1: fd 1 clearing O_NONBLOCK  Transferred: sent 3568, received 2996 bytes, in 0.2 seconds  Bytes per second: sent 22735.7, received 19090.8  debug1: Exit status 0
DEBUG] Command terminated successfully



Maxim Khutornenko

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message