Uploaded image for project: 'DeltaCloud'
  1. DeltaCloud
  2. DTACLOUD-448

500 Error when creating a machine template with no properties

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: Server
    • Labels:
      None

      Description

      Here is part of the error trace-->

      127.0.0.1 - - [31/Jan/2013 13:09:06] "POST /cimi/machine_templates HTTP/1.1" 500 1818 1.1468
      E, 2013-01-31T13:09:07.481446 #7345 ERROR – 500: [NoMethodError] undefined method `inject' for nil:NilClass

      /home/martha/.rvm/gems/ruby-1.9.3-p194/gems/deltacloud-core-1.1.0/lib/cimi/models/machine_template.rb:74:in `create_from_xml'
      /home/martha/.rvm/gems/ruby-1.9.3-p194/gems/deltacloud-core-1.1.0/lib/cimi/collections/machine_templates.rb:51:in `block (3 levels) in <class:MachineTemplates>'
      /home/martha/.rvm/gems/ruby-1.9.3-p194/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base.rb:396:in `instance_eval'
      /home/martha/.rvm/gems/ruby-1.9.3-p194/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base.rb:396:in `block in control'

        Attachments

          Activity

            People

            • Assignee:
              marios Marios Andreou
              Reporter:
              njerichelimo Martha Chumo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: