[Expired for neutron because there has been no activity for 60 days.] ** Changed in: neutron Status: Incomplete => Expired
-- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1238445 Title: cannot connect to VMs via gre tunnel with openvswitch Status in OpenStack Neutron (virtual network service): Expired Bug description: I can not connect to VM via GRE tunnel with openvswitch. my environments are * 3 nodes (controller, network, compute) * openvswitch and tunnel_type : gre network node and compute node have such /etc/neutron/plugins/openvswitch/ovs_neuron_plugin.ini [ovs] tenant_network_type = gre network_vlan_ranges = enable_tunneling = True tunnel_type = gre tunnel_id_ranges = 1:1000 integration_bridge = br-int tunnel_bridge = br-tun local_ip = 10.200.10.59 bridge_mappings = physnet1:br-eth1 [agent] [securitygroup] firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver [database] connection = mysql://ovsuser:ovsuser@10.200.10.57:3306/ovs_neutron openvswitch agent on network node has no error. on compute node has such error messages. 2013-10-11 14:57:59.880 11214 ERROR neutron.agent.linux.ovs_lib [-] Unable to execute ['ovs-ofctl', 'add-flow', 'br-tun', 'hard_timeout=0,idle_timeout=0,priority=1,in_port=-1,actions=resubmit(,2)']. Exception: Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'add-flow', 'br-tun', 'hard_timeout=0,idle_timeout=0,priority=1,in_port=-1,actions=resubmit(,2)'] Exit code: 1 Stdout: '' Stderr: 'ovs-ofctl: -1: negative values not supported for in_port\n' this error is openvswitch's standard error. setup_tunnel_port() function on neutron/plugins/openvswitch/agent/ovs_neutron_agent.py has code such as ... if ofport < 0: LOG.error(_("Failed to set-up %(type)s tunnel port to %(ip)s"), {'type': tunnel_type, 'ip': remote_ip}) return 0 ofport include strings. "if int(ofport) < 0" is correct ? this is not problem.. So network node and compute node have tunnel settings with openvswitch. network# ovs-vsctl show | grep remote options: {in_key=flow, local_ip="10.200.10.58", out_key=flow, remote_ip="10.200.10.59"} compute# ovs-vsctl show | grep remote options: {in_key=flow, local_ip="10.200.10.59", out_key=flow, remote_ip="10.200.10.58"} but ovs-ofctl shows that there is no gre-1 on compute node. compute# ovs-ofctl show br-tun <...snip...> 1(patch-int): addr:12:06:8c:21:76:a0 config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max LOCAL(br-tun): addr:36:20:55:99:a1:45 config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0 There is gre-2 on network node. # ovs-ofctl show br-tun <...snip...> 1(patch-int): addr:7a:2d:5e:02:e3:fe config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max 2(gre-2): addr:32:86:3c:69:0e:c3 config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max LOCAL(br-tun): addr:96:ea:54:a0:fb:4e config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0 Any Idea ? Thanks. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1238445/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp