Ronelle Landy created DTACLOUD-417:
--------------------------------------
Summary: OpenNebula driver: GET /api/hardware_profiles (or
instances/images) gives 'Internal Server Error"
Key: DTACLOUD-417
URL: https://issues.apache.org/jira/browse/DTACLOUD-417
Project: DeltaCloud
Issue Type: Bug
Components: Native/Frontend
Environment: Deltacloud commit version:
46374925e9aad1fda635d87fa1c39290176e66f6
Opennebula driver
OCCI_URL=http://occi.c12g.com
Native frontend
Reporter: Ronelle Landy
[rlandy@localhost /]$ curl -X GET --user "un:pw"
"http://hostname:3003/api/hardware_profiles?format=xml"
<?xml version='1.0' encoding='utf-8' ?>
<error status='500' url='/api/hardware_profiles'>
<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>
[rlandy@localhost /]$ curl -X GET --user "un:pw"
"http://hostname:3003/api/hardware_profiles?format=json"
{"code":500,"message":"Internal Server
Error","error":"Deltacloud::Exceptions::BackendError"}
/GET realms, drivers, api etc. all return ok.
The last time we saw a similar issue, the OCCI_URL needed updating or
modification.
--
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