<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">I have faced this issue before. The openvswitch-plugin tries to create gre interfaces and add them to your br-tun but fails in the process. As a result of this failure the in_port
value is sent as -1 and not the actual port number as port creation failed. <br>
<br>
The error that you are seeing is only the consequence of failure to create port. You should be finding why port creation failed in first place. Normally gre interfaces will be named gre-1,2 etc. See if such ports are present in `ovs-vsctl show` output.<br>
<br>
<br>
<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF853616"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Martinx - $B%8%'!<%`%:(B [thiagocmartinsc@gmail.com]<br>
<b>Sent:</b> Thursday, May 15, 2014 12:13 PM<br>
<b>To:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> [Openstack] Need help! "Stderr: 'ovs-ofctl: -1: negative values not supported for in_port\n'"<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Guys!
<div><br>
</div>
<div>I need a bit help here...</div>
<div><br>
</div>
<div>I updated the Linux Kernel of my Ubuntu / Havana environment, to the "linux-generic-lts-trusty" but, I forgot that `openvsiwtch-dkms` doesn't work with it so, I restarted the cloud with the previous kernel (3.11.0-20-generic) but now, I'm seeing the following
error at my Network Node:</div>
<div><br>
</div>
<div>---</div>
<div>
<div><font face="courier new, monospace">2014-05-15 03:37:59.509 4889 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(,3)']. Exception: </font></div>
<div><font face="courier new, monospace">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(,3)']</font></div>
<div><font face="courier new, monospace">Exit code: 1</font></div>
<div><font face="courier new, monospace">Stdout: ''</font></div>
<div><font face="courier new, monospace">Stderr: 'ovs-ofctl: -1: negative values not supported for in_port\n'</font></div>
<div>---</div>
</div>
<div><br>
</div>
<div>All Instances are completely offline!!</div>
<div><br>
</div>
<div>What can I do to fix it?</div>
<div><br>
</div>
<div>I appreciate any help!</div>
<div><br>
</div>
<div>Thanks!</div>
<div>Thiago</div>
</div>
</div>
</div>
</div>
http://www.csscorp.com/common/email-disclaimer.php
</body>
</html>