<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 24 Mar 2019 at 00:35, Mohammed Naser <<a href="mailto:mnaser@vexxhost.com">mnaser@vexxhost.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello:<br>
<br>
I've discussed this for quite sometime with Dan over IRC and a bit<br>
with Zane as well, but basically, Nova thinks that when it gets a<br>
reload (aka SIGHUP), nothing else has occurred.<br>
<br>
However, oslo.service actually calls stop(), reload() then start()<br>
again, which potentially kills all RPC.  This has caused a pretty big<br>
issue in our gates and it also means that the whole idea behind<br>
'reload nova-compute while upgrading to refresh info' concept is<br>
fundamentally broken.<br>
<br>
I tried to do some work on this here, however, I wasn't really able to<br>
get to the bottom of it.  There seems to be a decision that needs to<br>
be taken in terms of .. do we change what reload() actually means in<br>
oslo_service (it actually is more like a restart, not a reload) or<br>
does Nova (and other projects) change their implementation in assuming<br>
what reload() does?<br>
<br>
<a href="https://review.openstack.org/#/c/641907/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/641907/</a><br>
<br>
This seems to have been floating around for a really long time, so I'd<br>
be happy to work with someone to find the fix (and we can totally test<br>
it inside OpenStack Ansible by reloading instead of restarting).<br>
<br></blockquote><div><span class="gmail_default" style="font-family:verdana,sans-serif">Thanks for bringing this up Mohammed, I would also like</span> <span class="gmail_default" style="font-family:verdana,sans-serif">to see a solution for this. We go with a hard restart of the service in kolla-ansible as a workaround. It would be nice it we could do a more lightweight HUP.</span></div><div><span class="gmail_default" style="font-family:verdana,sans-serif"></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks!<br>
Mohammed<br>
<br>
-- <br>
Mohammed Naser — vexxhost<br>
-----------------------------------------------------<br>
D. 514-316-8872<br>
D. 800-910-1726 ext. 200<br>
E. <a href="mailto:mnaser@vexxhost.com" target="_blank">mnaser@vexxhost.com</a><br>
W. <a href="http://vexxhost.com" rel="noreferrer" target="_blank">http://vexxhost.com</a><br>
<br>
</blockquote></div></div>