Skip to content

Instantly share code, notes, and snippets.

@coderforhire
Created September 21, 2012 01:09
Show Gist options
  • Save coderforhire/3759225 to your computer and use it in GitHub Desktop.
Save coderforhire/3759225 to your computer and use it in GitHub Desktop.
@provisioned_server = rackspace.create_server(:name => name, :imageId => '125' , :flavorId => @plan.to_i)
Worker
Desktop:16963 on provision_server at 2 minutes ago
Class
ProvisionServer
Arguments
12
"3"
Exception
CloudServers::Exception::BadRequest
Error
java.lang.String cannot be cast to java.lang.Number
/home/afresta/.rvm/gems/ruby-1.9.3-rc1/gems/cloudservers-0.4.2/lib/cloudservers/exception.rb:78:in `raise_exception'
/home/afresta/.rvm/gems/ruby-1.9.3-rc1/gems/cloudservers-0.4.2/lib/cloudservers/connection.rb:174:in `create_server'
/home/afresta/rails_projects/CLOUD_POKER_DB/app/jobs/provision_server.rb:15:in `perform'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment