<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
From the performance perspective it will require additional CPU time
because of the need to run that bash script.<br>
I will try to prepare it as simple as possible but probability that
it will kill server when there will be spawned huge amount of
routers is not so big - after the implementation we can test CPU
utilization with this validation enabled.<br>
<br>
Cheers,<br>
Lubosz (diltram) Kosnik<br>
<br>
<div class="moz-cite-prefix">On 01/22/2016 09:43 AM, Anna
Kamyshnikova wrote:<br>
</div>
<blockquote
cite="mid:CAOBv_tLX+ToBRyZjVdh3DKy21R2FuaGqHivf2rPLjb+Um1Gv=A@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">Hi!
<div><br>
</div>
<div>This is great that you look into this issue! I think that
first solution looks more solid, my concern here is how does
this will affect the performance?</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Jan 21, 2016 at 12:12 PM,
Lubosz Kosnik <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:lubosz.kosnik@intel.com" target="_blank">lubosz.kosnik@intel.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">He
neutrinos,<br>
<br>
Currently I'm working on this bug [1]. Almost one year ago
Yoni Shafrir prepared a patch to fix this issue but he got
in review information that this solution must be changed
because it's using only one script to check the GW
availability and because of that it cannot be used in multi
tenat environment.<br>
I tooked his code and was trying to upgrade that code to
support multiple scripts but I was designed separate
solution for that.<br>
I would like to know what do you think about this solution.<br>
<br>
1. Add bash script generator to
neutron/agent/linux/keepalived.py<br>
2. There will be one script per one keepalived instance per
node<br>
3. There are two possible solutions for checking is
everything is working OK. Script will verify:<br>
a. That all interfaces are up - internal router
interfaces in namespace, external interface taken from
neutron configuration file and also br-tun/br-int
interfaces.<br>
b. That GW is pingable from router NS - there is only
one problem what if GW is not configured in router already -
plus we could ping other network node or other server which
IP is specified in some configuration.<br>
<br>
That solution will also fix this issue [2].<br>
I would hear from you what do you think about that two
possible solutions and what do you think about whole
solution at all.<br>
<br>
Cheers,<br>
Lubosz (diltram) Kosnik<br>
<br>
[1] <a moz-do-not-send="true"
href="https://bugs.launchpad.net/neutron/+bug/1365461"
rel="noreferrer" target="_blank">https://bugs.launchpad.net/neutron/+bug/1365461</a><br>
[2] <a moz-do-not-send="true"
href="https://bugs.launchpad.net/neutron/+bug/1375625"
rel="noreferrer" target="_blank">https://bugs.launchpad.net/neutron/+bug/1375625</a><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a moz-do-not-send="true"
href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe"
rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">Regards,
<div>Ann Kamyshnikova</div>
<div>Mirantis, Inc</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>