Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What it takes for an openstack instance to connect to internet

I'm running a two node openstack cloud with single NIC using nova-network, Everything seems fine but when it comes to networking there are many problems and I think thats due to having only one NIC on both nodes, first is that my instances don't connect to internet while there is a wifi that connects compute node to web and I cannot go any further with my project in this situation. Even floating ips cannot be pinged by any system except the compute host. I really need help with this stuff and I have little knowledge of networking if they can only be solved by another NIC for nodes I can think of an external usb one for both controller and compute node. Any ideas?

nova.conf network configuration on compute node:

# NETWORK
network_manager=nova.network.manager.FlatDHCPManager
force_dhcp_release=True
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
my_ip=10.0.1.101
public_interface=wlan0
vlan_interface=eth0
flat_network_bridge=br100
flat_interface=eth0
dnsmasq_config_file=/etc/nova/dnsmasq-nova.conf
enable_ipv6=False
#auto_assign_floating_ip=True

What it takes Help for an openstack instance to connect to internetnetworking issues

I'm running a two node openstack cloud with single NIC using nova-network, Everything seems fine but when it comes to networking there are many problems and I think thats due to having only one NIC on both nodes, first is that my instances don't connect to internet while there is a wifi that connects compute node to web and I cannot go any further with my project in this situation. Even floating ips cannot be pinged by any system except the compute host. I really need help with this stuff and I have little knowledge of networking if they can only be solved by another NIC for nodes I can think of an external usb one for both controller and compute node. Any ideas?

nova.conf network configuration on compute node:

# NETWORK
network_manager=nova.network.manager.FlatDHCPManager
force_dhcp_release=True
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
my_ip=10.0.1.101
public_interface=wlan0
vlan_interface=eth0
flat_network_bridge=br100
flat_interface=eth0
dnsmasq_config_file=/etc/nova/dnsmasq-nova.conf
enable_ipv6=False
#auto_assign_floating_ip=True