[ 
https://issues.apache.org/jira/browse/DTACLOUD-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13577174#comment-13577174
 ] 

Ronelle Landy commented on DTACLOUD-456:
----------------------------------------

Took a shot at testing out this patch ... 

Started a Deltacloud server pointing at Opennebula:

>> export OCCI_URL=​http://occi.c12g.com; ./bin/deltacloudd -i opennebula

The tried to get whatever collections were advertised in the /api:

GET /api, /api/realms, /api/drivers, /api/instance_states all return correctly

GET  /api/hardware_profiles, /api/instances and /api/images all produce:

<error status='500' url='/api/instances'>
  <kind>backend_error</kind>
  <backend driver='opennebula' provider='default'>
    <code>500</code>
  </backend>
  <message><![CDATA[Internal Server Error]]></message>
  <request>
    <param name='format'>xml</param>
  </request>
</error>

as logged in: https://issues.apache.org/jira/browse/DTACLOUD-417

Perhaps this shows that my creds are incorrect - using the same creds that get 
me into (http://sunstone.c12g.com/) - authentication for user is set to CORE. 
Also if my creds were wrong, I'd expect a 401.

Applying the patch doesn't get me any further .... which is understandable.

Clearly, reporter, Christian Karnath, can access the API further than the top 
level collections.
So, if anyone (Michal?) can advise on what I'm misisng here, I'd be happy to 
restest this patch ... ACK ... PUSH (if all is good)



                
> Opennebula: Error occurs when requesting all instances against opennebula
> -------------------------------------------------------------------------
>
>                 Key: DTACLOUD-456
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-456
>             Project: DeltaCloud
>          Issue Type: Bug
>            Reporter: Christian Karnath
>            Assignee: Ronelle Landy
>         Attachments: 
> 0001-Opennebula-Fix-when-computehash-INSTANCE_TYPE-is-nil.patch
>
>
> The following error occurs when requesting all instances against opennebula 
> and one instance has no ‘INSTANCE_TYPE’ set:
> E, [2013-02-06T17:42:50.830852 #12715] ERROR -- 500: 
> [Deltacloud::Exceptions::BackendError] Internal Server Error
> 84.62.25.145 - - [06/Feb/2013 17:42:50] "GET /api/instances HTTP/1.1" 
> opennebula http://occi.c12g.com 500 93 0.5609
>  
> The attached patch will fix this issue.

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