Seems your interfaces are not set up correctly. The IP address should be under br-ex
For example, ifcfg-br-ex: DEVICE=br-ex DEVICETYPE=ovs TYPE=OVSBridge BOOTPROTO=static IPADDR=192.168.1.98 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 ONBOOT=yes ifcfg-eth0: DEVICE=eth0 HWADDR=52:54:00:92:05:AE # your hwaddr (find via ip link show eth0) TYPE=OVSPort DEVICETYPE=ovs OVS_BRIDGE=br-ex ONBOOT=yes Running 'ifconfig or ip addr' should then show the IP address plumbed to br-ex On Thu, 2016-02-18 at 18:58 +0800, EXT 柯俊兆 wrote: > Hi All > > When I setting neutron for openstack network, I got some problem and > doesn't know why. > > I reference"Neutron Networking with Open vSwitch and Provider > Networks" to setting my openstack network. > > Control node is work fine and NIC eth0 IP address can assign to br-ex > successful > Compute node NIC eth0 assign to br-ex failed ,and Compute all API > service can't connect to Control > > My compute node local.conf in below > ================ start ================ > ubuntu@pismo-192-168-1-98:~/OpenStack/devstack$ more local.conf > [[local|localrc]] > ADMIN_PASSWORD=admin > DATABASE_PASSWORD=admin > RABBIT_PASSWORD=admin > SERVICE_PASSWORD=admin > SERVICE_TOKEN=admin > > DEST=/opt/stack > > LOGFILE=/opt/stack/logs/stack.sh.log > VERBOSE=True > LOG_COLOR=True > SCREEN_LOGDIR=/opt/stack/logs > > MULTI_HOST=True > DATABASE_TYPE=mysql > > HOST_IP=192.168.1.98 > FLAT_INTERFACE=eth1 > FIXED_RANGE=10.0.0.0/24 > FIXED_NETWORK_SIZE=256 > FLOATING_RANGE=192.168.1.0/24 > Q_FLOATING_ALLOCATION_POOL=start=192.168.1.221,end=192.168.1.230 > SERVICE_HOST=192.168.1.130 > MYSQL_HOST=192.168.1.130 > RABBIT_HOST=192.168.1.130 > GLANCE_HOSTPORT=192.168.1.130:9292 > ENABLED_SERVICES=n-cpu,rabbit,q-agt > > ## Open vSwitch provider networking options > PHYSICAL_NETWORK=default > OVS_PHYSICAL_BRIDGE=br-ex > PUBLIC_INTERFACE=eth0 > Q_USE_PROVIDER_NETWORKING=True > Q_L3_ENABLED=False > > > ================ end ================ > > > My compute node NIC info in below > ================ start ================ > ubuntu@pismo-192-168-1-98:~/OpenStack/devstack$ ifconfig > br-ex Link encap:Ethernet HWaddr 30:0e:d5:c7:59:3e > inet6 addr: fe80::1cde:14ff:fed6:1fa1/64 Scope:Link > UP BROADCAST RUNNING MTU:1500 Metric:1 > RX packets:289 errors:0 dropped:0 overruns:0 frame:0 > TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:18096 (18.0 KB) TX bytes:648 (648.0 B) > > br-int Link encap:Ethernet HWaddr 46:6b:f2:e5:c9:41 > inet6 addr: fe80::b801:4cff:feb6:cbc2/64 Scope:Link > UP BROADCAST RUNNING MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:648 (648.0 B) > > br-tun Link encap:Ethernet HWaddr 36:0f:ae:d8:c6:43 > inet6 addr: fe80::f4e4:b9ff:feab:5d1d/64 Scope:Link > UP BROADCAST RUNNING MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:648 (648.0 B) > > eth0 Link encap:Ethernet HWaddr 30:0e:d5:c7:59:3e > inet addr:192.168.1.98 Bcast:192.168.1.255 > Mask:255.255.255.0 > inet6 addr: fe80::320e:d5ff:fec7:593e/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:40871 errors:0 dropped:0 overruns:0 frame:0 > TX packets:28210 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:7796067 (7.7 MB) TX bytes:5086230 (5.0 MB) > Interrupt:109 > > eth1 Link encap:Ethernet HWaddr 30:0e:d5:c7:59:3f > inet addr:10.0.0.98 Bcast:10.0.0.255 Mask:255.255.255.0 > inet6 addr: fe80::320e:d5ff:fec7:593f/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:2538 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3135 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:189631 (189.6 KB) TX bytes:531277 (531.2 KB) > Interrupt:112 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:65536 Metric:1 > RX packets:3960 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3960 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:346996 (346.9 KB) TX bytes:346996 (346.9 KB) > > > ================ end ================ > > The question are > 1.In Open vSwitch provider networking options > PHYSICAL_NETWORK=default <-- Is mean it use my NIC or my public > network ? > > 2.PUBLIC_INTERFACE is same with FLAT_INTERFACE? > > 3.Why the SERVICE_HOST connect failed? > I can ping or connect to SERVICE_HOST via other server,but compute > node can't. > > 4.My compute node br-ex doesn't be assign eth0's IP,so it can't go > out ? If yes,how to fix it ? > > > Best Regards, > Jau > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/ope > nstack > Post to : [email protected] > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/ope > nstack _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
