Return-Path: X-Original-To: apmail-deltacloud-dev-archive@www.apache.org Delivered-To: apmail-deltacloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3839FEDB7 for ; Wed, 13 Feb 2013 22:28:13 +0000 (UTC) Received: (qmail 86157 invoked by uid 500); 13 Feb 2013 22:28:13 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 86130 invoked by uid 500); 13 Feb 2013 22:28:13 -0000 Mailing-List: contact dev-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list dev@deltacloud.apache.org Received: (qmail 86121 invoked by uid 99); 13 Feb 2013 22:28:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2013 22:28:13 +0000 Date: Wed, 13 Feb 2013 22:28:13 +0000 (UTC) From: "Joseph J. VLcek (JIRA)" To: dev@deltacloud.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (DTACLOUD-473) Creating an instance in RHEVM 3.0 using Deltacloud ruby client errors out MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DTACLOUD-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph J. VLcek reassigned DTACLOUD-473: ---------------------------------------- Assignee: Michal Fojtik (was: Joseph J. VLcek) Sorry but I had clicked the "Assign To Me" button just as I noticed this was already assigned to Michal Fojtik. Assigning it back to him. If you would like me to look into this let me know. > 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: Michal Fojtik > > 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") > => #, @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=>'') > 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: > 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 ' > 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