Typica 1.7 Changes in rev 312 broke the image launch, "LaunchSpecification." is prepended to UserData and SecurityGroup parameters when it shouldn't.
Related to Issue #90, may be the same cause
The exception I'm getting is
com.xerox.amazonws.ec2.EC2Exception: Client error : The parameter LaunchSpecification is not recognized at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:2289) at com.xerox.amazonws.ec2.Jec2.runInstances(Jec2.java:648)
Comment #1
Posted on Jun 4, 2010 by Massive KangarooI'll do some testing, but look at page 172 of the ec2 API reference. It describes it as I have it coded. Now, sometimes the docs are wrong.
Comment #2
Posted on Jun 4, 2010 by Massive KangarooI'll do some testing, but look at page 172 of the ec2 API reference. It describes it as I have it coded. Now, sometimes the docs are wrong.
Comment #3
Posted on Jun 4, 2010 by Massive KangarooOn those two params, I hadn't removed the "LaunchConfiguration." string in favor of a passed in prefix on the method that setup query params for spot and regular instance requests. Fixed in SVN
Comment #4
Posted on Jun 4, 2010 by Massive CamelDavid Thx for the quick response. I have confirmed this is working.
Comment #5
Posted on Jun 15, 2010 by Happy OxAny sense of when a new release will be cut with this fix? It is a fairly major problem to not be able to run instances with security groups. I'm using trunk for now, but wondering how soon you think you'll cut another release (maybe a 1.7.1 release?). Thanks.
Status: Fixed