olopez32 / ganeti

Automatically exported from code.google.com/p/ganeti
0 stars 0 forks source link

add multiple IP-Adresses and Subnet routing for instances in routed mode #202

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What software version are you running? Please provide the output of "gnt-
cluster --version" and "gnt-cluster version".
# gnt-cluster --version
gnt-cluster (ganeti v2.4.2) 2.4.2

# gnt-cluster version
Software version: 2.4.2
Internode protocol: 2040000
Configuration format: 2040000
OS api version: 20
Export interface: 0

Ganeti running in routed mode with KVM virtualization.

What distribution are you using?
Debian 6.0.3 "Squeeze" with backports packages; ganeti2: 2.4.2-1~bpo60+1

What steps will reproduce the problem?
It's not possible to add more than one IP-Address or a subnet for a single 
virtual network interface in an instance's net configuration.

What is the expected output? What do you see instead?
It should be possible to add more than one ipv4/ipv6 addresses and/or subnets 
to an interface. The corresponding host and net route entries should be added 
on instance startup.

Please provide any additional information below.
I noticed that shortcoming when I set up my network to use IPv6, that it is not 
possible to add an IPv4 and IPv6 address to the same virtual network interface 
of an instance.
To be most flexible I would suggest to implement the possibility to add as much 
IPv4 and IPv6 addresses and subnets to one network interface as desired.
I think that with the upcoming of IPv6 (finally!!) it will become more and more 
important to route IP-subnets to instances.

That issue originated in this discussion: 
http://groups.google.com/group/ganeti/browse_thread/thread/b118d1cb3cfaf2e4/d95d
feb7e026b4c0?#d95dfeb7e026b4c0

Original issue reported on code.google.com by ries...@gmail.com on 14 Oct 2011 at 10:00

GoogleCodeExporter commented 9 years ago

Original comment by ius...@google.com on 19 Jul 2012 at 2:46

GoogleCodeExporter commented 9 years ago
I believe Dimitris is working on this, w.r.t. the network parameter 
improvements, correct?

thanks,

Guido

Original comment by ultrot...@google.com on 13 Feb 2013 at 2:41

GoogleCodeExporter commented 9 years ago
Correct, I guess. But for 2.8 :)

Thanks,
dimara

Original comment by dimitris...@gmail.com on 13 Feb 2013 at 2:50

GoogleCodeExporter commented 9 years ago
Moving this to 2.10, as 2.8 is in beta and 2.9 is frozen soon.

Original comment by ultrot...@google.com on 25 Jun 2013 at 6:59

GoogleCodeExporter commented 9 years ago
Any news on this?

Original comment by jabolo...@google.com on 23 Jan 2014 at 1:22

GoogleCodeExporter commented 9 years ago
Move all issues assigned to 2.10 to 2.11, because their priority would not 
justify an inclusion in 2.10.

Original comment by thoma...@google.com on 19 Feb 2014 at 10:07

GoogleCodeExporter commented 9 years ago
Hi,

this function is something I also need in the near future. I hope this feature 
gets included soon. Or maybe a tip how to archive this with the most current 
version of Ganeti.

Thank you in advance

Original comment by Bernhard...@gmail.com on 22 Feb 2014 at 3:35

GoogleCodeExporter commented 9 years ago
Commit 3011413 adds a revised design doc for networks. It includes 
implementation details for this enhancement.

Original comment by dimitris...@gmail.com on 2 Oct 2014 at 11:16

GoogleCodeExporter commented 9 years ago
I haven't read the complete design doc in detail, but I was not able to
find the solution to the issue described bellow.

Motivation #1;
We are hosting multiple websites on a single instance, and serving the
possibility to our customers to use SSL-Certificate on each site -
without SNI for best browser-compatibility. This requires one IP-address
per site which results in quite an amount of IP-adresses on each
instance. This becomes even more relevant as of Googles announcement
regarding the lower search-ranking on sites that doesn't use SSL.

Motivation #2;
The common "best practice" to assign /64 IPv6-subnet to each
customer are an additional motivation to add the possibility to beeing
able to assign a whole subnet to one instance.

Because all of this I would love to see the possibility to assign a
whole subnet to one interface on a instance.

In the meanwhile we are using a custom made hook-script to setup local routes 
and triggering the routing-daemon 'bird' on each host.

Hopeful that you will take my request in consideration.
Thank you in advance

Original comment by tummelu...@gmail.com on 9 Oct 2014 at 7:39