Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

DHCP from instance is not reaching the DHCP Server

I'm trying to configure Neutron with OpenvSwitch and GRE tunneling, with 2 servers: One of them it's a controller and compute node, and the other it's only a compute node.

When OpenStack launch the instance into the controller, it's OK, the instance has IP, but when it's launched into the other, the instance is configured without IP, but I can see in Horizon that this instance has IP (for example I can see 10.0.0.100 but when I do "ifconfig" in the instance, it hasn't got IP and I can't ping on it).

I'm using KVM with Libvirth. My controller has 192.168.122.200, and the compute 192.168.122.201.

Controller: /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini: [OVS] vxlan_udp_port=4789 network_vlan_ranges=physnet:1000:2000 local_ip=192.168.122.201 enable_tunneling=True integration_bridge=br-int tunnel_type=gre tunnel_id_ranges=1:1000 tunnel_bridge=br-tun tenant_network_type=gre

[AGENT] polling_interval=2

[SECURITYGROUP] firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

Compute: /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini: [OVS] vxlan_udp_port=4789 network_vlan_ranges=physnet:1000:2000 local_ip=192.168.122.201 enable_tunneling=True integration_bridge=br-int tunnel_type=gre tunnel_id_ranges=1:1000 tunnel_bridge=br-tun tenant_network_type=gre

[AGENT] polling_interval=2

[SECURITYGROUP] firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

neutron agent-list:

+--------------------------------------+--------------------+------------+-------+----------------+

| id | agent_type | host | alive | admin_state_up |

+--------------------------------------+--------------------+------------+-------+----------------+

...

| 2824eb92-eec8-4731-b432-b1960cd8c4e8 | Open vSwitch agent | comp1 | :-) | True |

| 730e40e2-f9db-4281-9418-caf3bebf990e | Open vSwitch agent | controller | :-) | True |

...

+--------------------------------------+--------------------+------------+-------+----------------+

Any ideas? Thanks!

DHCP from instance is not reaching the DHCP Server

I'm trying to configure Neutron with OpenvSwitch and GRE tunneling, with 2 servers: One of them it's a controller and compute node, and the other it's only a compute node.

When OpenStack launch the instance into the controller, it's OK, the instance has IP, but when it's launched into the other, the instance is configured without IP, but I can see in Horizon that this instance has IP (for example I can see 10.0.0.100 but when I do "ifconfig" in the instance, it hasn't got IP and I can't ping on it).

I'm using KVM with Libvirth. My controller has 192.168.122.200, and the compute 192.168.122.201.

Controller: /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini:
[OVS]
vxlan_udp_port=4789
network_vlan_ranges=physnet:1000:2000
local_ip=192.168.122.201
enable_tunneling=True
integration_bridge=br-int
tunnel_type=gre
tunnel_id_ranges=1:1000
tunnel_bridge=br-tun
tenant_network_type=gre

tenant_network_type=gre [AGENT] polling_interval=2

polling_interval=2 [SECURITYGROUP] firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver Compute: /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini: [OVS] vxlan_udp_port=4789 network_vlan_ranges=physnet:1000:2000 local_ip=192.168.122.201 enable_tunneling=True integration_bridge=br-int tunnel_type=gre tunnel_id_ranges=1:1000 tunnel_bridge=br-tun tenant_network_type=gre

tenant_network_type=gre [AGENT] polling_interval=2

polling_interval=2 [SECURITYGROUP] firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver neutron agent-list:

+--------------------------------------+--------------------+------------+-------+----------------+

agent-list: +--------------------------------------+--------------------+------------+-------+----------------+ | id | agent_type | host | alive | admin_state_up |

+--------------------------------------+--------------------+------------+-------+----------------+

...

| +--------------------------------------+--------------------+------------+-------+----------------+ ... | 2824eb92-eec8-4731-b432-b1960cd8c4e8 | Open vSwitch agent | comp1 | :-) | True |

| | 730e40e2-f9db-4281-9418-caf3bebf990e | Open vSwitch agent | controller | :-) | True |

...

+--------------------------------------+--------------------+------------+-------+----------------+

| ... +--------------------------------------+--------------------+------------+-------+----------------+ Any ideas? Thanks!

Thanks!