Martha Chumo created DTACLOUD-465:
-------------------------------------

             Summary: Creating new machine_image - 500 error
                 Key: DTACLOUD-465
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-465
             Project: DeltaCloud
          Issue Type: Bug
          Components: CIMI/Webapp
            Reporter: Martha Chumo
            Assignee: Michal Fojtik


/server/lib/cimi/models/machine_image.rb:68 does not seem to be getting the 
href of the machine.
Below is the error trace that I get:

127.0.0.1 - - [12/Feb/2013 12:00:42] "POST /cimi/machine_images HTTP/1.1" 500 
2002 1.0229
E, [2013-02-12T12:00:43.093550 #7596] ERROR -- 500: [NoMethodError] undefined 
method `split' for {"href"=>""}:Hash

/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/deltacloud-core-1.1.0/lib/cimi/helpers/cimi_helper.rb:37:in
 `href_id'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/deltacloud-core-1.1.0/lib/cimi/models/machine_image.rb:72:in
 `create'
/home/martha/.rvm/gems/ruby-1.9.3-p374/gems/deltacloud-core-1.1.0/lib/cimi/collections/machine_images.rb:49:in
 `block (3 levels) in <class:MachineImages>'

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