deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Karnath (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DTACLOUD-423) Requesting /api/realms against the eucalyptus driver fails
Date Tue, 22 Jan 2013 19:42:14 GMT

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

Christian Karnath commented on DTACLOUD-423:
--------------------------------------------

After investigating this issue in detail I found out that the ‘realms’ method of the eucalyptus
driver is inherited by the ec2 driver. Moreover this method of the ec2 driver was recently
extended to support ‘Availability Zones’ and ‘Subnets’ (EC2: list subnets as realms):
https://github.com/apache/deltacloud/commit/ef3de3187959f7f2746ae81d17a79ded11a892a6

The problem is that ‘Subnets’ are not supported by eucalyptus and thus the operation ‘ec2.describe_subnets’
inside the inherited ‘realms’ method throws an exception.
                
> Requesting /api/realms against the eucalyptus driver fails
> ----------------------------------------------------------
>
>                 Key: DTACLOUD-423
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-423
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>            Reporter: Christian Karnath
>
> Requesting  /api/realms against the eucalyptus driver fails in the current development
version. With deltacloud 1.0.2 everything is still fine.
> <?xml version='1.0' encoding='utf-8' ?>
> <error status='500' url='/api/realms'>
>   <kind>backend_error</kind>
>   <backend driver='eucalyptus' provider='ec2=x.x.x.x:8773'>
>     <code>500</code>
>   </backend>
>   <message><![CDATA[Internal Server Error]]></message>
>   <request>
>     <param name='format'>xml</param>
>   </request>
> </error>
> D, [2013-01-16T17:37:29.068507 #26548] DEBUG -- : New Aws::Ec2 using per_thread-connection
mode
> D, [2013-01-16T17:37:29.069477 #26548] DEBUG -- : Opening new HTTP connection to x.x.x.x:8773
> W, [2013-01-16T17:37:29.496355 #26548]  WARN -- : ##### Aws::Ec2 returned an error: 412
Precondition Failed
> <?xml version="1.0"?><Response><Errors><Error><Code>412
Precondition Failed</Code><Message>Default binding failed to build a valid message:
Missing required object</Message></Error></Errors><RequestID>Default
binding failed to build a valid message: Missing required object</RequestID></Response>
#####
> W, [2013-01-16T17:37:29.496487 #26548]  WARN -- : ##### Aws::Ec2 request: ..... ####
> E, [2013-01-16T17:37:29.503619 #26548] ERROR -- 500: [Deltacloud::Exceptions::BackendError]
Internal Server Error
> 127.0.0.1 - - [16/Jan/2013 17:37:29] "GET /api/realms?format=xml HTTP/1.1" 500 336 0.4448

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