Project

General

Profile

Actions

Feature #1871

closed

VPC support on EC2 compute

Added by Romain Vrignaud over 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The patch prosposed on blog entry (http://blog.theforeman.org/2012/05/ec2-provisioning-using-foreman.html)
http://pastie.org/4002125 doesn't work.
With this modification proposed by ohad '<%= select_f f, :subnet_id , vpcs, :id, :cidr_block, {}, :label => "VPC" %>'
I get this in debug mode :
http://pastebin.com/ZEFNbWyc


Related issues 2 (0 open2 closed)

Related to Foreman - Feature #1868: Foreman should ask which VPC to use when creating a new Instance on EC2Duplicate09/17/2012Actions
Related to Foreman - Bug #1879: Foreman fails to acquire IP when using AWS VPC with private IPResolved10/02/2012Actions
Actions #1

Updated by Ohad Levy over 11 years ago

  • Tracker changed from Bug to Feature
Actions #2

Updated by Ohad Levy over 11 years ago

@Romain, do you have the latest patch that worked? IMHO the only thing left here is to have a logic choosing which ip address to use (public vs private) for ssh

Actions #3

Updated by Romain Vrignaud over 11 years ago

Here is the paste that I use in production : http://pastie.org/5078094

For +super.merge({ :ip => :private_ip_address }) this is related to #1879

Actions #4

Updated by Ohad Levy about 11 years ago

  • Target version changed from 1.1 to 1.2.0
Actions #5

Updated by Will Sterling about 11 years ago

Romain Vringnaud has submitted a commit request that looks promising but I am having trouble getting it to merge with 1.2. app/views/compute_resources_vms/form/_ec2.html.erb fails to render and only one of four VPC subnets appear in the network tab. Romain thinks the problem comes from the recently added multi-nic support. Any ideas on what change this commit would need to work with 1.2? https://github.com/theforeman/foreman/pull/237/files

Actions #6

Updated by Glen Ogilvie almost 11 years ago

Any progress on this? We would really like to use this feature in a project that is coming up soon.

Actions #7

Updated by Dominic Cleal almost 11 years ago

  • Assignee deleted (Ohad Levy)
  • Target version deleted (1.2.0)

Glen, there hasn't been any progress that I'm aware of, so removing the 1.2 tracker. If somebody is able to rebase the patch, we can include it in a future release.

Actions #8

Updated by Glen Ogilvie almost 11 years ago

Dominic Cleal wrote:

Glen, there hasn't been any progress that I'm aware of, so removing the 1.2 tracker. If somebody is able to rebase the patch, we can include it in a future release.

This is something that would be really helpful to us if it worked. I don't think I have the Ruby skills however, to rebase this patch myself.

Actions #9

Updated by Dominic Cleal over 10 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.3.0
Actions #10

Updated by Anonymous over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF