Hi Justin <a href="http://et.al">et.al</a>.:<div><br></div><div>I've just pulled the code anew form <a href="https://github.com/jtriley/StarCluster.git">https://github.com/jtriley/StarCluster.git</a></div><div><br></div>
<div>In this repo, it seems that createimage is broken in the github repo. There are two problems:</div><div><br></div><div><br></div><div>1) There is an inconsistency between the naming of the aws_access_key option. In the EasyAWS.__init__ definition in awsutils.py, you set:</div>
<div><br></div><div> self.aws_access_key = aws_access_key_id</div><div><br></div><div> so that the attribute of the easy_ec2 object is called "aws_access_key" but elswhere, e.g. in the S3ImageCreator object, you request "self.ec2.aws_access_key_id" .... which causes an AttributeError. </div>
<div><br></div><div> The inconsistency is echoed in a few methods of the Easy_AWS object, where sometimes it is named "aws_access_key" where presumably you mean "aws_access_key_id"</div><meta charset="utf-8"><meta charset="utf-8"><div>
<br></div><div> </div><div><br></div><div>2) The main create_image() is commented out in the Easy_AWS.create_s3_image() method e.g.</div><div><br></div><div> #return icreator.create_image()</div><div> return icreator </div>
<div> </div><div> ... so of course, nothing happens. (Same is true for EBS instances). I'm sure you had a reason for doing this ... but </div><div><br></div><div><br></div><div>Things seem to be fine after I put in my own little fixes for both these issues -- but anyway, just thought I'd let you know. </div>
<div><br></div><div>Dan</div>