Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Juno dvr associate floating ip reported "No ports available"

system:Centos7

tunnel_type:vxlan

Create router select centralized mode,associate floating ip no proable.

Create router select distributed mode, associate floating ip reported "No ports available". image description

my configuration:

control+network node: [root@control neutron]# grep "^[a-zA-Z[]" neutron.conf [DEFAULT] verbose = True rpc_backend = rabbit rabbit_host = 192.168.221.1 rabbit_password = 123456 auth_strategy = keystone core_plugin = ml2 service_plugins = router allow_overlapping_ips = True notify_nova_on_port_status_changes = True notify_nova_on_port_data_changes = True nova_url = http://192.168.221.1:8774/v2 nova_admin_auth_url = http://192.168.221.1:35357/v2.0 nova_region_name = regionOne nova_admin_username = nova nova_admin_tenant_id = f0c8aaa916c543e7b1013e4c745dd1f2 nova_admin_password = 123456 router_distributed = True [matchmaker_redis] [matchmaker_ring] [quotas] [agent] [keystone_authtoken] auth_uri = http://192.168.221.1:5000/v2.0 identity_uri = http://192.168.221.1:35357 admin_tenant_name = service admin_user = neutron admin_password = 123456 [database] connection = mysql://neutron:123456@192.168.221.1/neutron [service_providers] service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default [root@control neutron]# [root@control neutron]# [root@control neutron]# grep "^[a-zA-Z[]" l3_agent.ini [DEFAULT] verbose = True interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver use_namespaces = True external_network_bridge = br-ex agent_mode = dvr_snat [root@control neutron]# [root@control neutron]# [root@control neutron]# grep "^[a-zA-Z[]" plugin.ini [ml2] type_drivers = flat,vxlan tenant_network_types = vxlan mechanism_drivers = openvswitch,l2population [ml2_type_flat] flat_networks = external [ml2_type_vlan] [ml2_type_gre] [ml2_type_vxlan] vni_ranges = 1:5000 [securitygroup] enable_security_group = True enable_ipset = True firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver [ovs] tenant_network_type = vxlan tunnel_type = vxlan tunnel_id_ranges = 1:5000 integration_bridge = br-int tunnel_bridge = br-tun bridge_mapping = external:br-ex local_ip = 192.168.221.1 [agent] tunnel_types = vxlan l2_population = True enable_distributed_routing = True

compute: [root@compute01 neutron]# grep "^[a-zA-Z[]" neutron.conf [DEFAULT] verbose = True rpc_backend = rabbit rabbit_host = 192.168.221.1 rabbit_password = 123456 auth_strategy = keystone core_plugin = ml2 service_plugins = router allow_overlapping_ips = True router_distributed = True [matchmaker_redis] [matchmaker_ring] [quotas] [agent] [keystone_authtoken] auth_uri = http://192.168.221.1:5000/v2.0 identity_uri = http://192.168.221.1:35357 admin_tenant_name = service admin_user = neutron admin_password = 123456 [database] [service_providers] service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default [root@compute01 neutron]# [root@compute01 neutron]# [root@compute01 neutron]# grep "^[a-zA-Z[]" l3_agent.ini [DEFAULT] verbose = True interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver use_namespaces = True external_network_bridge = br-ex agent_mode = dvr [root@compute01 neutron]# [root@compute01 neutron]# [root@compute01 neutron]# grep "^[a-zA-Z[]" plugin.ini [ml2] type_drivers = flat,vxlan tenant_network_types = vxlan mechanism_drivers = openvswitch,l2population [ml2_type_flat] flat_networks = external [ml2_type_vlan] [ml2_type_gre] [ml2_type_vxlan] vni_ranges = 1:5000 [securitygroup] enable_security_group = True enable_ipset = True firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver [ovs] tenant_network_type = vxlan tunnel_type = vxlan tunnel_id_ranges = 1:5000 integration_bridge = br-int tunnel_bridge = br-tun bridge_mapping = external:br-ex local_ip = 192.168.221.2 [agent] tunnel_types = vxlan l2_population = True enable_distributed_routing = True

thanks!

Juno dvr associate floating ip reported "No ports available"

system:Centos7

tunnel_type:vxlan

Create router select centralized mode,associate floating ip no proable.

Create router select distributed mode, associate floating ip reported "No ports available". available".

image description

my configuration:

control+network node: node:

[root@control neutron]# grep "^[a-zA-Z[]" neutron.conf

[DEFAULT]

verbose = True

rpc_backend = rabbit

rabbit_host = 192.168.221.1

rabbit_password = 123456

auth_strategy = keystone

core_plugin = ml2

service_plugins = router

allow_overlapping_ips = True

notify_nova_on_port_status_changes = True

notify_nova_on_port_data_changes = True

nova_url = http://192.168.221.1:8774/v2

nova_admin_auth_url = http://192.168.221.1:35357/v2.0

nova_region_name = regionOne

nova_admin_username = nova

nova_admin_tenant_id = f0c8aaa916c543e7b1013e4c745dd1f2

nova_admin_password = 123456

router_distributed = True

[matchmaker_redis]

[matchmaker_ring]

[quotas]

[agent]

[keystone_authtoken]

auth_uri = http://192.168.221.1:5000/v2.0

identity_uri = http://192.168.221.1:35357

admin_tenant_name = service

admin_user = neutron

admin_password = 123456

[database]

connection = mysql://neutron:123456@192.168.221.1/neutron

[service_providers]

service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default

service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default

[root@control neutron]#

[root@control neutron]#

[root@control neutron]# grep "^[a-zA-Z[]" l3_agent.ini

[DEFAULT]

verbose = True

interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver

use_namespaces = True

external_network_bridge = br-ex

agent_mode = dvr_snat

[root@control neutron]#

[root@control neutron]#

[root@control neutron]# grep "^[a-zA-Z[]" plugin.ini

[ml2]

type_drivers = flat,vxlan

tenant_network_types = vxlan

mechanism_drivers = openvswitch,l2population

[ml2_type_flat]

flat_networks = external

[ml2_type_vlan]

[ml2_type_gre]

[ml2_type_vxlan]

vni_ranges = 1:5000

[securitygroup]

enable_security_group = True

enable_ipset = True

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

[ovs]

tenant_network_type = vxlan

tunnel_type = vxlan

tunnel_id_ranges = 1:5000

integration_bridge = br-int

tunnel_bridge = br-tun

bridge_mapping = external:br-ex

local_ip = 192.168.221.1

[agent]

tunnel_types = vxlan

l2_population = True

enable_distributed_routing = True

compute node :

[root@compute01 neutron]# grep "^[a-zA-Z[]" neutron.conf

[DEFAULT] verbose = True

rpc_backend = rabbit

rabbit_host = 192.168.221.1

rabbit_password = 123456

auth_strategy = keystone

core_plugin = ml2

service_plugins = router

allow_overlapping_ips = True notify_nova_on_port_status_changes = True notify_nova_on_port_data_changes = True nova_url = http://192.168.221.1:8774/v2 nova_admin_auth_url = http://192.168.221.1:35357/v2.0 nova_region_name = regionOne nova_admin_username = nova nova_admin_tenant_id = f0c8aaa916c543e7b1013e4c745dd1f2 nova_admin_password

router_distributed = True

[matchmaker_redis]

[matchmaker_ring]

[quotas]

[agent]

[keystone_authtoken]

auth_uri = http://192.168.221.1:5000/v2.0

identity_uri = http://192.168.221.1:35357

admin_tenant_name = service

admin_user = neutron

admin_password = 123456 router_distributed = True [matchmaker_redis] [matchmaker_ring] [quotas] [agent] [keystone_authtoken] auth_uri = http://192.168.221.1:5000/v2.0 identity_uri = http://192.168.221.1:35357 admin_tenant_name = service admin_user = neutron admin_password = 123456

[database] connection = mysql://neutron:123456@192.168.221.1/neutron

[service_providers] service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default

service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default

service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default [root@control neutron]# [root@control neutron]# [root@control

[root@compute01 neutron]#

[root@compute01 neutron]#

[root@compute01 neutron]# grep "^[a-zA-Z[]" l3_agent.ini

[DEFAULT]

verbose = True

interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver

use_namespaces = True

external_network_bridge = br-ex

agent_mode = dvr_snat [root@control neutron]# [root@control neutron]# [root@control dvr

[root@compute01 neutron]#

[root@compute01 neutron]#

[root@compute01 neutron]# grep "^[a-zA-Z[]" plugin.ini

[ml2]

type_drivers = flat,vxlan

tenant_network_types = vxlan

mechanism_drivers = openvswitch,l2population

[ml2_type_flat]

flat_networks = external

[ml2_type_vlan]

[ml2_type_gre]

[ml2_type_vxlan]

vni_ranges = 1:5000

[securitygroup]

enable_security_group = True

enable_ipset = True

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

[ovs] tenant_network_type = vxlan

tunnel_type = vxlan

tunnel_id_ranges = 1:5000

integration_bridge = br-int

tunnel_bridge = br-tun

bridge_mapping = external:br-ex

local_ip = 192.168.221.1 192.168.221.2

[agent]

tunnel_types = vxlan

l2_population = True

enable_distributed_routing = True

compute: [root@compute01 neutron]# grep "^[a-zA-Z[]" neutron.conf [DEFAULT] verbose = True rpc_backend = rabbit rabbit_host = 192.168.221.1 rabbit_password = 123456 auth_strategy = keystone core_plugin = ml2 service_plugins = router allow_overlapping_ips = True router_distributed = True [matchmaker_redis] [matchmaker_ring] [quotas] [agent] [keystone_authtoken] auth_uri = http://192.168.221.1:5000/v2.0 identity_uri = http://192.168.221.1:35357 admin_tenant_name = service admin_user = neutron admin_password = 123456 [database] [service_providers] service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default [root@compute01 neutron]# [root@compute01 neutron]# [root@compute01 neutron]# grep "^[a-zA-Z[]" l3_agent.ini [DEFAULT] verbose = True interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver use_namespaces = True external_network_bridge = br-ex agent_mode = dvr [root@compute01 neutron]# [root@compute01 neutron]# [root@compute01 neutron]# grep "^[a-zA-Z[]" plugin.ini [ml2] type_drivers = flat,vxlan tenant_network_types = vxlan mechanism_drivers = openvswitch,l2population [ml2_type_flat] flat_networks = external [ml2_type_vlan] [ml2_type_gre] [ml2_type_vxlan] vni_ranges = 1:5000 [securitygroup] enable_security_group = True enable_ipset = True firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver [ovs] tenant_network_type = vxlan tunnel_type = vxlan tunnel_id_ranges = 1:5000 integration_bridge = br-int tunnel_bridge = br-tun bridge_mapping = external:br-ex local_ip = 192.168.221.2 [agent] tunnel_types = vxlan l2_population = True enable_distributed_routing = True

thanks!

Juno dvr associate floating ip reported "No ports available"

system:Centos7

tunnel_type:vxlan

Create router select centralized mode,associate floating ip no proable.

Create router select distributed mode, associate floating ip reported "No ports available".

image description

my configuration:

control+network node:

[root@control neutron]# grep "^[a-zA-Z[]" neutron.conf

[DEFAULT] 

verbose = True

rpc_backend = rabbit

rabbit_host = 192.168.221.1

rabbit_password = 123456

auth_strategy = keystone

core_plugin = ml2

service_plugins = router

allow_overlapping_ips = True

notify_nova_on_port_status_changes = True

notify_nova_on_port_data_changes = True

nova_url = http://192.168.221.1:8774/v2

nova_admin_auth_url = http://192.168.221.1:35357/v2.0

nova_region_name = regionOne

nova_admin_username = nova

nova_admin_tenant_id = f0c8aaa916c543e7b1013e4c745dd1f2

nova_admin_password = 123456

router_distributed = True

[matchmaker_redis]

[matchmaker_ring]

[quotas]

[agent]

[keystone_authtoken]

auth_uri = http://192.168.221.1:5000/v2.0

identity_uri = http://192.168.221.1:35357

admin_tenant_name = service

admin_user = neutron

admin_password = 123456

[database]

connection = mysql://neutron:123456@192.168.221.1/neutron

[service_providers]

service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default

service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default

[root@control neutron]#

[root@control neutron]#

neutron]#

[root@control neutron]# grep "^[a-zA-Z[]" l3_agent.ini

l3_agent.ini

[DEFAULT] 

verbose = True

interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver

use_namespaces = True

external_network_bridge = br-ex

agent_mode = dvr_snat

dvr_snat

[root@control neutron]#

[root@control neutron]#

[root@control neutron]# grep "^[a-zA-Z[]" plugin.ini

plugin.ini

[ml2] 

type_drivers = flat,vxlan

tenant_network_types = vxlan

mechanism_drivers = openvswitch,l2population

[ml2_type_flat]

flat_networks = external

[ml2_type_vlan]

[ml2_type_gre]

[ml2_type_vxlan]

vni_ranges = 1:5000

[securitygroup]

enable_security_group = True

enable_ipset = True

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

[ovs]

tenant_network_type = vxlan

tunnel_type = vxlan

tunnel_id_ranges = 1:5000

integration_bridge = br-int

tunnel_bridge = br-tun

bridge_mapping = external:br-ex

local_ip = 192.168.221.1

[agent]

tunnel_types = vxlan

l2_population = True

enable_distributed_routing = True

True

compute node :

[root@compute01 neutron]# grep "^[a-zA-Z[]" neutron.conf

neutron.conf

[DEFAULT] 
verbose = True 

rpc_backend = rabbit

rabbit_host = 192.168.221.1

rabbit_password = 123456

auth_strategy = keystone

core_plugin = ml2

service_plugins = router

allow_overlapping_ips = True

router_distributed = True

[matchmaker_redis]

[matchmaker_ring]

[quotas]

[agent]

[keystone_authtoken]

auth_uri = http://192.168.221.1:5000/v2.0

identity_uri = http://192.168.221.1:35357

admin_tenant_name = service

admin_user = neutron

admin_password = 123456

[database]

[service_providers]

service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default

service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default

service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default

[root@compute01 neutron]#

[root@compute01 neutron]#

[root@compute01 neutron]# grep "^[a-zA-Z[]" l3_agent.ini

l3_agent.ini

[DEFAULT] 

verbose = True

interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver

use_namespaces = True

external_network_bridge = br-ex

agent_mode = dvr

dvr

[root@compute01 neutron]#

[root@compute01 neutron]#

[root@compute01 neutron]# grep "^[a-zA-Z[]" plugin.ini

plugin.ini

[ml2] 

type_drivers = flat,vxlan

tenant_network_types = vxlan

mechanism_drivers = openvswitch,l2population

[ml2_type_flat]

flat_networks = external

[ml2_type_vlan]

[ml2_type_gre]

[ml2_type_vxlan]

vni_ranges = 1:5000

[securitygroup]

enable_security_group = True

enable_ipset = True

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

[ovs] tenant_network_type = vxlan

tunnel_type = vxlan

tunnel_id_ranges = 1:5000

integration_bridge = br-int

tunnel_bridge = br-tun

bridge_mapping = external:br-ex

local_ip = 192.168.221.2

[agent]

tunnel_types = vxlan

l2_population = True

enable_distributed_routing = True

True

thanks!

Juno dvr associate floating ip reported "No ports available"

system:Centos7

tunnel_type:vxlan

Create router select centralized mode,associate floating ip no proable.problem.

Create router select distributed mode, associate floating ip reported "No ports available".

image description

my configuration:

control+network node:

[root@control neutron]# grep "^[a-zA-Z[]" neutron.conf

[DEFAULT] 

verbose = True 

rpc_backend = rabbit 

rabbit_host = 192.168.221.1 

rabbit_password = 123456 

auth_strategy = keystone 

core_plugin = ml2 

service_plugins = router 

allow_overlapping_ips = True 

notify_nova_on_port_status_changes = True 

notify_nova_on_port_data_changes = True 

nova_url = http://192.168.221.1:8774/v2 

nova_admin_auth_url = http://192.168.221.1:35357/v2.0 

nova_region_name = regionOne 

nova_admin_username = nova 

nova_admin_tenant_id = f0c8aaa916c543e7b1013e4c745dd1f2 

nova_admin_password = 123456 

router_distributed = True 

[matchmaker_redis] 

[matchmaker_ring] 

[quotas] 

[agent] 

[keystone_authtoken] 

auth_uri = http://192.168.221.1:5000/v2.0 

identity_uri = http://192.168.221.1:35357 

admin_tenant_name = service 

admin_user = neutron 

admin_password = 123456 

[database] 

connection = mysql://neutron:123456@192.168.221.1/neutron 

[service_providers] 

service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default

service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default 

[root@control neutron]# 

[root@control neutron]#

[root@control neutron]# grep "^[a-zA-Z[]" l3_agent.ini

[DEFAULT] 

verbose = True 

interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver 

use_namespaces = True 

external_network_bridge = br-ex 

agent_mode = dvr_snat

[root@control neutron]#

[root@control neutron]#

[root@control neutron]# grep "^[a-zA-Z[]" plugin.ini

[ml2] 

type_drivers = flat,vxlan 

tenant_network_types = vxlan 

mechanism_drivers = openvswitch,l2population 

[ml2_type_flat] 

flat_networks = external 

[ml2_type_vlan] 

[ml2_type_gre] 

[ml2_type_vxlan] 

vni_ranges = 1:5000 

[securitygroup] 

enable_security_group = True 

enable_ipset = True 

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver 

[ovs] 

tenant_network_type = vxlan 

tunnel_type = vxlan 

tunnel_id_ranges = 1:5000 

integration_bridge = br-int 

tunnel_bridge = br-tun 

bridge_mapping = external:br-ex 

local_ip = 192.168.221.1 

[agent] 

tunnel_types = vxlan 

l2_population = True 

enable_distributed_routing = True

compute node :

[root@compute01 neutron]# grep "^[a-zA-Z[]" neutron.conf

[DEFAULT] 
verbose = True 

rpc_backend = rabbit 

rabbit_host = 192.168.221.1 

rabbit_password = 123456 

auth_strategy = keystone 

core_plugin = ml2 

service_plugins = router 

allow_overlapping_ips = True 

router_distributed = True 

[matchmaker_redis] 

[matchmaker_ring] 

[quotas] 

[agent] 

[keystone_authtoken] 

auth_uri = http://192.168.221.1:5000/v2.0 

identity_uri = http://192.168.221.1:35357 

admin_tenant_name = service 

admin_user = neutron 

admin_password = 123456 

[database] 

[service_providers] 

service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default

service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default

[root@compute01 neutron]#

[root@compute01 neutron]#

[root@compute01 neutron]# grep "^[a-zA-Z[]" l3_agent.ini

[DEFAULT] 

verbose = True 

interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver 

use_namespaces = True 

external_network_bridge = br-ex 

agent_mode = dvr

[root@compute01 neutron]#

[root@compute01 neutron]#

[root@compute01 neutron]# grep "^[a-zA-Z[]" plugin.ini

[ml2] 

type_drivers = flat,vxlan 

tenant_network_types = vxlan 

mechanism_drivers = openvswitch,l2population 

[ml2_type_flat] 

flat_networks = external 

[ml2_type_vlan] 

[ml2_type_gre] 

[ml2_type_vxlan] 

vni_ranges = 1:5000 

[securitygroup] 

enable_security_group = True 

enable_ipset = True 

firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver 

[ovs] 
tenant_network_type = vxlan 

tunnel_type = vxlan 

tunnel_id_ranges = 1:5000 

integration_bridge = br-int 

tunnel_bridge = br-tun 

bridge_mapping = external:br-ex 

local_ip = 192.168.221.2 

[agent] 

tunnel_types = vxlan 

l2_population = True 

enable_distributed_routing = True

thanks!