deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronelle Landy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DTACLOUD-402) CIMI: machineTemplates collection does not have any operations
Date Wed, 19 Dec 2012 21:59:13 GMT

     [ https://issues.apache.org/jira/browse/DTACLOUD-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ronelle Landy updated DTACLOUD-402:
-----------------------------------

    Description: 
deltacloud/tests/cimi/part3_test.rb looks for:

mach_templ_add_uri = discover_uri_for("add", "machineTemplates")

which raises an exception because machineTemplates (cimi, <any> provider) does not return
any operations:

{ "resourceURI" => "http://schemas.dmtf.org/cimi/1/MachineTemplateCollection", "count"
=> 0, "id" => "http://qeblade39.rhq.lab.eng.bos.redhat.com:3001/cimi/machine_templates"
}

Either the test or the src code needs to change here - not sure which - please advise.

  was:
deltacloud/tests/cimi/part3_test.rb looks for:

mach_templ_add_uri = discover_uri_for("add", "machineTemplates")

which raises an exception because machineTemplates (cimi, RHEVM provider) does not return
any operations:

{ "resourceURI" => "http://schemas.dmtf.org/cimi/1/MachineTemplateCollection", "count"
=> 0, "id" => "http://qeblade39.rhq.lab.eng.bos.redhat.com:3001/cimi/machine_templates"
}

Either the test or the src code needs to change here - not sure which - please advise.

    Environment: 
Deltacloud git commit: 8af48384a168898de9a7e1b3be328f1fe4128b78
Ruby 1.9.3


  was:
Deltacloud git commit: 8af48384a168898de9a7e1b3be328f1fe4128b78
Ruby 1.9.3
RHVM 3.0

        Summary: CIMI: machineTemplates collection does not have any operations  (was: CIMI:
machineTemplates collection does not have any operations - RHEVM provider)

Thought initially this was a RHEVM only problem - but it's reproducible with mock as well.
                
> CIMI: machineTemplates collection does not have any operations
> --------------------------------------------------------------
>
>                 Key: DTACLOUD-402
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-402
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: CIMI/Frontend
>         Environment: Deltacloud git commit: 8af48384a168898de9a7e1b3be328f1fe4128b78
> Ruby 1.9.3
>            Reporter: Ronelle Landy
>
> deltacloud/tests/cimi/part3_test.rb looks for:
> mach_templ_add_uri = discover_uri_for("add", "machineTemplates")
> which raises an exception because machineTemplates (cimi, <any> provider) does
not return any operations:
> { "resourceURI" => "http://schemas.dmtf.org/cimi/1/MachineTemplateCollection", "count"
=> 0, "id" => "http://qeblade39.rhq.lab.eng.bos.redhat.com:3001/cimi/machine_templates"
}
> Either the test or the src code needs to change here - not sure which - please advise.

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

Mime
View raw message