Feature #79

It should be easier to specify multipe EC2-like clouds

Added by Redmine Admin over 12 years ago. Updated over 12 years ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:Javi Fontan% Done:

0%

Category:Drivers - Auth
Target version:Release 1.4
Resolution:fixed Pull request:

Description

Right now, I need to create a copy of one_vmm_ec2 to be able to use both EC2 and a local Eucalyptus instance with OpenNebula. This is because the location of the file that holds the EC2_* environment variables is hardcoded in one_vmm_ec2. It would be nice if this could be fixed somehow.

Associated revisions

Revision 5d3f0c76
Added by Tino Vázquez over 12 years ago

Fix for ticket #79

git-svn-id: http://svn.opennebula.org/one/trunk@401 3034c82b-c49b-4eb3-8279-a7acafdc01c0

History

#1 Updated by Ruben S. Montero over 12 years ago

You are right. In fact the driver was design to instantiate multiple times to access
different EC2 zones. The problem as you said is that the RC file is hard coded in the driver wrapper. I think that the better solution is to optionally pass the RC file with the EC2_ variables as an argument. In this way we can reuse everything.

#2 Updated by Ruben S. Montero over 12 years ago

It may be better to put the EC2 variables directly as arguments so you do not have
to copy files around. We can keep the current RC file as a default to fall back, in case you just want one EC2 driver.

So we can have

-u <EC2_URL>
-h <EC2_HOME>
-k <EC2_PRIVATE_KEY>
-c <EC2_CERT>

#3 Updated by Tino Vázquez over 12 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Fixed in r401.

Also available in: Atom PDF