<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
{font-family:Wingdings}
@font-face
{font-family:??}
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{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
{margin-right:0in;
margin-left:0in;
font-size:12.0pt;
font-family:??}
p.msonormal00, li.msonormal00, div.msonormal00
{margin-right:0in;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
p.msochpdefault, li.msochpdefault, div.msochpdefault
{margin-right:0in;
margin-left:0in;
font-size:10.0pt;
font-family:??}
span.emailstyle19
{font-family:"Calibri",sans-serif;
color:windowtext}
span.emailstyle20
{font-family:"Calibri",sans-serif;
color:windowtext}
span.emailstyle21
{font-family:"Calibri",sans-serif;
color:windowtext}
span.EmailStyle25
{font-family:"Calibri",sans-serif;
color:windowtext}
.MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:1.0in 1.25in 1.0in 1.25in}
ol
{margin-bottom:0in}
ul
{margin-bottom:0in}
-->
</style><style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0" vlink="#954F72" link="#0563C1" lang="EN-US">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<div class="WordSection1"><font face="Calibri"><span style="color:black">Hi all:</span></font></div>
<div class="WordSection1"><font face="Calibri"><span style="color:black"></span><span style="font-size: 10pt; color: black;"></span></font>
<div>
<div><font face="Calibri"><br>
</font></div>
<font face="Calibri"></font>
<div>
<p class="MsoNormal"><font face="Calibri"><span style="color:black"> I’m working on task “upgrade project nfv to support python3 runtime env”. By analyzing and testing,<b> there will be 32 new python3 rpms</b>, which may impact current system.
<br>
</span></font></p>
<p class="MsoNormal"><br>
<font face="Calibri"><span style="color:black"></span><span style="font-size: 10pt; color: black;"></span></font></p>
</div>
<font face="Calibri"></font>
<p class="MsoNormal" style="margin-left:40.8pt; text-indent:-.25in"><font face="Calibri"><span style="font-size: 10pt; color: black;"><span style="">·<span style="font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-language-override: normal; font-feature-settings: normal; font-variation-settings: normal;">
</span></span></span><span style="color:black">16 new rpms from official centos7 repo;
</span><span style="font-size: 10pt; color: black;"></span></font></p>
<font face="Calibri"></font>
<p class="MsoNormal" style="margin-left:40.8pt; text-indent:-.25in"><font face="Calibri"><span style="font-size: 10pt; color: black;"><span style="">·<span style="font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-language-override: normal; font-feature-settings: normal; font-variation-settings: normal;">
</span></span></span><span style="color:black">12 new stx-rpms rebuilt with srpms from official centos7 repo (turn on python3 supported switch in spec);</span><span style="font-size: 10pt; color: black;"></span></font></p>
<font face="Calibri"></font>
<p class="MsoNormal" style="margin-left:40.8pt; text-indent:-.25in"><font face="Calibri"><span style="font-size: 10pt; color: black;"><span style="">·<span style="font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-language-override: normal; font-feature-settings: normal; font-variation-settings: normal;">
</span></span></span><span style="color:black">4 stx-rpms built from tar.gz files.</span></font></p>
<p class="MsoNormal" style="margin-left:40.8pt; text-indent:-.25in"><font face="Calibri"><span style="color:black"><br>
</span><span style="font-size: 10pt; color: black;"></span></font></p>
<font face="Calibri"></font>
<div><font face="Calibri"><span style="color:black"> Details including pkg dependency trees and current status could be found in [1]</span><span style="font-size: 10pt; color: black;"></span></font>
</div>
<font face="Calibri"></font>
<div>
<p class="MsoNormal" style="text-indent:10.2pt"><font face="Calibri"><span style="color:black"> </span></font></p>
<p class="MsoNormal" style="text-indent:10.2pt"><br>
<font face="Calibri"><span style="color:black"></span><span style="font-size: 10pt; color: black;"></span></font></p>
</div>
<font face="Calibri"></font>
<div>
<p class="MsoNormal" style="text-indent:10.2pt"><font face="Calibri"><span style="color:black">With patches [2], we could get an iso with nfv services (vim,vim-api, vim-webserver) running in python3.
<br>
</span></font></p>
<p class="MsoNormal" style="text-indent:10.2pt"><font face="Calibri"><span style="color:black">However,</span><font size="2"><span style="font-size:11pt;"><font color="black"> there is an run-time issues.
<b>M</b></font></span></font><span style="color:black"><b>odel “fm_api” in python3
</b>is required to support vim service reporting alarms/event_logs to fault manager (service fm-mgr). It brings following issu<font color="000000">e</font></span><font color="000000">s:</font></font></p>
<p class="MsoNormal" style="text-indent:10.2pt"><br>
<font face="Calibri"><font color="000000"></font><span style="font-size: 10pt; color: black;"></span></font></p>
</div>
<div></div>
<font face="Calibri"></font>
<div>
<p class="MsoNormal" style="text-indent:10.2pt"><font face="Calibri"><span style="color:black"> 1. to build python3 "fm-api" rpm, pkg “python3-rpm-generators” is required. But it is conflict with pkg “rpm-build” built in the compile layer, because both of
them ha</span>ve<span style="color:black"> file (/usr/lib/rpm/pythondistdeps.py).</span><span style="font-size: 10pt; color: black;"></span></font></p>
</div>
<font face="Calibri"></font>
<div>
<p class="MsoNormal" style="text-indent:10.2pt"><font face="Calibri"><span style="color:black"> 2. as other flock services, like sysinv, are still running in python2, so it require fm-api to both run in python2 env and python3 env. It introduces a new topic:
ensure it is safe to run python2-fm-api and python3-fm-api at the same time.</span><span style="font-size: 10pt; color: black;"></span></font></p>
</div>
<font face="Calibri"></font>
<div>
<p class="MsoNormal" style="text-indent:10.2pt"><font face="Calibri"><span style="font-size: 10pt; color: black;"> </span></font></p>
<p class="MsoNormal" style="text-indent:10.2pt"><font face="Calibri"><span style="font-size: 10pt; color: black;"><br>
</span></font></p>
</div>
<font face="Calibri"></font>
<div><font face="Calibri"></font>
<p class="MsoNormal" style="text-indent:10.2pt"><font face="Calibri"><span style="color:black"><b>The scope of this task seems expand. Is there any suggestions?
</b><br>
</span></font></p>
<p class="MsoNormal" style="text-indent:10.2pt"><br>
</p>
<p class="MsoNormal" style="text-indent:10.2pt"><br>
<font face="Calibri"><span style="color:black"></span></font><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black"></span></p>
</div>
<span style="color:black"></span><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black"></span>
<div></div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; color:black">[1] <a href="https://bugs.launchpad.net/starlingx/+bug/1808073/+attachment/5335996/+files/nfv%20python%20dependency%20analysis.xlsx" target="_blank">
https://bugs.launchpad.net/starlingx/+bug/1808073/+attachment/5335996/+files/nfv%20python%20dependency%20analysis.xlsx</a>
</span><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black"></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">[2] patches: <a href="https://review.opendev.org/709958" target="_blank" rel="noopener noreferrer">
https://review.opendev.org/709958</a>; <a href="https://review.opendev.org/709960" target="_blank" rel="noopener noreferrer">
https://review.opendev.org/709960</a>; <a href="https://review.opendev.org/709983/1" target="_blank" rel="noopener noreferrer">
https://review.opendev.org/709983/1</a> ; <a href="https://review.opendev.org/709980" target="_blank" rel="noopener noreferrer">
https://review.opendev.org/709980</a></span><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black"></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black"><br>
</span></p>
<div>
<p class="MsoNormal"><span style="color:black"> </span><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black"></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Thanks</span><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black"></span></p>
</div>
<span style="color:black">Ran</span>
<p class="MsoNormal"><br>
<span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>