[StarCluster] createvolume errors

Justin Riley jtriley at MIT.EDU
Thu Mar 10 14:39:47 EST 2011


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

Hi Dustin,

My apologies for the delay...

> I looked at the comparison (list in string):
>
> itype_platform = static.INSTANCE_TYPES.get(itype) = ['i386']
> img_platform = img.architecture = 'i386'
>
> I added a quick fix:
>
> 163         if isinstance(itype_platform, list):
> 164             itype_platform = itype_platform[0]

Thanks for reporting, this was indeed a bug that occurred when I added
multiple architectures in the static.INSTANCE_TYPES mapping to
accommodate micro instances being either x86 or x86_64. I believe I've
fixed this in the github code. Would you mind pulling the latest version
and testing it out?

> IndexError: list index out of range
>
> The second time I ran it, it successfully launched the volume.  But then,
>
> $ starcluster terminate volumecreator
> StarCluster - (http://web.mit.edu/starcluster) (v. 0.9999)
> Software Tools for Academics and Researchers (STAR)
> Please submit bug reports to starcluster at mit.edu
>
> cli.py:156 - ERROR - failed to load cluster receipt: Incorrect padding
>
> Any idea what is going on?
>

This should be fixed as well in the github code. Would you mind pulling
and testing this as well?

> In any case,  I'm working on a mongodb plugin for starcluster.  I will
> send it with a pull request when I debug it.  Thanks for the software!
>

Awesome that would be great to have. Would you mind forking the
StarClusterPlugins project on github.com, adding your code, and sending
a pull request? We're trying to create a repository of plugins there
that users can contribute to separately from the core code base. You can
find the StarClusterPlugins project here:

https://github.com/jtriley/StarClusterPlugins

Thanks!

~Justin

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

iEYEARECAAYFAk15KQMACgkQ4llAkMfDcrlCoQCcD+KjBIuIgjGe1r2CDdnRy/Y9
V4MAn2HU6R+qLTxkjAU7REHKk0Kk/x9b
=WGMS
-----END PGP SIGNATURE-----



More information about the StarCluster mailing list