<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:x="urn:schemas-microsoft-com:office:excel" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" 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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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:blue;
text-decoration:underline;}
span.EmailStyle20
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello Yu ChanDer,<o:p></o:p></p>
<p class="MsoNormal">I don’t know the answer to your question, but I don’t believe you can just update stx master to use python3 for just a few components. Please consult the latest thread related to the LP you are attempting to fix:<o:p></o:p></p>
<p class="MsoNormal"><a href="https://bugs.launchpad.net/starlingx/+bug/1891416">https://bugs.launchpad.net/starlingx/+bug/1891416</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">From the mailing list archives, the proposal was to build the wheels for python2 for the affected components (so that updates can be picked up):<o:p></o:p></p>
<p class="MsoNormal"><a href="http://lists.starlingx.io/pipermail/starlingx-discuss/2020-September/009544.html">http://lists.starlingx.io/pipermail/starlingx-discuss/2020-September/009544.html</a>
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I suggest you discuss further with Zhipeng and Scott.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Ghada<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Yu ChanDer <yuchander@gmail.com> <br>
<b>Sent:</b> Thursday, November 12, 2020 5:05 AM<br>
<b>To:</b> Khalil, Ghada <Ghada.Khalil@windriver.com><br>
<b>Subject:</b> Remote CLI “dcmanager fw-update-strategy show” returns an error when using image stx-platformclients:stx.5.0-v1.4.0<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:solid #9C6500 1.0pt;padding:2.0pt 2.0pt 2.0pt 2.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:12.0pt;background:#FFEB9C">
<span style="font-size:10.0pt;color:red">[Please note this e-mail is from an EXTERNAL e-mail address]</span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello Ghada:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I built the python3 distributedcloud-client rpm and create a bootimage.iso<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="https://review.opendev.org/#/c/762340/">https://review.opendev.org/#/c/762340/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">After I did "ansible-playbook ../bootstraps.yaml", I found some error log in /var/log/puppet/2020-11-12-06-31-18_controller/puppet.log<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">the error log listed below:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">It seems that no pbr lib for python3.6<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Could you give me some advice how to resolve it?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Many thanks.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">2020-11-12T06:31:32.817 ^[[0;36mDebug: 2020-11-12 06:31:31 +0000 Executing: '/bin/dcmanager complete'^[[0m<br>
2020-11-12T06:31:32.821 ^[[1;31mError: 2020-11-12 06:31:31 +0000 Evaluation Error: Error while evaluating a Function Call, Failed to execute generator /bin/dcmanager: Execution of '/bin/dcmanager complete' returned 1: Traceback (most recent call last):<br>
2020-11-12T06:31:32.826 File "/bin/dcmanager", line 6, in <module><br>
2020-11-12T06:31:32.831 from dcmanagerclient.shell import main<br>
2020-11-12T06:31:32.834 File "/usr/lib/python3.6/site-packages/dcmanagerclient/__init__.py", line 22, in <module><br>
2020-11-12T06:31:32.839 import pbr.version<br>
2020-11-12T06:31:32.844 ModuleNotFoundError: No module named 'pbr' at /usr/share/puppet/modules/dcmanager/manifests/init.pp:106:16 on node controller-0<br>
2020-11-12T06:31:32.848 /usr/share/ruby/vendor_ruby/puppet/util/execution.rb:232:in `execute'<br>
2020-11-12T06:31:32.852 /usr/share/ruby/vendor_ruby/puppet/parser/functions/generate.rb:33:in `block (2 levels) in <top (required)>'<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>