<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:679312888;
mso-list-type:hybrid;
mso-list-template-ids:-1976513322 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1
{mso-list-id:1572157771;
mso-list-template-ids:1642773032;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Yan, thank you for making this very clear.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">As I read this, the puppet modules we use for the openstack clients are several releases old and the update to the Train version would be painful, er I mean lots of fun.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I think we need some input from the broader community.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">What are the costs / risks of upgrading to puppet 5.0?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Should we try to upgrade the client puppet modules ourselves (and contribute the changes upstream)? Or is there a better long way we should launch these clients, e.g. should we just write Ansible installers
for them?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">My thanks to Dean for helping me understand what questions to ask
</span><span style="font-family:Wingdings;color:#1F497D">J</span><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> brucej<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><a name="_____replyseparator"></a><b>From:</b> Chen, Yan [mailto:yan.chen@intel.com]
<br>
<b>Sent:</b> Tuesday, October 15, 2019 10:43 PM<br>
<b>To:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> [Starlingx-discuss] Train upgrade for openstack clients<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m now trying to upgrade the openstack clients installed on StarlingX to Train version.<o:p></o:p></p>
<p class="MsoNormal">Currently I see the clients are Stein version, but the puppet packages (for those modules that we need to config on StarlingX host) are still old versions. [See the list below.]<o:p></o:p></p>
<p class="MsoNormal">But for Train, I met a problem when I wanted to upgrade python-openstackclient/keystone to Train (4.0.0), the old puppet packages cannot work with Train clients and failed when running puppet-manifest-apply.sh.<o:p></o:p></p>
<p class="MsoNormal">See from Stein keystone log, some of the deprecated cmds and options are planned to be removed in Train.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If we want to make Train clients work, we may need to do the following steps:<o:p></o:p></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoNormal" style="mso-list:l0 level1 lfo3">Upgrade puppet itself (required 5.x by Train)<o:p></o:p></li><li class="MsoNormal" style="mso-list:l0 level1 lfo3">Upgrade all the OpenStack related puppet packages accordingly, and update StarlingX patches.<o:p></o:p></li><li class="MsoNormal" style="mso-list:l0 level1 lfo3">If flock puppet pkgs are based on puppet 4.8.2, we also need to upgrade our code.<o:p></o:p></li><li class="MsoNormal" style="mso-list:l0 level1 lfo3">If other puppet pkgs are based on puppet 4.8.2, we also need to upgrade those pkgs.<o:p></o:p></li></ol>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So is it possible that we keep on using Stein clients with limited test now (need test with Train images, but suppose old functions should still work)?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here’s the list of the puppet packages and StarlingX patches (for Stein it should be 14.1.0 – 14.4.0, and for Train 15.0.0 – 15.4.0):<o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="0" style="width:394.0pt;border-collapse:collapse">
<tbody>
<tr style="height:.2in">
<td width="128" nowrap="" valign="bottom" style="width:96.0pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><b><span style="color:black">Pkg<o:p></o:p></span></b></p>
</td>
<td width="103" nowrap="" valign="bottom" style="width:77.0pt;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><b><span style="color:black">Current Version <o:p></o:p></span></b></p>
</td>
<td width="103" nowrap="" valign="bottom" style="width:77.0pt;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><b><span style="color:black">Train<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="color:black">Upgrade to<o:p></o:p></span></b></p>
</td>
<td width="96" nowrap="" valign="bottom" style="width:1.0in;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><b><span style="color:black">Meta Patch<o:p></o:p></span></b></p>
</td>
<td width="96" nowrap="" valign="bottom" style="width:1.0in;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><b><span style="color:black">Patch<o:p></o:p></span></b></p>
</td>
</tr>
<tr style="height:.2in">
<td width="128" nowrap="" valign="bottom" style="width:96.0pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">puppet<o:p></o:p></span></p>
</td>
<td width="103" nowrap="" valign="bottom" style="width:77.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">4.8.2<o:p></o:p></span></p>
</td>
<td width="103" nowrap="" valign="bottom" style="width:77.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">5.x<o:p></o:p></span></p>
</td>
<td width="96" nowrap="" valign="bottom" style="width:1.0in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal" align="right" style="text-align:right"><span style="color:black">2<o:p></o:p></span></p>
</td>
<td width="96" nowrap="" valign="bottom" style="width:1.0in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal" align="right" style="text-align:right"><span style="color:black">5<o:p></o:p></span></p>
</td>
</tr>
<tr style="height:.2in">
<td width="128" nowrap="" valign="bottom" style="width:96.0pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">puppet-keystone<o:p></o:p></span></p>
</td>
<td width="103" nowrap="" valign="bottom" style="width:77.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">11.3.0<o:p></o:p></span></p>
</td>
<td width="103" nowrap="" valign="bottom" style="width:77.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">15.x<o:p></o:p></span></p>
</td>
<td width="96" nowrap="" valign="bottom" style="width:1.0in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal" align="right" style="text-align:right"><span style="color:black">6<o:p></o:p></span></p>
</td>
<td width="96" nowrap="" valign="bottom" style="width:1.0in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal" align="right" style="text-align:right"><span style="color:black">5<o:p></o:p></span></p>
</td>
</tr>
<tr style="height:.2in">
<td width="128" nowrap="" valign="bottom" style="width:96.0pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">puppet-oslo<o:p></o:p></span></p>
</td>
<td width="103" nowrap="" valign="bottom" style="width:77.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">11.3.0<o:p></o:p></span></p>
</td>
<td width="103" nowrap="" valign="bottom" style="width:77.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">15.x<o:p></o:p></span></p>
</td>
<td width="96" nowrap="" valign="bottom" style="width:1.0in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal" align="right" style="text-align:right"><span style="color:black">3<o:p></o:p></span></p>
</td>
<td width="96" nowrap="" valign="bottom" style="width:1.0in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal" align="right" style="text-align:right"><span style="color:black">2<o:p></o:p></span></p>
</td>
</tr>
<tr style="height:.2in">
<td width="128" nowrap="" valign="bottom" style="width:96.0pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">puppet-openstacklib<o:p></o:p></span></p>
</td>
<td width="103" nowrap="" valign="bottom" style="width:77.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">11.5.0<o:p></o:p></span></p>
</td>
<td width="103" nowrap="" valign="bottom" style="width:77.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">15.x<o:p></o:p></span></p>
</td>
<td width="96" nowrap="" valign="bottom" style="width:1.0in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal" align="right" style="text-align:right"><span style="color:black">2<o:p></o:p></span></p>
</td>
<td width="96" nowrap="" valign="bottom" style="width:1.0in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal" align="right" style="text-align:right"><span style="color:black">1<o:p></o:p></span></p>
</td>
</tr>
<tr style="height:.2in">
<td width="128" nowrap="" valign="bottom" style="width:96.0pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">puppet-horizon<o:p></o:p></span></p>
</td>
<td width="103" nowrap="" valign="bottom" style="width:77.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">11.5.0<o:p></o:p></span></p>
</td>
<td width="103" nowrap="" valign="bottom" style="width:77.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">15.x<o:p></o:p></span></p>
</td>
<td width="96" nowrap="" valign="bottom" style="width:1.0in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal" align="right" style="text-align:right"><span style="color:black">2<o:p></o:p></span></p>
</td>
<td width="96" nowrap="" valign="bottom" style="width:1.0in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal" align="right" style="text-align:right"><span style="color:black">1<o:p></o:p></span></p>
</td>
</tr>
<tr style="height:.2in">
<td width="128" nowrap="" valign="bottom" style="width:96.0pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">puppet-barbican<o:p></o:p></span></p>
</td>
<td width="103" nowrap="" valign="bottom" style="width:77.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">11.3.0<o:p></o:p></span></p>
</td>
<td width="103" nowrap="" valign="bottom" style="width:77.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal"><span style="color:black">15.x<o:p></o:p></span></p>
</td>
<td width="96" nowrap="" valign="bottom" style="width:1.0in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal" align="right" style="text-align:right"><span style="color:black">0<o:p></o:p></span></p>
</td>
<td width="96" nowrap="" valign="bottom" style="width:1.0in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:.2in">
<p class="MsoNormal" align="right" style="text-align:right"><span style="color:black">0<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Stein Keystone client logs:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">keystone:log 2019-10-10 10:04:44.050 111346 WARNING keystone.server.flask.request_processing.middleware.auth_context [-] The use of the '[DEFAULT] admin_token' configurationoption presents a significant security
risk and should not be set. <span style="color:red">This option is deprecated in favor of using 'keystone-manage bootstrap' and will be removed in a future release.</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Yan<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>