You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Marios Andreou (JIRA)" <ji...@apache.org> on 2013/03/12 11:15:14 UTC

[jira] [Closed] (DTACLOUD-509) CIM Address: create problems

     [ https://issues.apache.org/jira/browse/DTACLOUD-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marios Andreou closed DTACLOUD-509.
-----------------------------------

    
> CIM Address: create problems
> ----------------------------
>
>                 Key: DTACLOUD-509
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-509
>             Project: DeltaCloud
>          Issue Type: Bug
>            Reporter: Martha Chumo
>            Assignee: Marios Andreou
>         Attachments: 0001-CIMI-Webapp-create-address.patch, 0002-CIMI-Client-fix-typo-on-address-create.patch, 0003-CIMI-DTACLOUD-509-issue-with-address_templates-creat.patch, DTACLOUD-509-0001-CIMI-Webapp-create-address.patch
>
>
> report via e-mail ... copied here for initial context:
> Attached is the patch I am using. Basically creating an address from an
> address_template. I'm getting the idea of doing this from address_create.rb
> in /deltacloud/server/lb/cimi/models. Try using it - creating a new
> address. You'll get these stacktrace that points to a validation error-
> http://fpaste.org/YhMB/. The error is a missing template
> (deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:131:in
> `block (2 levels) in report_error),
> /deltacloud/server/lib/cimi/collections/base.rb:61 but makes me say it's a
> validation error.
> (trace referred to above looks like:
> RuntimeError - ERROR: Missing template: errors/common.xml.haml:
> /home/martha/openSource/deltacloud/server/lib/sinatra/rack_accept.rb:37:in `rescue in render'
> /home/martha/openSource/deltacloud/server/lib/sinatra/rack_accept.rb:32:in `render'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:607:in `haml'
> /home/martha/openSource/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:131:in `block (2 levels) in report_error'
> /home/martha/openSource/deltacloud/server/lib/sinatra/rack_accept.rb:103:in `call'
> /home/martha/openSource/deltacloud/server/lib/sinatra/rack_accept.rb:103:in `respond_to'
> /home/martha/openSource/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:130:in `report_error'
> /home/martha/openSource/deltacloud/server/lib/cimi/collections/base.rb:61:in `block in <class:Base>'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:1293:in `call'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:1293:in `block in compile!'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:897:in `[]'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:895:in `catch'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:895:in `process_route'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:998:in `error_block!'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:986:in `handle_exception!'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:966:in `block in dispatch!'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:946:in `block in invoke'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:946:in `catch'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:946:in `invoke'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:966:in `rescue in dispatch!'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:969:in `dispatch!'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:794:in `block in call!'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:946:in `block in invoke'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:946:in `catch'
> /home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.4/lib/sinatra/base.rb:946:in `invoke'

--
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