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 C91E09031 for ; Wed, 7 Mar 2012 14:57:24 +0000 (UTC) Received: (qmail 93382 invoked by uid 500); 7 Mar 2012 14:57:23 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 92888 invoked by uid 500); 7 Mar 2012 14:57:22 -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 92862 invoked by uid 99); 7 Mar 2012 14:57:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 14:57:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,T_RP_MATCHES_RCVD,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 14:57:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4CB36C1AC for ; Wed, 7 Mar 2012 14:57:00 +0000 (UTC) Date: Wed, 7 Mar 2012 14:57:00 +0000 (UTC) From: "Ronelle Landy (Closed) (JIRA)" To: dev@deltacloud.apache.org Message-ID: <1014006543.34307.1331132220315.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (DTACLOUD-50) using the vmware driver, launching a new instance fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DTACLOUD-50?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Ronelle Landy closed DTACLOUD-50. --------------------------------- Closing this issue as it was logged from the GUI ... the GUI only offers th= e default hardware profile ... was able to launch an instance in vsphere th= rough the deltacloud GUI =20 > using the vmware driver, launching a new instance fails > ------------------------------------------------------- > > Key: DTACLOUD-50 > URL: https://issues.apache.org/jira/browse/DTACLOUD-50 > Project: DeltaCloud > Issue Type: Bug > Components: Client (Ruby) > Environment: http://10.65.193.195:3005/api/instances > Reporter: wes hayutin > Assignee: Michal Fojtik > Labels: vmware > > recreate: > 1. login, -> instances > 2. choose a template > 3. launch an instance.. used a "medium" hardware profile > Internal Server Error > NameError: undefined local variable or method `dc' for # > Request URL > /api/instances > Request headers > {"sinatra.error"=3D>#>, "HTTP_ACCEPT"=3D>"text/html,application/xhtml+xml= ,application/xml;q=3D0.9,*/*;q=3D0.8", "HTTP_CACHE_CONTROL"=3D>"max-age=3D0= ", "HTTP_HOST"=3D>"10.65.193.195:3005", "SERVER_NAME"=3D>"10.65.193.195", "= rack.url_scheme"=3D>"http", "CONTENT_LENGTH"=3D>"68", "HTTP_USER_AGENT"=3D>= "Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.30 (KHTML, like Gecko) Chrom= e/12.0.742.77 Safari/534.30", "REQUEST_PATH"=3D>"/api/instances", "SERVER_P= ROTOCOL"=3D>"HTTP/1.1", "CONTENT_TYPE"=3D>"application/x-www-form-urlencode= d", "HTTP_ACCEPT_LANGUAGE"=3D>"en-US,en;q=3D0.8", "rack.errors"=3D>#, "asyn= c.callback"=3D>#, "REMOTE_ADDR"=3D>"10.11.11.232", "PATH_INFO"=3D>"/api/ins= tances", "rack.run_once"=3D>false, "rack.version"=3D>[1, 0], "SERVER_SOFTWA= RE"=3D>"thin 1.2.5 codename This Is Not A Web Server", "SCRIPT_NAME"=3D>"",= "HTTP_AUTHORIZATION"=3D>"Basic QWRtaW5pc3RyYXRvcjoxMDB5YXJkLQ=3D=3D", "HTT= P_REFERER"=3D>"http://10.65.193.195:3005/api/instances/new?image_id=3Dmfojt= ik-template", "HTTP_VERSION"=3D>"HTTP/1.1", "rack.multithread"=3D>true, "ra= ck.request.form_vars"=3D>"image_id=3Dmfojtik-template&name=3Dwes_test3&hwp_= id=3Dmedium&commit=3Dcreate", "REQUEST_URI"=3D>"/api/instances", "rack.mult= iprocess"=3D>false, "rack.request.query_hash"=3D>{"image_id"=3D>"mfojtik-te= mplate", "name"=3D>"wes_test3", "commit"=3D>"create", "hwp_id"=3D>"medium"}= , "rack.request.form_input"=3D>#, "SERVER_PORT"=3D>"3005", "HTTP_ACCEPT_CHA= RSET"=3D>"ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.3", "async.close"=3D>#, "REQUEST= _METHOD"=3D>"POST", "rack-accept.request"=3D>#1, "text/html"=3D>1, "applica= tion/xml"=3D>0.9, "*/*"=3D>0.8}>>, "HTTP_ORIGIN"=3D>"http://10.65.193.195:3= 005", "rack.request.query_string"=3D>"", "rack.request.form_hash"=3D>{"name= "=3D>"wes_test3", "image_id"=3D>"mfojtik-template", "commit"=3D>"create", "= hwp_id"=3D>"medium"}, "QUERY_STRING"=3D>"", "GATEWAY_INTERFACE"=3D>"CGI/1.2= ", "HTTP_ACCEPT_ENCODING"=3D>"gzip,deflate,sdch", "HTTP_CONNECTION"=3D>"kee= p-alive", "rack.input"=3D>#} > Parameters > {"image_id"=3D>"mfojtik-template", "name"=3D>"wes_test3", "commit"=3D>"cr= eate", "hwp_id"=3D>"medium"} > Response headers > {"Content-Type"=3D>"text/html;charset=3Dutf-8"} > Code > 500 > Backtrace > ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:207:in `create_insta= nce' > ././server.rb:396 > ././lib/sinatra/rabbit.rb:114:in `instance_eval' > ././lib/sinatra/rabbit.rb:114:in `POST /api/instances' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :863:in `call' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :863:in `route' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :521:in `instance_eval' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :521:in `route_eval' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :500:in `route!' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :497:in `catch' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :497:in `route!' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :476:in `each' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :476:in `route!' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :601:in `dispatch!' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :411:in `call!' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :566:in `instance_eval' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :566:in `invoke' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :566:in `catch' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :566:in `invoke' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :411:in `call!' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :399:in `call' > ././lib/sinatra/rack_driver_select.rb:45:in `call' > ././lib/sinatra/rack_matrix_params.rb:85:in `call' > ././lib/sinatra/rack_runtime.rb:36:in `call' > ././lib/sinatra/rack_etag.rb:42:in `call' > /usr/lib/ruby/gems/1.8/gems/rack-accept-0.4.3/lib/rack/acce= pt/context.rb:22:in `call' > /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/methodoverr= ide.rb:24:in `call' > /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/commonlogge= r.rb:18:in `call' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :979:in `call' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :1005:in `synchronize' > /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb= :979:in `call' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/stats.rb:24= :in `call' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/stats.rb:33= :in `log' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/stats.rb:24= :in `call' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.= rb:76:in `pre_process' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.= rb:74:in `catch' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.= rb:74:in `pre_process' > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventm= achine.rb:1060:in `call' > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventm= achine.rb:1060:in `spawn_threadpool' > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventm= achine.rb:1057:in `initialize' > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventm= achine.rb:1057:in `new' > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventm= achine.rb:1057:in `spawn_threadpool' > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventm= achine.rb:1049:in `defer' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.= rb:54:in `process' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.= rb:42:in `receive_data' > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventm= achine.rb:256:in `run_machine' > /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventm= achine.rb:256:in `run' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/backends/ba= se.rb:57:in `start' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/server.rb:1= 56:in `start' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/controllers= /controller.rb:80:in `start' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:1= 77:in `send' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:1= 77:in `run_command' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:1= 43:in `run!' > /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/bin/thin:6 > /usr/bin/thin:19:in `load' > /usr/bin/thin:19 > Explanation > The server encountered an unexpected condition which prevented it from fu= lfilling the request. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira