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

Unable to create image with eucalyptus driver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • Server
    • ubuntu, deltacloud

    Description

      Tried creating image using curl with eucalyptus driver, got below response:

      <?xml version='1.0' encoding='utf-8' ?>
      <error status='500' url='/api/images?format=xml'>
      <kind>backend_error</kind>
      <backend driver='eucalyptus' provider='ec2=172.30.54.150;s3=172.30.54.153'>
      <code>500</code>
      </backend>
      <message><![CDATA[undefined method `id' for nil:NilClass]]></message>
      <backtrace><![CDATA[/home/deepika/testgit/deltacloud/server/lib/deltacloud/collections/images.rb:50:in `block (3 levels) in <class:Images>'
      /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'
      /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>
      <param name='instance_id'>i-618F4048</param>
      <param name='name'>test</param>
      <param name='description'>testing DC with curl</param>
      <param name='splat'>[]</param>
      <param name='captures'>[#<NoMethodError: undefined method `id' for nil:NilClass>]</param>
      </request>
      </error>

      At server side:

      NoMethodError - undefined method `id' for nil:NilClass:
      /home/deepika/testgit/deltacloud/server/lib/deltacloud/collections/images.rb:50:in `block (3 levels) in <class:Images>'
      /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'
      /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'
      172.30.54.46 - - [11/Jul/2012 12:38:02] "POST /api/images?format=xml HTTP/1.1" 500 30950 5.1539

      Attachments

        Activity

          People

            Unassigned Unassigned
            deepika.agrwal Deepika Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: