openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #13197
instance cannot access outside network
Hi All
I try to install openstack on multi-node .
I can boot instance and use vnc console to visit the instance .
But , I cannot access outside in instance .
I found the fixed ip range didn’t put on the br100 at compute-node only on
compute-controller. The compute-node only install nova-compute
On compute-node , ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master
br100 state UP qlen 1000
link/ether 00:0c:29:cf:ec:d7 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
link/ether 00:0c:29:cf:ec:e1 brd ff:ff:ff:ff:ff:ff
inet 192.168.7.153/27 brd 192.168.7.159 scope global eth1
inet6 fe80::20c:29ff:fecf:ece1/64 scope link
valid_lft forever preferred_lft forever
4: br100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 00:0c:29:cf:ec:d7 brd ff:ff:ff:ff:ff:ff
inet6 fe80::20c:29ff:fecf:ecd7/64 scope link
valid_lft forever preferred_lft forever
on compute-controller :
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet 169.254.169.254/32 scope link lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master
br100 state UP qlen 1000
link/ether 00:0c:29:88:31:51 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
link/ether 00:0c:29:88:31:5b brd ff:ff:ff:ff:ff:ff
inet 192.168.7.151/27 brd 192.168.7.159 scope global eth1
inet6 fe80::20c:29ff:fe88:315b/64 scope link
valid_lft forever preferred_lft forever
4: br100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 00:0c:29:88:31:51 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.3/27 brd 10.0.0.31 scope global br100
inet 192.168.4.33/27 brd 192.168.4.63 scope global br100
inet6 fe80::20c:29ff:fe88:3151/64 scope link
valid_lft forever preferred_lft forever
could Any one tell me why ? Or tell me how openstack set network bridge on
compute-node so that I can figure out what happened .
My nova.conf :
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/run/lock/nova
--allow_admin_api=true
--use_deprecated_auth=false
--auth_strategy=keystone
--scheduler_driver=nova.scheduler.simple.SimpleScheduler
--s3_host=192.168.7.151
--ec2_host=192.168.7.151
--rabbit_host=192.168.7.151
--cc_host=192.168.7.151
--nova_url=http://192.168.7.151:8774/v1.1/
--routing_source_ip=192.168.7.151
--glance_api_servers=192.168.7.151:9292
--image_service=nova.image.glance.GlanceImageService
--iscsi_ip_prefix=192.168.4
--sql_connection=mysql://root:hisoft@192.168.7.151/nova
--ec2_url=http://192.168.7.151:8773/services/Cloud
--keystone_ec2_url=http://192.168.7.151:5000/v2.0/ec2tokens
--api_paste_config=/etc/nova/api-paste.ini
--libvirt_type=qemu
--libvirt_use_virtio_for_bridges=true
--start_guests_on_host_boot=true
--resume_guests_state_on_host_boot=true
# vnc specific configuration
--novnc_enabled=true
--novncproxy_base_url=http://192.168.7.151:6080/vnc_auto.html
--vncserver_proxyclient_address=192.168.7.151
--vncserver_listen=192.168.7.151
# network specific settings
--network_manager=nova.network.manager.FlatDHCPManager
--public_interface=eth1
--flat_network_bridge=br100
--fixed_range=192.168.4.1/27
--floating_range=192.168.7.208/28
--network_size=32
--flat_network_dhcp_start=192.168.4.33
--flat_injected=False
--force_dhcp_release
--iscsi_helper=tgtadm
--connection_type=libvirt
--root_helper=sudo nova-rootwrap
--verbose
And nova version :
#nova-manage version
2012.1 (2012.1-LOCALBRANCH:LOCALREVISION)
Thank you in advance .
David(李跃洲)
E-MAIL: yuezhou.li@xxxxxxxxxx