From: David Lutterkort <[email protected]>

Setting these variables to the empty string caused the aws gem to issue
invalid signatures on requests.

This issue was introduced in commit b8e725c6
---
 server/lib/deltacloud/drivers/ec2/ec2_driver.rb |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb 
b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
index dd67422..83054c2 100644
--- a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
+++ b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
@@ -537,8 +537,6 @@ module Deltacloud
         end
 
         def endpoint_for_service(service)
-          ENV['EC2_URL']=''  # unset endpoints that may have been set by 
eucalyptus; otherwise it can conflict with the EC2/S3 endpoints in aws gem.
-          ENV['S3_URL']=''
           endpoint = (Thread.current[:provider] || ENV['API_PROVIDER'] || 
DEFAULT_REGION)
           # return the endpoint if it does not map to a default endpoint, 
allowing
           # the endpoint to be a full hostname instead of a region.
-- 
1.7.4.4

Reply via email to