On 2013-06-07 10:11, Andranik Hayrapetyan wrote:
Hi,

Thank you for response! I tried this but I had a problem.
I am exporting this environmental variables
export EC2_SECRET_KEY=xxxxx
export EC2_ACCESS_KEY=oneadmin
export ONE_AUTH=$HOME/one_auth
export EC2_URL=http://localhost:4567

and econe commands work fine.

In my apache configuration I added the following for reverse proxy:
ProxyPass /ec2/ http://localhost:4567
ProxyPassReverse /ec2/ http://localhost:4567

And after I changed the export EC2_URL=http://localhost:4567 with export
EC2_URL=http://MY_IP_ADDRESS/ec2/

In econe.conf you have to put
:ssl_server: http://MY_IP_ADDRESS/ec2/

Because it is used in EC2 authentication, it will not work with different EC2_URL=http://localhost:4567 anymore. You have to use EC2_URL=http://MY_IP_ADDRESS/ec2/ (sometimes final / is not required, but it depends on EC2 client).

Regards, Rolandas

but this way I am getting the following error:
econe-describe-images: The username or password is not correct

May be I am missing something?

Thanks in advance!


On Thu, Jun 6, 2013 at 2:56 PM, Tino Vazquez <tin...@opennebula.org> wrote:

Hi,

The rules for the reverse proxy are only set for the CLI and Sunstone,
but in principle i don't see why it shouldn't work as well with EC2
and OCCI as well. If you think this is interesting, please open a
feature request in the dev.opennebula.org portal.

Best regards,

-Tino
--
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
www.opennebulaconf.com

--
Constantino V?zquez Blanco, PhD, MSc
Project Engineer | OpenNebula - The Open-Source Solution for Data
Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula


On Thu, Jun 6, 2013 at 10:05 AM, Andranik Hayrapetyan
<andranik....@gmail.com> wrote:
Good day,

I would like to know, if it is possible to access a zone which I have
created with oZones server using EC2 API, or it is only possible with
OpenNebul CLI and Sunestone server like it is said here
http://opennebula.org/documentation:rel4.0:ozones .

P.S. I am using OpenNebula 4

Thanks in advance!

_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130607/7d5e4757/attachment.htm>




_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to