StarCluster - Mailing List Archive

bug report sshnode

From: Steve Jaffe <no email>
Date: Mon, 10 Dec 2012 10:56:24 -0600

Version 0.93.3.

"help" message for "sshnode" states that 0, 1, 2 can be used as 'shorthand' for master, node001, node002, etc.

This doesn't work.

Please see commandline output below.

(Also, why does sshnode produce carriage-return at end of line even on a linux system - this would generally be used on a windows system where end-of-line is \n\r.)

Thanks,
Steven Jaffe
sjaffe_at_riskspan.com

$ starcluster sshnode --help
StarCluster - (http://web.mit.edu/starcluster) (v. 0.93.3)
Software Tools for Academics and Researchers (STAR)
Please submit bug reports to starcluster_at_mit.edu

Usage: sshnode <cluster> <node> [<remote-command>]

    SSH to a cluster node

    Examples:

        $ starcluster sshnode mycluster master
        $ starcluster sshnode mycluster node001
        ...

    or same thing in shorthand:

        $ starcluster sshnode mycluster 0
        $ starcluster sshnode mycluster 1
        ...

    You can also execute commands without directly logging in:

        $ starcluster sshnode mycluster node001 'cat /etc/hosts'

Options:
  -h, --help show this help message and exit
  -u USER, --user=USER login as USER (defaults to root)
  -X, --forward-x11 enable X11 forwarding

## BUT '0' in place of 'master' does not work
$ starcluster sshnode sctest 0
StarCluster - (http://web.mit.edu/starcluster) (v. 0.93.3)
Software Tools for Academics and Researchers (STAR)
Please submit bug reports to starcluster_at_mit.edu

!!! ERROR - node '0' does not exist

## 'master' does work
$ starcluster sshnode sctest master
StarCluster - (http://web.mit.edu/starcluster) (v. 0.93.3)
Software Tools for Academics and Researchers (STAR)
Please submit bug reports to starcluster_at_mit.edu

          _ _ _
__/\_____| |_ __ _ _ __ ___| |_ _ ___| |_ ___ _ __
\ / __| __/ _` | '__/ __| | | | / __| __/ _ \ '__|
/_ _\__ \ || (_| | | | (__| | |_| \__ \ || __/ |
  \/ |___/\__\__,_|_| \___|_|\__,_|___/\__\___|_|

StarCluster Ubuntu 11.10 AMI
Software Tools for Academics and Researchers (STAR)
Homepage: http://web.mit.edu/starcluster
Documentation: http://web.mit.edu/starcluster/docs/latest
Code: https://github.com/jtriley/StarCluster
Mailing list: starcluster_at_mit.edu

This AMI Contains:
etc...
Received on Mon Dec 10 2012 - 11:56:07 EST
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject