You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Dies Koper (JIRA)" <ji...@apache.org> on 2012/10/22 13:52:12 UTC

[jira] [Created] (DTACLOUD-350) cimi: undefined method `[]' for nil:NilClass in cimi/models/disk.rb:28:in `find' when instance_profile has no storage

Dies Koper created DTACLOUD-350:
-----------------------------------

             Summary: cimi: undefined method `[]' for nil:NilClass in cimi/models/disk.rb:28:in `find' when instance_profile has no storage
                 Key: DTACLOUD-350
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-350
             Project: DeltaCloud
          Issue Type: Bug
          Components: CIMI/Frontend
            Reporter: Dies Koper


fgcp does not define storage in hardware_profiles.

curl http://localhost:3001/cimi/machines?format=xml

causes

ERROR -- 500: [NoMethodError] undefined method `[]' for nil:NilClass

d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/disk.rb:31:in `find'


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

[jira] [Resolved] (DTACLOUD-350) cimi: undefined method `[]' for nil:NilClass in cimi/models/disk.rb:28:in `find' when instance_profile has no storage

Posted by "Michal Fojtik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Fojtik resolved DTACLOUD-350.
------------------------------------

    Resolution: Fixed

This patch should fix the issue:

http://tracker.deltacloud.org/set/100
                
> cimi: undefined method `[]' for nil:NilClass in cimi/models/disk.rb:28:in `find' when instance_profile has no storage
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-350
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-350
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: CIMI/Frontend
>            Reporter: Dies Koper
>            Assignee: Michal Fojtik
>
> fgcp does not define storage in hardware_profiles.
> curl http://localhost:3001/cimi/machines?format=xml
> causes
> ERROR -- 500: [NoMethodError] undefined method `[]' for nil:NilClass
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/disk.rb:31:in `find'

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

[jira] [Commented] (DTACLOUD-350) cimi: undefined method `[]' for nil:NilClass in cimi/models/disk.rb:28:in `find' when instance_profile has no storage

Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DTACLOUD-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491425#comment-13491425 ] 

Marios Andreou commented on DTACLOUD-350:
-----------------------------------------

above patch was pushed as commit e830868d40e111277c38ed8db0be5133355ea1a6

closing issue.
                
> cimi: undefined method `[]' for nil:NilClass in cimi/models/disk.rb:28:in `find' when instance_profile has no storage
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-350
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-350
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: CIMI/Frontend
>            Reporter: Dies Koper
>            Assignee: Michal Fojtik
>
> fgcp does not define storage in hardware_profiles.
> curl http://localhost:3001/cimi/machines?format=xml
> causes
> ERROR -- 500: [NoMethodError] undefined method `[]' for nil:NilClass
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/disk.rb:31:in `find'

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

[jira] [Closed] (DTACLOUD-350) cimi: undefined method `[]' for nil:NilClass in cimi/models/disk.rb:28:in `find' when instance_profile has no storage

Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marios Andreou closed DTACLOUD-350.
-----------------------------------

    
> cimi: undefined method `[]' for nil:NilClass in cimi/models/disk.rb:28:in `find' when instance_profile has no storage
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-350
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-350
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: CIMI/Frontend
>            Reporter: Dies Koper
>            Assignee: Michal Fojtik
>
> fgcp does not define storage in hardware_profiles.
> curl http://localhost:3001/cimi/machines?format=xml
> causes
> ERROR -- 500: [NoMethodError] undefined method `[]' for nil:NilClass
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/disk.rb:31:in `find'

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

[jira] [Assigned] (DTACLOUD-350) cimi: undefined method `[]' for nil:NilClass in cimi/models/disk.rb:28:in `find' when instance_profile has no storage

Posted by "Michal Fojtik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Fojtik reassigned DTACLOUD-350:
--------------------------------------

    Assignee: Michal Fojtik
    
> cimi: undefined method `[]' for nil:NilClass in cimi/models/disk.rb:28:in `find' when instance_profile has no storage
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-350
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-350
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: CIMI/Frontend
>            Reporter: Dies Koper
>            Assignee: Michal Fojtik
>
> fgcp does not define storage in hardware_profiles.
> curl http://localhost:3001/cimi/machines?format=xml
> causes
> ERROR -- 500: [NoMethodError] undefined method `[]' for nil:NilClass
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/disk.rb:31:in `find'

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