[Starcluster] A small starcluster patch

Justin Riley jtriley at MIT.EDU
Mon Mar 29 14:22:40 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Joonas,

I've fixed this issue in the github code. Thanks for reporting it and
providing a patch!

BTW, Have you joined the StarCluster mailing list? I'd like to invite
you to join. It's a good place to keep up with things and submit issues
such as these:

http://mailman.mit.edu/mailman/listinfo/starcluster

Thanks again!

~Justin

On 03/29/2010 02:01 PM, Joonas Paalasmaa wrote:
> Hello,
> 
> The patch below fixes a problem that causes the formatting of the
> exception message to fail.
> 
> - Joonas
> 
> 
> 
> diff --git a/starcluster/cluster.py b/starcluster/cluster.py
> index f6bc5ad..d473707 100644
> --- a/starcluster/cluster.py
> +++ b/starcluster/cluster.py
> @@ -716,8 +716,8 @@ $ ssh -i %(key)s %(user)s@%(master)s
>              keypair = conn.get_keypair(KEYNAME)
>          except boto.exception.EC2ResponseError,e:
>              raise exception.ClusterValidationError(
> -                'Account does not contain a key with KEYNAME = %s. ' + \
> -                'Please check your settings' % KEYNAME)
> +                ('Account does not contain a key with KEYNAME = %s. ' +
> +                 'Please check your settings') % KEYNAME)
>          return True
> 
>  if __name__ == "__main__":

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuw7/AACgkQ4llAkMfDcrmqJACffP00YYhuX7OppW+I49IEm8ce
n+8AmgNGgLJSFOpyezVggC2RIOrJ6qov
=Bjdr
-----END PGP SIGNATURE-----



More information about the StarCluster mailing list