openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #15043
public-interface ignored
hi,
running openstack essex with vlan-networking:
--network_manager=nova.network.manager.VlanManager
--vlan_interface=bond0
--public_interface=bridge_130
--auto_assign_floating_ip=True
all works great except for floating ips. the problem is, that the
floating ips are assigned to eth0 instead of bridge_130. I can't get a
clue out of the logs:
2012-07-24 11:24:02 DEBUG nova.service [-] public_interface : bridge_130
from (pid=31192) wait /usr/lib/python2.7/dist-packages/nova/service.py:411
=> so during startup it realizes that bridge_130 is the
public-interface. great. But then the floating ip is assigned:
2012-07-24 11:24:26 DEBUG nova.utils [-] Running cmd (subprocess): sudo
nova-rootwrap ip addr add xx.xx.xx.129/32 dev eth0 from (pid=31192)
execute /usr/lib/python2.7/dist-packages/nova/utils.py:219
this process finishes without errors, the problem is that eth0 is just
not my public network interface. What's wrong? is there something in the
database that I should change?
mysql> select * from networks \G
*************************** 1. row ***************************
created_at: 2012-07-24 08:17:18
updated_at: 2012-07-24 08:18:48
deleted_at: NULL
deleted: 0
id: 1
injected: 0
cidr: 10.131.0.0/24
netmask: 255.255.255.0
bridge: novabr131
gateway: 10.131.0.1
broadcast: 10.131.0.255
dns1: 8.8.8.8
vlan: 131
vpn_public_address: xx.xx.xx.xx
vpn_public_port: NULL
vpn_private_address: 10.131.0.3
dhcp_start: 10.131.0.2
project_id: 7edc3284f53f4e02b92d498db41b842d
host: NULL
cidr_v6: NULL
gateway_v6: NULL
label: RISCSW
netmask_v6: NULL
bridge_interface: bond0
multi_host: 1
dns2: NULL
uuid: 96ad4088-b9bb-436f-b381-2edefa8d5567
priority: NULL
rxtx_base: NULL
1 row in set (0.00 sec)
help needed... thanks in advance.
Wolfgang
--
DI (FH) Wolfgang Hennerbichler
Software Development
Unit Advanced Computing Technologies
RISC Software GmbH
A company of the Johannes Kepler University Linz
IT-Center
Softwarepark 35
4232 Hagenberg
Austria
Phone: +43 7236 3343 245
Fax: +43 7236 3343 250
wolfgang.hennerbichler@xxxxxxxxxxxxxxxx
http://www.risc-software.at
Follow ups