Ronelle Landy created DTACLOUD-504: -------------------------------------- Summary: Deltacloud - tilt v 1.3.4 incompatibility Key: DTACLOUD-504 URL: https://issues.apache.org/jira/browse/DTACLOUD-504 Project: DeltaCloud Issue Type: Bug Components: Native/Frontend Environment: tilt (1.3.4) Deltacloud commit version d96847ba97a0a7e167ebd00f16ee2677b4e613c0 Reporter: Ronelle Landy
With tilt v 1.3.4 GET /api/realms, api/hardware_profiles etc. error out (see trace below). Replacing with tilt v 1.3.3 restores deltacloud to its working state (see end of description) >> gem query |grep tilt tilt (1.3.4) ........ 127.0.0.1 - - [28/Feb/2013 09:58:45] "GET /api/realms?format=xml HTTP/1.1" 500 23712 0.2746 E, [2013-02-28T10:03:21.003683 #17036] ERROR -- 500: [RuntimeError] invalid locals key: :@realm (keys must be variable names) /usr/local/share/gems/gems/tilt-1.3.4/lib/tilt/template.rb:193:in `block in precompiled_preamble' /usr/local/share/gems/gems/tilt-1.3.4/lib/tilt/template.rb:189:in `map' /usr/local/share/gems/gems/tilt-1.3.4/lib/tilt/template.rb:189:in `precompiled_preamble' /usr/local/share/gems/gems/tilt-1.3.4/lib/tilt/haml.rb:38:in `precompiled_preamble' /usr/local/share/gems/gems/tilt-1.3.4/lib/tilt/template.rb:157:in `precompiled' /usr/local/share/gems/gems/tilt-1.3.4/lib/tilt/template.rb:213:in `compile_template_method' /usr/local/share/gems/gems/tilt-1.3.4/lib/tilt/template.rb:208:in `compiled_method' /usr/local/share/gems/gems/tilt-1.3.4/lib/tilt/template.rb:143:in `evaluate' /usr/local/share/gems/gems/tilt-1.3.4/lib/tilt/haml.rb:24:in `evaluate' /usr/local/share/gems/gems/tilt-1.3.4/lib/tilt/template.rb:77:in `render' /usr/local/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:711:in `render' /home/dcloud/workspace/deltacloud/server/lib/sinatra/rack_accept.rb:35:in `render' /usr/local/share/gems/gems/sinatra-1.3.5/lib/sinatra/base.rb:607:in `haml' /home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections/../../../views/realms/index.xml.haml:4:in `block (2 levels) in singletonclass' /home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections/../../../views/realms/index.xml.haml:3:in `each' /home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections/../../../views/realms/index.xml.haml:3:in `block in singletonclass' /home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections/../../../views/realms/index.xml.haml:65527:in `instance_eval' /home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections/../../../views/realms/index.xml.haml:65527:in `singletonclass' /home/dcloud/workspace/deltacloud/server/lib/deltacloud/collections/../../../views/realms/index.xml.haml:65525:in `__tilt_17576600' /usr/local/share/gems/gems/tilt-1.3.4/lib/tilt/template.rb:144:in `call' /usr/local/share/gems/gems/tilt-1.3.4/lib/tilt/template.rb:144:in `evaluate' -------------------------------- >> gem install tilt -v 1.3.3 Fetching: tilt-1.3.3.gem (100%) Successfully installed tilt-1.3.3 1 gem installed Installing ri documentation for tilt-1.3.3... Installing RDoc documentation for tilt-1.3.3... [root@cloud-qe-14 deltacloud]# gem uninstall tilt -v 1.3.4 Successfully uninstalled tilt-1.3.4 ............... 127.0.0.1 - - [28/Feb/2013 10:03:21] "GET /api/realms?format=xml HTTP/1.1" 500 23712 0.3804 ^C>> Stopping ... [root@cloud-qe-14 server]# API_PROVIDER=<> ./bin/deltacloudd -i vsphere Starting Deltacloud API :: vsphere :: <> :: http://localhost:3001/api >> Thin web server (v1.5.0 codename Knife) >> Debugging ON >> Maximum connections set to 1024 >> Listening on localhost:3001, CTRL+C to stop 127.0.0.1 - - [28/Feb/2013 10:03:47] "GET /api/realms?format=xml HTTP/1.1" 200 447 0.3905 127.0.0.1 - - [28/Feb/2013 10:05:57] "GET /api/instances?format=xml HTTP/1.1" 200 30677 6.3665 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira