<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 31, 2014 at 4:36 PM, Robert van Leeuwen <span dir="ltr"><<a href="mailto:Robert.vanLeeuwen@spilgames.com" target="_blank">Robert.vanLeeuwen@spilgames.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<div style="font-size:16px;font-family:Times New Roman">
<div>
<div dir="ltr"><div class="">> To fix this, i must run "<b>service neutron-plugin-openvswitch-agent restart</b>" on compute-nodes that these
<br>
> instances is hosted.<br>
<div>> After restart neutron-agent, i can ping these instances normally. </div>
<br></div>
I cannot help you with a "fix" but this is what I would do:<br>
<br>
1) Check if there is a proper bug report which describes your issue<br>
(ways to reproduce and what EXACTLY goes wrong, without this it is hard for devs to fix it)<br></div></div></div></div></div></blockquote><div><font size="4"><span style="font-family:tahoma,sans-serif"><font>I already wrote it. The way to reproduce is:<br>
# for server_id in `nova list | grep ACTIVE | awk '{print $2}'`;do echo $server_id ; nova reboot --hard $server_id; done<br>
or<br># for server_id in `nova list | grep ACTIVE | awk '{print $2}'`;do echo $server_id ; nova reboot $server_id; done<br>Indeed, you don't need to reboot all instance, just reboot some instances on the same host simultaneuously. And this error will occurs.</font></span><br>
</font> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="direction:ltr;font-size:10pt;font-family:Tahoma"><div style="font-size:16px;font-family:Times New Roman">
<div><div dir="ltr">
2 ) If there is no bug report make sure it is not something wrong with your own setup.<br>
My first guess would be that the flows to allow traffic are not created. (check with "ovs-ofctl dump-flows $bridge)<br>
Now find out why:<br>
I would enable (debug) logging on the neutron-agent. <br>
Trigger the issue and look through the neutron logs to see if there is anything useful in there.<br></div></div></div></div></div></blockquote><div><span style="font-family:tahoma,sans-serif">I know the reason is relate to flows. Sorry for not enough info. With instance reboot & ping success, i see the line like this in /var/log/neutron/openvswitch-agent.log:<br>
<b>'sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf',
      'ovs-vsctl', '--timeout=2', 'set', 'Port', 'tapdc13282e-b
      3', 'tag=2'</b><br><br></span></div><div><span style="font-family:tahoma,sans-serif"><b>But with instances i can not ping, i don't see the line in openvswitch-agent.log </b><br><br></span></div><div>
Best Regards,<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<div style="font-size:16px;font-family:Times New Roman"><div><div dir="ltr">
3) Depending on outcome of step two: Fix a issue in the setup / ask for help in the maillinglists / create a bug report with all the info you can gather.<br>
<br>
<br>
Cheers,<br>
Robert van Leeuwen<br>
<br>
</div>
</div>
</div>
</div>
</div>

</blockquote></div><br></div></div>