deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronelle Landy (JIRA)" <>
Subject [jira] [Closed] (DTACLOUD-417) OpenNebula driver: GET /api/hardware_profiles (or instances/images) gives 'Internal Server Error"
Date Mon, 18 Mar 2013 18:20:16 GMT


Ronelle Landy closed DTACLOUD-417.

    Resolution: Fixed

Closing issue as fixed in deltacloud 1.1.2 using Opennebula KVM Sandbox:

curl -X GET --user "un:pw" "http://localhost:3008/api/hardware_profiles?format=xml"
<?xml version='1.0' encoding='utf-8' ?>
  <hardware_profile href='http://localhost:3008/api/hardware_profiles/small' id='small'>
    <property kind='fixed' name='cpu' unit='count' value='1' />
    <property kind='fixed' name='memory' unit='MB' value='1024' />
  <hardware_profile href='http://localhost:3008/api/hardware_profiles/medium' id='medium'>
    <property kind='fixed' name='cpu' unit='count' value='4' />
    <property kind='fixed' name='memory' unit='MB' value='4096' />
  <hardware_profile href='http://localhost:3008/api/hardware_profiles/large' id='large'>
    <property kind='fixed' name='cpu' unit='count' value='8' />
    <property kind='fixed' name='memory' unit='MB' value='8192' />

Suspect error was as a result of the OCCI server which was eventually removed in favor of
using the sandbox.

> OpenNebula driver: GET /api/hardware_profiles (or instances/images) gives 'Internal Server
> -------------------------------------------------------------------------------------------------
>                 Key: DTACLOUD-417
>                 URL:
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Native/Frontend
>         Environment: Deltacloud commit version: 46374925e9aad1fda635d87fa1c39290176e66f6
> Opennebula driver
> 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:

View raw message