<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Chris,<div><br></div><div>I apologize for the delay. You're right that capital letters are an issue. StarCluster attempts to validate the bucket name based on the rules defined here:</div><div><br></div><div><a href="http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?BucketRestrictions.html">http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?BucketRestrictions.html</a></div><div><br></div><div><a href="http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?BucketRestrictions.html"></a>This states that bucket names should consist of only "<span class="Apple-style-span" style="font-family: verdana, sans-serif, arial; font-size: 12px; ">lowercase letters, numbers, periods (.), underscores (_), and dashes (-)". That being said Amazon also recommends for DNS purposes that the name does not contain underscores. However, looking at the code I believe StarCluster will still allow you to create buckets with underscores in the name assuming it's not the first character. Have you tried using the underscores with only lower-case letters?</span></div><div><font class="Apple-style-span" face="verdana, sans-serif, arial"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif, arial">~Justin</font></div><div><font class="Apple-style-span" face="verdana, sans-serif, arial"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif, arial"><br></font><div><div>On Apr 17, 2011, at 7:32 PM, Chris Diehl wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi All,<div><br></div><div>So I discovered the problem. It turns out S3 folder names that have capital letters or underscores will cause this problem. Using a folder name with all lowercase letters and dashes worked just fine. </div>
<div><br></div><div>Chris<br><br><div class="gmail_quote">On Fri, Apr 15, 2011 at 9:13 AM, Chris Diehl <span dir="ltr"><<a href="mailto:diehl@alumni.cmu.edu">diehl@alumni.cmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi All,<div><br></div><div>I've been trying to save a custom AMI this morning with StarCluster and I keep getting the following error.</div><div><br></div><div><div>$ starcluster createimage i-8a84f2e5 custom_starcluster_image AMI_Instances</div>
<div>StarCluster - (<a href="http://web.mit.edu/starcluster" target="_blank">http://web.mit.edu/starcluster</a>)</div><div>Software Tools for Academics and Researchers (STAR)</div><div>Please submit bug reports to <a href="mailto:starcluster@mit.edu" target="_blank">starcluster@mit.edu</a></div>
<div><br></div><div>cli.py:1079 - ERROR - bucket name AMI_Instances is not valid</div></div><div><br></div><div>I created an AMI_Instances bucket on S3 and *thought* I had configured permissions properly. But with everything I've tried, I come up with the same result.</div>
<div><br></div><div>Any thoughts on what I should check would be greatly appreciated!</div><div><br></div><font color="#888888"><div>Chris </div>
</font></blockquote></div><br></div>
_______________________________________________<br>StarCluster mailing list<br><a href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br>http://mailman.mit.edu/mailman/listinfo/starcluster<br></blockquote></div><br></div></body></html>