[
https://issues.apache.org/jira/browse/DTACLOUD-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michal Fojtik resolved DTACLOUD-254.
------------------------------------
Resolution: Fixed
commit 5470471eb20e6bb17ab91c2eb4856f215f91c38e
Author: Michal Fojtik <[email protected]>
Date: Tue Jul 10 14:49:51 2012 +0200
Core: Bumped the sinatra-rabbit version in gemspec (DTACLOUD-254)
commit 255bb89e0453601c4af48faf996171a6fd2cb58a
Author: Michal Fojtik <[email protected]>
Date: Tue Jul 10 14:31:23 2012 +0200
Core: Replaced 'check_capability' method with Sinatra::Base 'set' method
The 'check_capability' method set a class variable in Sinatra::Rabbit
to a lambda that was evaluated when server was starting.
However this class variable was not replaced when client switched the
driver using HTTP headers.
This patch will replace it with 'set' and now the lambda is evaluated
for every request in Sinatra::Rabbit (sinatra-rabbit 1.0.7)
> EC2 and Eucalyptus driver GET-request errors
> --------------------------------------------
>
> Key: DTACLOUD-254
> URL: https://issues.apache.org/jira/browse/DTACLOUD-254
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server
> Environment: ruby1.8, deltacloud-core-1.0.0, deltacloud-core-head
> Reporter: Christian Karnath
> Assignee: Michal Fojtik
>
> If deltacloudd is not started with the ec2 or eucalyptus driver (i. e.
> deltacloudd -i mock) and the driver is changed via X-Deltacloud-Driver to ec2
> or eucalyptus, the following errors will occur:
> /api/firewalls
> -> The required capability to execute this operation is missing
> /api/addresses
> -> The required capability to execute this operation is missing
> /api/realms/<realm>
> -> Not Found
> /api/images/<image>
> -> Not Found
> /api/keys/<key>
> -> Not Found
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira