[ 
https://issues.apache.org/jira/browse/AURORA-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186033#comment-15186033
 ] 

John Sirois commented on AURORA-1611:
-------------------------------------

Does {{aurora task ssh}} work for your use case [~kunalt]?  It avoids having to 
know about hostnames or ips, you just use the task "path" 
(CLUSTER/ROLE/ENV/NAME/INSTANCE) which is a 1st class entity in the Aurora UI:
{noformat}
$ aurora task ssh -h
usage: aurora task ssh [-h] [--ssh-user ssh_username]
                       [--ssh-options ssh_options] [--executor-sandbox]
                       [--tunnels PORT:NAME] [--command unix_command_line]
                       [--verbose] [--skip-hooks hook,hook,...]
                       task_instance

initiates an SSH session on the machine that a task instance is running on.

positional arguments:
  task_instance         A task instance specifier, in the form
                        CLUSTER/ROLE/ENV/NAME/INSTANCE

optional arguments:
  -h, --help            show this help message and exit
  --ssh-user ssh_username, -l ssh_username
                        ssh as this username instead of the job's role
  --ssh-options ssh_options
                        A string of space separated system ssh options.
  --executor-sandbox    Run the command in the executor sandbox instead of the
                        task sandbox
  --tunnels PORT:NAME, -L PORT:NAME
                        Add tunnel from local port PART to remote named port
                        NAME
  --command unix_command_line, -c unix_command_line
                        Command to execute through the ssh connection.
  --verbose, -v         Show verbose output
  --skip-hooks hook,hook,...
                        A comma-separated list of command hook names that
                        should be skipped. If the hooks cannot be skipped,
                        then the command will be aborted
{noformat}

> Add support for IP addresses instead of just hostnames in Announcer
> -------------------------------------------------------------------
>
>                 Key: AURORA-1611
>                 URL: https://issues.apache.org/jira/browse/AURORA-1611
>             Project: Aurora
>          Issue Type: Story
>            Reporter: Kunal Thakar
>
> The thermos announcer is passing hostnames in the serviceEndpoint object that 
> is sent to ZK. We want the announcer to send IPs instead or in addition to 
> the hostname that is passed along. What is the best way to achieve this? I am 
> thinking of adding a new attribute to the Endpoint struct 
> (https://github.com/apache/aurora/blob/master/commons/src/main/thrift/org/apache/aurora/common/thrift/endpoint.thrift).
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to