[
https://issues.apache.org/jira/browse/DTACLOUD-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marios Andreou resolved DTACLOUD-509.
-------------------------------------
Resolution: Fixed
patches pushed as
61c88b6211c5b03522fb05932ef08f7cbe340f09
9a8eab9c5ebe6e04e068983715e2ba5e00200b2f
ab3811b6474d870a55f65a9b37779e4eb81680f4
> 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