[Openstack-operators] Problems with openstack-nova-network-2012.2.2-1 adding floating_ips pools

Miguel Angel Diaz Corchero miguelangel.diaz at ciemat.es
Tue Feb 26 15:36:00 UTC 2013


Hello.

We've worked with my OpenStack installation for several months and now I 
have to create two pools (public and private pools) of floating_ips.

I noticed that the floating_ip doesn't work correctly:

1)cat /etc/nova/nova.conf | grep public
public_interface=eth0

2) I need to establish the public_interface depending on the pool, so that:
nova-manage floating create --pool=private-ips 
--ip_range=192.168.6.228/30  --interface=eth0
nova-manage floating create --pool=prublic-ips 
--ip_range=193.144.240.45/30  --interface=eth0.4

3) I listed my pools:
nova-manage floating list
2fd8747b4eb64ce4bd7149e2d45ff076    193.144.240.46    None public-ips    
eth0.4
2fd8747b4eb64ce4bd7149e2d45ff076    192.168.7.249    None private-ips    
eth0

4) I created the IPs from both pools
nova floating-ip-create  private-ips
nova floating-ip-create  prublic-ips

5) I add the IP to some instances ... but I can see that all the 
secondary IPs are created on eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP 
qlen 1000
     link/ether 00:1a:64:5d:60:00 brd ff:ff:ff:ff:ff:ff
     inet 193.144.240.45/32 scope global eth0
     inet 192.168.7.250/32 scope global eth0
     inet6 fe80::21a:64ff:fe5d:6000/64 scope link
        valid_lft forever preferred_lft forever

Why all the secondary IPs are created on eth0?  It seems the 
public_interfaces of *"nova-manage floating create*" are *ignored*.

Any help?

Regards
Miguel.

----------------------------
Confidencialidad: 
Este mensaje y sus ficheros adjuntos se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente respondiendo al mensaje y proceda a su destrucción.

Disclaimer: 
This message and its attached files is intended exclusively for its recipients and may contain confidential information. If you received this e-mail in error you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited and may be unlawful. In this case, please notify us by a reply and delete this email and its contents immediately. 
----------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130226/7121c37d/attachment.html>


More information about the OpenStack-operators mailing list