fog/fog — Issue #591: bootstrap() for ec2 spot instances is broken
Author: rb2k
Created: 2011-11-07 12:38:55+00:00
State: open

Creating spot instances doesn't seem to work:

MissingParameter => The request must contain the parameter resourceIdSet
/vol/ebs1/jenkins/jobs/commons-stage-setup/workspace/instance_setup/vendor/bundle/ruby/1.8/gems/excon-0.7.6/lib/excon/connection.rb:194:in `request'
/vol/ebs1/jenkins/jobs/commons-stage-setup/workspace/instance_setup/vendor/bundle/ruby/1.8/bundler/gems/fog-e3dfde84c7c5/lib/fog/core/connection.rb:20:in `request'
/vol/ebs1/jenkins/jobs/commons-stage-setup/workspace/instance_setup/vendor/bundle/ruby/1.8/bundler/gems/fog-e3dfde84c7c5/lib/fog/aws/compute.rb:316:in `request'
/vol/ebs1/jenkins/jobs/commons-stage-setup/workspace/instance_setup/vendor/bundle/ruby/1.8/bundler/gems/fog-e3dfde84c7c5/lib/fog/aws/requests/compute/create_tags.rb:35:in `create_tags'
/vol/ebs1/jenkins/jobs/commons-stage-setup/workspace/instance_setup/vendor/bundle/ruby/1.8/bundler/gems/fog-e3dfde84c7c5/lib/fog/aws/models/compute/tag.rb:27:in `save'
/vol/ebs1/jenkins/jobs/commons-stage-setup/workspace/instance_setup/vendor/bundle/ruby/1.8/bundler/gems/fog-e3dfde84c7c5/lib/fog/core/collection.rb:50:in `create'
/vol/ebs1/jenkins/jobs/commons-stage-setup/workspace/instance_setup/vendor/bundle/ruby/1.8/bundler/gems/fog-e3dfde84c7c5/lib/fog/aws/models/compute/spot_requests.rb:69:in `bootstrap'
/vol/ebs1/jenkins/jobs/commons-stage-setup/workspace/instance_setup/vendor/bundle/ruby/1.8/bundler/gems/fog-e3dfde84c7c5/lib/fog/aws/models/compute/spot_requests.rb:68:in `each'
/vol/ebs1/jenkins/jobs/commons-stage-setup/workspace/instance_setup/vendor/bundle/ruby/1.8/bundler/gems/fog-e3dfde84c7c5/lib/fog/aws/models/compute/spot_requests.rb:68:in `bootstrap'

Those are the parameters I passed in:

{
:tags=>{:type=>"commons_qa_server", :company_dns=>"some.url.com", :creation_time=>"Thu Nov 03 15:05:43 +0000 2011", :build_tag=>"jenkins-commons-stage-setup-148"},
:private_key_path=>"./keys/commons_qa_id_rsa",
:flavor_id=>"m1.small",
:public_key_path=>"./keys/commons_qa_id_rsa.pub",
:image_id=>"ami-91579af8",
:groups=>["our_dev_group"],
:price=>"1"
}