[ https://issues.apache.org/jira/browse/DTACLOUD-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13582196#comment-13582196 ]
Ronelle Landy commented on DTACLOUD-473: ---------------------------------------- Agreed - my mistake ... works fine if you use the right template ID: [root@10-16-120-169 ~]# /sbin/modprobe floppy; lsmod | grep floppy floppy 61447 1 [root@10-16-120-169 ~]# /bin/mount /dev/fd0 /media; cat /media/deltacloud-user-data.txt mount: /dev/fd0 already mounted or /media busy mount: according to mtab, /dev/fd0 is already mounted on /media <Base64-encoded data>w[root@10-16-120-169 ~]# > Creating an instance in RHEVM 3.0 using Deltacloud ruby client errors out > ------------------------------------------------------------------------- > > Key: DTACLOUD-473 > URL: https://issues.apache.org/jira/browse/DTACLOUD-473 > Project: DeltaCloud > Issue Type: Bug > Components: Client (Ruby) > Environment: RHEVM 3.1 > Ruby 1.9.3 > Deltacloud gem under test 1.1.1 rc2 > rbovirt-0.0.17 > Reporter: Ronelle Landy > Assignee: Joseph J. VLcek > > Creating an instance using: > Deltacloud server + rhvem 3.1 -> works > Deltacloud server + rhvem 3.0 -> works > Deltacloud server + Ruby client + rhvem 3.1 -> works > Deltacloud server + Ruby client + rhvem 3.0 -> error > see below .... > irb(main):034:0> client = DeltaCloud.new("username", "password" , > "http://localhost:3001/api") > => #<DeltaCloud::API:0x000000028e3850 @api_provider=nil, @api_driver=nil, > @password="password", @username="username", > @api_uri=#<URI::HTTP:0x000000028e3558 URL:http://localhost:3001/api>, > @entry_points={:storage_volumes=>"http://localhost:3001/api/storage_volumes", > :images=>"http://localhost:3001/api/images", > :hardware_profiles=>"http://localhost:3001/api/hardware_profiles", > :instances=>"http://localhost:3001/api/instances", > :drivers=>"http://localhost:3001/api/drivers", > :realms=>"http://localhost:3001/api/realms", > :instance_states=>"http://localhost:3001/api/instance_states"}, > @features={:instances=>[:user_name, :user_data]}, @verbose=false, > @driver_name="rhevm", @api_version="1.1.1"> > irb(main):035:0> instance = client.create_instance( > "dd01aa3a-36d6-42cc-972a-a29cd2c6b21", :hardware_profile=>'SERVER', > :name=>"rlandyUserData2", :user_data=>'<data>') > DeltaCloud::HTTPError::DeltacloudError: 500 > DeltaCloud::HTTPError::ServerError: Entity not found: GetVmTemplate > Parameters: {:hardware_profile=>"SERVER", :name=>"rlandyUserData2", > :user_data=>"\n > TVh4b2RIUndjem92TDJSbFlXUmtiMjVyWlhrdWRYTmxjbk41Y3k1eVpXUm9Z\n > WFF1WTI5dGZHTnZibVIxWTNSdmNsOXJaWGw4T1RVek9Ea3dOVGd5TURZNU5U\n > RTNNRGswTkRReE56Z3hOelkzTVRreE56QTVORGc0TXpVNU5UUTVORGc0TVRn\n dw==\n > ", :hwp_id=>"SERVER", :image_id=>"dd01aa3a-36d6-42cc-972a-a29cd2c6b21", > :splat=>"[]", :captures=>"[#]\n "} > Driver: rhevm@https:<driver> > from /usr/local/share/gems/gems/rbovirt-0.0.17/lib/rbovirt.rb:89:in > `rescue in http_post' > from /usr/local/share/gems/gems/rbovirt-0.0.17/lib/rbovirt.rb:86:in > `http_post' > from > /usr/local/share/gems/gems/rbovirt-0.0.17/lib/client/vm_api.rb:35:in > `create_vm' > from > /usr/local/share/gems/gems/deltacloud-core-1.1.1/lib/deltacloud/drivers/rhevm/rhevm_driver.rb:190:in > `block in create_instance' > from > /usr/local/share/gems/gems/deltacloud-core-1.1.1/lib/deltacloud/drivers/exceptions.rb:220:in > `call' > from > /usr/local/share/gems/gems/deltacloud-core-1.1.1/lib/deltacloud/drivers/exceptions.rb:220:in > `safely' > from > /usr/local/share/gems/gems/deltacloud-core-1.1.1/lib/deltacloud/drivers/rhevm/rhevm_driver.rb:178:in > `create_instance' > from > /usr/local/share/gems/gems/deltacloud-core-1.1.1/lib/deltacloud/collections/instances.rb:52:in > `block (3 levels) in <class:Instances>' > from > /usr/local/share/gems/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base.rb:396:in > `instance_eval' > from > /usr/local/share/gems/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base.rb:396:in > `block in control' > irb(main):036:0> -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira