deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Fojtik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DTACLOUD-259) Unable to describe the loadbalancer using ec2 driver
Date Mon, 13 Aug 2012 13:40:38 GMT

    [ https://issues.apache.org/jira/browse/DTACLOUD-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433134#comment-13433134
] 

Michal Fojtik commented on DTACLOUD-259:
----------------------------------------

Patches were sent to list:

0001-EC2-Fixed-params-for-register-deregister-actions-on-.patch
0002-Core-Fixed-formatting-for-new-loadbalancer-UI.patch

>From ecc9ac0c51ae8ea7521cfd4f6d6f6146a02f022f Mon Sep 17 00:00:00 2001
From: Michal Fojtik <mfojtik@redhat.com>
Date: Mon, 13 Aug 2012 15:38:38 +0200
Subject: [PATCH core 1/2] EC2: Fixed params for register/deregister actions
 on lb


Signed-off-by: Michal fojtik <mfojtik@redhat.com>
---
 server/lib/deltacloud/collections/load_balancers.rb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/lib/deltacloud/collections/load_balancers.rb b/server/lib/deltacloud/collections/load_balancers.rb
index f560f16..ce2c42a 100644
--- a/server/lib/deltacloud/collections/load_balancers.rb
+++ b/server/lib/deltacloud/collections/load_balancers.rb
@@ -63,7 +63,7 @@ module Deltacloud::Collections
         param :instance_id, :string,  :required
         control do
           driver.lb_register_instance(credentials, params)
-          @load_balancer = driver.load_balancer(credentials, params[:id])
+          @load_balancer = driver.load_balancer(credentials, :id => params[:id])
           respond_to do |format|
             format.xml { haml :'load_balancers/show' }
             format.json { xml_to_json('load_balancers/show') }
@@ -76,7 +76,7 @@ module Deltacloud::Collections
         param :instance_id, :string,  :required
         control do
           driver.lb_unregister_instance(credentials, params)
-          @load_balancer = driver.load_balancer(credentials, params[:id])
+          @load_balancer = driver.load_balancer(credentials, :id => params[:id])
           respond_to do |format|
             format.xml { haml :'load_balancers/show' }
             format.json { xml_to_json('load_balancers/show')}
-- 
1.7.10.2
                
> Unable to describe the loadbalancer using ec2 driver
> ----------------------------------------------------
>
>                 Key: DTACLOUD-259
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-259
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server, Website
>         Environment: Ubuntu, deltacloud
>            Reporter: Deepika Agrawal
>            Assignee: Michal Fojtik
>            Priority: Critical
>              Labels: deltacloudd, ec2, loadbalancer
>
> Hi,
> I am unable to describe the load balancers using ec2 driver. Getting the below response:
> At client side:
>  curl --user "<access key>:<Secret access key>" "http://172.30.54.46:4000/api/load_balancers?format=xml"
> <error status='502' url='/api/load_balancers?format=xml'>
>   <kind>backend_error</kind>
>   <backend driver='ec2' provider='default'>
>     <code>502</code>
>   </backend>
>   <message><![CDATA[can't convert Symbol into Integer]]></message>
>   <backtrace><![CDATA[/home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:165:in
`[]'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:165:in
`block in realms'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:173:in `call'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:173:in `safely'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:164:in
`realms'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/base_driver.rb:210:in
`realm'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:938:in
`block in convert_load_balancer'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:937:in
`each'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:937:in
`convert_load_balancer'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:367:in
`block (2 levels) in load_balancers'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:366:in
`each'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:366:in
`block in load_balancers'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:173:in `call'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:173:in `safely'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:364:in
`load_balancers'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:45:in
`block in filter_all'
> /usr/lib/ruby/1.9.1/benchmark.rb:295:in `measure'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:44:in
`filter_all'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/helpers/rabbit_helper.rb:22:in
`block (2 levels) in standard_index_operation'
> /var/lib/gems/1.9.1/gems/sinatra-rabbit-1.0.6/lib/sinatra/rabbit/base.rb:387:in `instance_eval'
> /var/lib/gems/1.9.1/gems/sinatra-rabbit-1.0.6/lib/sinatra/rabbit/base.rb:387:in `block
in control'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:in `block in compile!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `[]'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `block (3 levels) in
route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:801:in `route_eval'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `block (2 levels) in
route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:822:in `block in process_route'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:820:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:820:in `process_route'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:784:in `block in route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:783:in `each'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:783:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/showexceptions.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/showexceptions.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/showexceptions.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/showexceptions.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/showexceptions.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/showexceptions.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/showexceptions.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/showexceptions.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/showexceptions.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
> /home/deepika/testgit/deltacloud/server/lib/sinatra/rack_accept.rb:155:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/showexceptions.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/rack-accept-0.4.5/lib/rack/accept/context.rb:22:in `call'
> /home/deepika/testgit/deltacloud/server/lib/sinatra/rack_driver_select.rb:45:in `call'
> /home/deepika/testgit/deltacloud/server/lib/sinatra/rack_matrix_params.rb:104:in `call'
> /home/deepika/testgit/deltacloud/server/lib/sinatra/rack_etag.rb:41:in `call'
> /home/deepika/testgit/deltacloud/server/lib/sinatra/rack_date.rb:31:in `call'
> /home/deepika/testgit/deltacloud/server/lib/sinatra/rack_logger.rb:71:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in
`call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
> /var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1334:in `block in call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1416:in `synchronize'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1334:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in `block in call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in `each'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in `call'
> /home/deepika/testgit/deltacloud/server/lib/sinatra/rack_driver_select.rb:45:in `call'
> /home/deepika/testgit/deltacloud/server/lib/sinatra/rack_matrix_params.rb:104:in `call'
> /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:134:in `call'
> /var/lib/gems/1.9.1/gems/thin-1.4.1/lib/thin/connection.rb:80:in `block in pre_process'
> /var/lib/gems/1.9.1/gems/thin-1.4.1/lib/thin/connection.rb:78:in `catch'
> /var/lib/gems/1.9.1/gems/thin-1.4.1/lib/thin/connection.rb:78:in `pre_process'
> /var/lib/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in `call'
> /var/lib/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in `block in spawn_threadpool']]></backtrace>
>   <request>
>     <param name='format'>xml</param>
>   </request>
> </error>
> Response at the server:
> TypeError:can't convert Symbol into Integer
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:165:in
`[]'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:165:in
`block in realms'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:173:in `call'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:173:in `safely'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:164:in
`realms'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/base_driver.rb:210:in
`realm'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:938:in
`block in convert_load_balancer'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:937:in
`each'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:937:in
`convert_load_balancer'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:367:in
`block (2 levels) in load_balancers'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:366:in
`each'
> Deltacloud::ExceptionHandler::ProviderError:can't convert Symbol into Integer
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:165:in
`[]'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:165:in
`block in realms'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:173:in `call'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:173:in `safely'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:164:in
`realms'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/base_driver.rb:210:in
`realm'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:938:in
`block in convert_load_balancer'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:937:in
`each'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:937:in
`convert_load_balancer'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:367:in
`block (2 levels) in load_balancers'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:366:in
`each'
> 172.30.54.46 - - [09/Jul/2012 18:04:47] "GET /api/load_balancers?format=xml HTTP/1.1"
502 35695 8.0619

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message