[StarCluster] bug report sshnode

Steve Jaffe sjaffe at riskspan.com
Mon Dec 10 11:56:24 EST 2012


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...


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20121210/8ef4128a/attachment-0001.htm


More information about the StarCluster mailing list