<div dir="ltr"><div>Hi All,<br><br></div><div>Sorry. I wrong write. I have dedicated controller, compute and networking nodes running on Centos 6.5 with Icehouse.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-05-23 9:49 GMT+03:00 mehmet hacısalihoğlu <span dir="ltr"><<a href="mailto:esedmehmet@gmail.com" target="_blank">esedmehmet@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>I have dedicated controller, compute and networking nodes running on Ubuntu12.04 with Havana. The problem is on Neutron node, when I create a router and attach a public and private network to it. I am using VLAN to connect nodes.<br>
<br>The findings are<br>
1. The tap and qr ports connected to br-int are always down.<br># ovs-ofctl show br-int<br>OFPT_FEATURES_REPLY (xid=0x2): dpid:00004e07ed035c4c<br>n_tables:254, n_buffers:256<br>capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP<br>
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE<br> 1(int-br-vmdata): addr:96:2b:d8:0a:38:55<br> config: 0<br> state: 0<br>
current: 10GB-FD COPPER<br> speed: 10000 Mbps now, 0 Mbps max<br> 2(tap874e41ef-a9): addr:d1:01:00:00:00:00<br> config: PORT_DOWN<br> state: LINK_DOWN<br> speed: 0 Mbps now, 0 Mbps max<br>
3(qr-40b9f8ab-af): addr:d3:01:00:00:00:00<br> config: PORT_DOWN<br> state: LINK_DOWN<br> speed: 0 Mbps now, 0 Mbps max<br> LOCAL(br-int): addr:4e:07:ed:03:5c:4c<br> config: 0<br> state: 0<br>
speed: 0 Mbps now, 0 Mbps max<br>OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0<br><br>2. It is similar to qg interface<br>
# ovs-ofctl show br-ex<br>OFPT_FEATURES_REPLY (xid=0x2): dpid:0000984be10c6edc<br>n_tables:254, n_buffers:256<br>capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP<br>actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE<br>
1(eth2): addr:98:4b:e1:0c:6e:dc<br> config: 0<br> state: 0<br> current: 1GB-FD COPPER AUTO_NEG<br> advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD AUTO_NEG<br> supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG<br>
speed: 1000 Mbps now, 1000 Mbps max<br> 2(qg-164b330d-e6): addr:d3:01:00:00:00:00<br> config: PORT_DOWN<br> state: LINK_DOWN<br> speed: 0 Mbps now, 0 Mbps max<br> LOCAL(br-ex): addr:98:4b:e1:0c:6e:dc<br>
config: 0<br> state: 0<br> speed: 0 Mbps now, 0 Mbps max<br>OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0<br><br><br>3. However, the VMDATA between Networking and Compute nodes is up and running.<br>
# ovs-ofctl show br-vmdata<br>OFPT_FEATURES_REPLY (xid=0x2): dpid:0000984be10c6eda<br>n_tables:254, n_buffers:256<br>capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP<br>actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE<br>
1(eth1): addr:98:4b:e1:0c:6e:da<br> config: 0<br> state: 0<br> current: 1GB-FD COPPER AUTO_NEG<br> advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD AUTO_NEG<br> supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG<br>
speed: 1000 Mbps now, 1000 Mbps max<br> 2(phy-br-vmdata): addr:26:20:c0:6e:31:9a<br> config: 0<br> state: 0<br> current: 10GB-FD COPPER<br> speed: 10000 Mbps now, 0 Mbps max<br> LOCAL(br-vmdata): addr:98:4b:e1:0c:6e:da<br>
config: 0<br> state: 0<br> speed: 0 Mbps now, 0 Mbps max<br>OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0<br><br><br>Here are my configuration files<br>cat /etc/neutron/dhcp_agent.ini <br>
[DEFAULT]<br>debug = False<br>resync_interval = 30<br>interface_driver =neutron.agent.linux.interface.OVSInterfaceDriver<br>dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq<br>use_namespaces = True<br>enable_isolated_metadata = False<br>
enable_metadata_network = False<br>dhcp_delete_namespaces = False<br>root_helper=sudo neutron-rootwrap /etc/neutron/rootwrap.conf<br>state_path=/var/lib/neutron<br><br><br># grep -v ^# /etc/neutron/l3_agent.ini | grep -v ^$<br>
[DEFAULT]<br>debug = False<br>interface_driver =neutron.agent.linux.interface.OVSInterfaceDriver<br>use_namespaces = True<br>handle_internal_only_routers = True<br>external_network_bridge = br-ex<br>metadata_port = 9697<br>
send_arp_for_ha = 3<br>periodic_interval = 40<br>periodic_fuzzy_delay = 5<br>enable_metadata_proxy = True<br>router_delete_namespaces = False<br><br><br># grep -v ^# /etc/neutron/neutron.conf | grep -v ^$<br>[DEFAULT]<br>
verbose = True<br>debug = False<br>use_syslog = False<br>log_dir =/var/log/neutron<br>bind_host = 0.0.0.0<br>bind_port = 9696<br>core_plugin =neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2<br>auth_strategy = keystone<br>
base_mac = fa:16:3e:00:00:00<br>mac_generation_retries = 16<br>dhcp_lease_duration = 86400<br>allow_bulk = True<br>allow_pagination = False<br>allow_sorting = False<br>allow_overlapping_ips = True<br>rpc_backend = neutron.openstack.common.rpc.impl_kombu<br>
control_exchange = neutron<br>rabbit_host = 10.1.34.70<br>rabbit_password = guest<br>rabbit_port = 5672<br>rabbit_hosts = <a href="http://10.1.34.70:5672" target="_blank">10.1.34.70:5672</a><br>rabbit_userid = guest<br>rabbit_virtual_host = /<br>
rabbit_ha_queues = False<br>agent_down_time = 75<br>router_scheduler_driver = neutron.scheduler.l3_agent_scheduler.ChanceScheduler<br>dhcp_agents_per_network = 1<br>api_workers = 0<br>notify_nova_on_port_status_changes = True<br>
notify_nova_on_port_data_changes = True<br>nova_url = <a href="http://10.1.34.70:8774/v2" target="_blank">http://10.1.34.70:8774/v2</a><br>nova_region_name =RegionOne<br>nova_admin_username =nova<br>nova_admin_tenant_id =7e5c9f4a11084743953b3c3b40fafd8e<br>
nova_admin_password =4ebdac369b1d4f62<br>nova_admin_auth_url =<a href="http://10.1.34.70:35357/v2.0" target="_blank">http://10.1.34.70:35357/v2.0</a><br>send_events_interval = 2<br>[quotas]<br>[agent]<br>root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf<br>
report_interval = 30<br>[keystone_authtoken]<br>auth_host = 10.1.34.70<br>auth_port = 35357<br>auth_protocol = http<br>admin_tenant_name = services<br>admin_user = neutron<br>admin_password = f12dbb3fd3164488<br>auth_uri=<a href="http://10.1.34.70:5000/" target="_blank">http://10.1.34.70:5000/</a><br>
[database]<br>connection = mysql://<a href="http://neutron:a4eec85c980f4115@10.1.34.70/ovs_neutron" target="_blank">neutron:a4eec85c980f4115@10.1.34.70/ovs_neutron</a><br>max_retries = 10<br>retry_interval = 10<br>idle_timeout = 3600<br>
[service_providers]<br>service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default<br><br># grep -v ^# /etc/neutron/api-paste.ini | grep -v ^$<br>[filter:authtoken]<br>admin_user=neutron<br>
auth_port=35357<br>admin_password=f12dbb3fd3164488<br>auth_protocol=http<br>auth_uri=<a href="http://10.1.34.70:5000/" target="_blank">http://10.1.34.70:5000/</a><br>admin_tenant_name=services<br>auth_host=10.1.34.70<br>
<br><br># grep -v ^# /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini | grep -v ^$<br>
[ovs]<br>[agent]<br>[securitygroup]<br>[OVS]<br>network_vlan_ranges=vmdata:1:4094<br>tenant_network_type=vlan<br>enable_tunneling=False<br>integration_bridge=br-int<br>bridge_mappings=vmdata:br-vmdata<br>[AGENT]<br>polling_interval=2<br>
[SECURITYGROUP]<br>firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver<br><br>I am running out of clue to correct this, any help is appreciated.<br><br></div>Regards.<br></div>
</blockquote></div><br></div>