<div dir="ltr"><font color="#000000" face="Microsoft YaHei, Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:14px">Assuming my understanding is correct, 2 things make you sad in the upgrade process.</span></font><div><span style="color:rgb(0,0,0);font-family:'Microsoft YaHei',Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:14px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:'Microsoft YaHei',Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:14px">1. must reconfig the 'upgrade_levels' in the config file during post-upgrade.</span></div><div><span style="color:rgb(0,0,0);font-family:'Microsoft YaHei',Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:14px">2. must restart the service in order to make the option 'upgrade_level' work.</span></div><div><span style="color:rgb(0,0,0);font-family:'Microsoft YaHei',Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:14px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:'Microsoft YaHei',Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:14px">I think the configuration management tools (e.g. chef, pupput) can solve the #1. </span></div><div><span style="color:rgb(0,0,0);font-family:'Microsoft YaHei',Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:14px">We can change the 'upgrade_level' option in config file after upgrading and sync it to all the hosts </span><font color="#000000" face="Microsoft YaHei, Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:14px">conveniently.</span></font></div><div><font color="#000000" face="Microsoft YaHei, Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#000000" face="Microsoft YaHei, Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:14px">#2 is more complex, </span></font><span style="color:rgb(0,0,0);font-family:'Microsoft YaHei',Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:14px">fortunately</span><font color="#000000" face="Microsoft YaHei, Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:14px"> there are some works to try to solve it, [1] [2].</span></font></div><div><font color="#000000" face="Microsoft YaHei, Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:14px">If all the OpenStack services can support SIGHUP, I think we just need to trigger a SIGHUP to make the services reload the config file.</span></font></div><div><font color="#000000" face="Microsoft YaHei, Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#000000" face="Microsoft YaHei, Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:14px">Correct me If I'm wrong, thanks.</span></font></div><div><font color="#000000" face="Microsoft YaHei, Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#000000" face="Microsoft YaHei, Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#000000" face="Microsoft YaHei, Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:14px">[1]: <a href="https://blueprints.launchpad.net/glance/+spec/sighup-conf-reload">https://blueprints.launchpad.net/glance/+spec/sighup-conf-reload</a></span></font></div><div><font color="#000000" face="Microsoft YaHei, Arial, Helvetica Neue, Helvetica, sans-serif"><span style="font-size:14px">[2]: <a href="https://bugs.launchpad.net/oslo-incubator/+bug/1276694">https://bugs.launchpad.net/oslo-incubator/+bug/1276694</a></span></font></div><div><span style="color:rgb(0,0,0);font-family:'Microsoft YaHei',Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:14px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:'Microsoft YaHei',Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:14px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-07 16:09 GMT+08:00 Guo, Ruijing <span dir="ltr"><<a href="mailto:ruijing.guo@intel.com" target="_blank">ruijing.guo@intel.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi, All,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">In existing design, we need to reconfig
</span>nova.conf and restart nova service during post-upgrade cleanup<u></u><u></u></p>
<p class="MsoNormal">As <a href="https://www.rdoproject.org/Upgrading_RDO_To_Icehouse" target="_blank">
https://www.rdoproject.org/Upgrading_RDO_To_Icehouse</a>:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span><span lang="EN">I propose to send RPC message to remove RPC API version pin.<u></u><u></u></span></span></p>
<p class="MsoNormal"><span><span lang="EN"><u></u> <u></u></span></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><span>1.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Stop services (same with existing)<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><span>2.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Upgrade packages (same with existing)<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><span>3.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Upgrade DB schema (same with existint)<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><span>4.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Start service with upgrade (add upgrade parameter so that nova will use old version of RPC API. We may add more parameter for other purpose including
query upgrade progress)<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><span>5.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Send RPC message to remove RPC API version pin. (we don’t need to reconfig nova.conf and restart nova service)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">What do you think?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">-Ruijing<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
</div>
</div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>