Please help ,My instance on compute node can't go outside

Asked by sakpon

 In my environment : I have 1 controller node(Public IP : 192.168.4.75 , Private IP : 10.0.1.20) and 1 compute node(Public IP : 192.168.4.72 , Private IP : 10.0.1.19) ,
installed package i'm already installed all nova-package in Controller node and installed only nova-compute and nova-network in compute node.
Now i get some trouble , My instance on compute node can't ping all public ip in my network and internet,But my controller node and compute node can ping public ip on instance that running on compute node.However,instance that running on controller node work fine.they can ping outside IP (all public ip in my network) and internet.Then i try to solve this problem by mapping security group
security groud that i already apply in all instance:
IP Protocol From Port To Port Source Actions
 TCP 8080 8080 0.0.0.0/0 (CIDR)
 TCP 22 22 0.0.0.0/0 (CIDR)
 TCP 80 80 0.0.0.0/0 (CIDR)
 ICMP -1 -1 0.0.0.0/0 (CIDR)
 TCP 53 53 0.0.0.0/0 (CIDR)
Displaying 5 items
But it's can't solve this problem.
here're nova.conf and network config file below:

Thank you very much for helping and reply.

----------------------------Controller node (Nova.conf)-------------------------------------

--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--allow_admin_api=true
--use_deprecated_auth=false
--auth_strategy=keystone
--scheduler_driver=nova.scheduler.simple.SimpleScheduler
--s3_host=192.168.4.75
--ec2_host=192.168.4.75
--rabbit_host=192.168.4.75
--cc_host=192.168.4.75
--nova_url=http://192.168.4.75:8774/v1.1/
--routing_source_ip=192.168.4.75
--glance_api_servers=192.168.4.75:9292
--image_service=nova.image.glance.GlanceImageService
--iscsi_ip_prefix=192.168.
--sql_connection=mysql://nova:mygreatsecret@127.0.0.1/nova
--ec2_url=http://192.168.4.75:8773/services/Cloud
--keystone_ec2_url=http://192.168.4.75:5000/v2.0/ec2tokens
--api_paste_config=/etc/nova/api-paste.ini
--libvirt_type=kvm
--libvirt_use_virtio_for_bridges=true
--start_guests_on_host_boot=true
--resume_guests_state_on_host_boot=true
#vnc
--novnc_enabled=true
--vnc_enabled=true
--novncproxy_base_url=http://192.168.4.75:6080/vnc_auto.html
--vncserver_proxyclient_address=10.0.1.20
--vncserver_listen=10.0.1.20
--vnc_console_proxy_url=http://192.168.4.75:6080
--vncproxy_url=http://192.168.4.75:6080
# network specific settings
--network_manager=nova.network.manager.FlatDHCPManager
--public_interface=eth1
--flat_interface=eth2
--flat_network_bridge=br100
--fixed_range=10.0.1.32/27
--floating_range=192.168.4.224/27
--network_size=32
--flat_network_dhcp_start=10.0.1.33
--flat_injected=False
--force_dhcp_release

--connection_type=libvirt
--root_helper=sudo nova-rootwrap
--verbose
--iscsi_ip_address=192.168.4.75
### volume
--volume_group=nova-volumes
--volume_name_template=volume-%08x

---------------------------------Network interface ( Controller node )------------------------------------------------------------

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0

auto eth1
iface eth1 inet static
        address 192.168.4.75
        network 192.168.4.0
        netmask 255.255.255.0
        hwaddress 54:52:00:26:47:6a
        gateway 192.168.4.205
        broadcast 192.168.4.255
        dns-nameservers 192.168.4.205
auto eth2
iface eth2 inet static
        address 10.0.1.20
        network 10.0.1.0
        netmask 255.255.255.0
        gateway 10.0.1.1
        broadcast 10.0.1.255
        dns-nameservers 8.8.8.8

        auto br100
        iface br100 inet static
        bridge_ports eth2
        bridge_stp off
        bridge_maxwait 0
        bridge_fd 0
        address 10.0.1.20
        netmask 255.255.255.0
        broadcast 10.0.1.255

        auto br200
        iface br200 inet static
        bridge_ports eth0
        bridge_stp off
  bridge_maxwait 0
        bridge_fd 0
        address 192.168.4.75
        netmask 255.255.255.0

------------------------------------ Compute Node (Nova.conf)-----------------------------------------
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--lock_path=/var/lock/nova
--state_path=/var/lib/nova
--verbose
--s3_host=192.168.4.75
--cc_host=192.168.4.75
--rabbit_host=10.0.1.20
--ec2_url=http://192.168.4.75:8773/services/Cloud
--fixed_range=10.0.1.32/27
--network_size=32
--FAKE_subdomain=ec2
--routing_source_ip=10.0.1.20
--sql_connection=mysql://nova:mygreatsecret@192.168.4.75/nova
--glance_host=10.0.1.20
--image_service=nova.image.glance.GlanceImageService
--my_ip=192.168.4.72
--vncserver_proxyclient_address=192.168.4.75
--libvirt_type=qemu
--connection_type=libvirt
--instance_name_template=instance-%08x
--api_paste_config=/etc/nova/api-paste.ini
--allow_resize_to_same_host=True
--public_interface=eth1
--scheduler_driver=nova.scheduler.simple.SimpleScheduler
--connection_type=libvirt
#vnc
--vncserver_proxyclient_address=10.0.1.19
#--vnc_enabled=true
#--novnc_enabled=true
#--vncproxy_url=http://192.168.4.75:6080
--vnc_console_proxy_url=http://192.168.4.75:6080
--novncproxy_base_url=http://192.168.4.75:6080/vnc_auto.html
--vncserver_listen=10.0.1.19

#edit
--nova_url=http://192.168.4.75:8774/v1.1/
--glance_api_servers=192.168.4.75:9292
--iscsi_ip_prefix=192.168.4
#network
--network_manager=nova.network.manager.FlatDHCPManager
--public_interface=eth0
--flat_interface=eth1
--flat_network_bridge=br100
--floating_range=192.168.4.224/27
--iscsi_helper=tgtadm
--auth_strategy=keystone
--root_helper=sudo nova-rootwrap

--------------------------------------- interface (Compute node)------------------------------------------------

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface

        auto eth0
        iface eth0 inet static
        address 192.168.4.72
        netmask 255.255.255.0
        network 192.168.4.0
        broadcast 192.168.4.255
        gateway 192.168.4.205
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 192.168.4.205

        auto eth1
        iface eth1 inet static
        address 10.0.1.19
        netmask 255.255.255.0
        network 10.0.1.0

        auto br100
        iface br100 inet static
        bridge_ports eth1
        bridge_stp off
        bridge_maxwait 0
        bridge_fd 0
        address 10.0.1.19
        netmask 255.255.255.0
        broadcast 10.0.1.255
------------------------------------------------------

Question information

Language:
English Edit question
Status:
Expired
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Anne Gentle (annegentle) said :
#1

Based on https://answers.launchpad.net/nova/+question/204852, perhaps you just need to add multi_host=True to your nova.conf, restart all services, and see if that fixes the issue.

Revision history for this message
sakpon (sukpon3) said :
#2

Hi Anne Gentle (annegentle)
i already try to add --multi_host=True to my nova.conf to my controller node and compute node but it can't solve.Is my nova.conf wrong ? I stick this problem for a week.T T

Revision history for this message
Tatenda Mupaso (tatenda-mupaso) said :
#3

Any solution to this problem yet Sakpon? Because I seem to have stumbled upon the same issue. Please update.

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.