Uploaded image for project: 'DeltaCloud'
  1. DeltaCloud
  2. DTACLOUD-259

Unable to describe the loadbalancer using ec2 driver

    XMLWordPrintableJSON

    Details

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              mfojtik Michal Fojtik
              Reporter:
              deepika.agrwal Deepika Agrawal
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: