Martha Chumo created DTACLOUD-513:
-------------------------------------

             Summary: CIMI creating a Network
                 Key: DTACLOUD-513
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-513
             Project: DeltaCloud
          Issue Type: Bug
          Components: CIMI/Webapp
            Reporter: Martha Chumo
            Assignee: Michal Fojtik


Creating a network gives me this error:

E, [2013-03-15T10:49:21.550918 #7992] ERROR -- 500: [NoMethodError] undefined 
method `save' for #<CIMI::Model::Network:0x00000003e3e0d8>
 
/home/martha/openSource/deltacloud/server/lib/cimi/service/network_create.rb:36:in
 `create'
/home/martha/openSource/deltacloud/server/lib/cimi/collections/networks.rb:50:in
 `block (3 levels) in <class:Networks>'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-rabbit-1.1.6/lib/sinatra/rabbit/base.rb:400:in
 `instance_eval'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-rabbit-1.1.6/lib/sinatra/rabbit/base.rb:400:in
 `block in control'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:1293:in
 `call'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:1293:in
 `block in compile!'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in
 `[]'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in
 `block (3 levels) in route!'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:876:in
 `route_eval'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in
 `block (2 levels) in route!'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:897:in
 `block in process_route'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:895:in
 `catch'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:895:in
 `process_route'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:859:in
 `block in route!'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:858:in
 `each'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:858:in
 `route!'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:963:in
 `block in dispatch!'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in
 `block in invoke'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in
 `catch'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in
 `invoke'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/sinatra-1.3.5/lib/sinatra/base.rb:960:in
 `dispatch!'
 
127.0.0.1 - - [15/Mar/2013 10:49:21] "POST /cimi/networks HTTP/1.1" 500 77012 
0.1591

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

Reply via email to