[one-users] hybridfox not working with econe-server
Daniel Molina
dmolina at opennebula.org
Mon Oct 17 03:24:14 PDT 2011
> No, I get an authentication failure messages. By the way, I test using an
> EC2 instance. Could it be related to public/private IP translation (NAT)?
The problem is related to the Signature generation and I think the
"/econe/" path is the cause. The same endpoint must be used in the
client and in the server side to generate the Signature. The endpoint
you specified in hybrid fox is https://cloud.itisopen.net/econe/, try
applying this patch to the econe source:
diff --git a/src/cloud/common/CloudAuth/EC2CloudAuth.rb b/src/cloud/common/Cloud
index fe8321f..4666f0a 100644
--- a/src/cloud/common/CloudAuth/EC2CloudAuth.rb
+++ b/src/cloud/common/CloudAuth/EC2CloudAuth.rb
@@ -70,7 +70,8 @@ module EC2CloudAuth
canonical_str = AWS.canonical_string(
params,
server_str,
- env['REQUEST_METHOD'])
+ env['REQUEST_METHOD'],
+ "/econe/")
# Use the correct signature strength
sha_strength = case params['SignatureMethod']
And the following econe configuration:
:one_xmlrpc: http://localhost:2633/RPC2
:server: localhost
:port: 4567
:ssl_server: cloud.itisopen.net
> Nothing helpfull in the econe-server.log file. Is there a variable to set to
> have debug information in the file (I quickly browsed the econe-server code
> but could not find one)
Currently there is no debug flag, It will be added in next versions.
> Last thing to note if you plan to contact the Hybridfox developer, when I
> make these tests, I can't get hybridfox to connect to EC2 regions after
> testing connection to econe-server. I keep having authorization failure
> messages and I have to restart firefox...
I have a similar problem, when a Region fails I cannot make it works
with any other Region.
--
Daniel Molina
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | @dmamolina
More information about the Users
mailing list