<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=utf-8">
<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:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Microsoft YaHei";
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:"\@Microsoft YaHei";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:320430814;
        mso-list-template-ids:925689652;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1
        {mso-list-id:639190029;
        mso-list-template-ids:-118820466;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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">Hi Scott,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We have updated the patch below as you see and fixed your comment as well, thanks!<o:p></o:p></p>
<p class="MsoNormal"><a href="https://review.opendev.org/#/c/733426/">https://review.opendev.org/#/c/733426/</a><o:p></o:p></p>
<p class="MsoNormal">It has been verified by Chengde!  Many thanks!!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">After this patch get merged, could you do me a favor to cherry pick below patches to check if OpenStack images build can be triggered successfully by cengn script? (glance, cinder, nova, horizon)<o:p></o:p></p>
<p class="MsoNormal"><a href="https://review.opendev.org/#/c/712880/">https://review.opendev.org/#/c/712880/</a> Modify build-tools and stable-wheels for Ussuri upgrading<o:p></o:p></p>
<p class="MsoNormal"><a href="https://review.opendev.org/#/c/712862/">https://review.opendev.org/#/c/712862/</a> Update openstack docker images for stable/ussuri<o:p></o:p></p>
<p class="MsoNormal">You might need add below repo in your build script.<o:p></o:p></p>
<p class="MsoNormal">--repo ussuri-ceph,<a href="http://download.ceph.com/rpm-mimic/el7/x86_64/" target="_blank"><span style="color:windowtext;text-decoration:none">http://download.ceph.com/rpm-mimic/el7/x86_64/</span></a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks a lot!<o:p></o:p></p>
<p class="MsoNormal">Zhipeng<o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Liu, ZhipengS <br>
<b>Sent:</b> 2020<span lang="ZH-CN" style="font-family:"Microsoft YaHei",sans-serif">年</span>6<span lang="ZH-CN" style="font-family:"Microsoft YaHei",sans-serif">月</span>4<span lang="ZH-CN" style="font-family:"Microsoft YaHei",sans-serif">日</span> 22:36<br>
<b>To:</b> Scott Little <scott.little@windriver.com>; starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> RE: [Starlingx-discuss] [build-report] STX_build_layer_flock_master_master - Build # 132 - Still Failing!<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Scott,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">For our OpenStack upgrade case, we may have one more option that is not adding this ceph 13.2.10 repo to local build repo folder. Instead, we add this ceph  repo as a parameter when we run build-stx-base.sh. Then this repo only used by
 OpenStack build. We will verify it tomorrow. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks!<o:p></o:p></p>
<p class="MsoNormal">Zhipeng<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 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Scott Little <<a href="mailto:scott.little@windriver.com">scott.little@windriver.com</a>>
<br>
<b>Sent:</b> 2020<span lang="ZH-CN" style="font-family:"Microsoft YaHei",sans-serif">年</span>6<span lang="ZH-CN" style="font-family:"Microsoft YaHei",sans-serif">月</span>4<span lang="ZH-CN" style="font-family:"Microsoft YaHei",sans-serif">日</span> 22:19<br>
<b>To:</b> <a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a><br>
<b>Subject:</b> Re: [Starlingx-discuss] [build-report] STX_build_layer_flock_master_master - Build # 132 - Still Failing!<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>I see <a href="https://review.opendev.org/#/c/733426/9">https://review.opendev.org/#/c/733426/9</a> has been posted<o:p></o:p></p>
<p>With this update, layered builds should pass, and would look like this ...<o:p></o:p></p>
<ul type="disc">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo3">
Flock and iso builds will use 13.2.2.<o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo3">
All container builds uses 13.2.10.<o:p></o:p></li><ul type="circle">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level2 lfo3">
Do we want 13.2.10 in ALL containers?<o:p></o:p></li></ul>
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo3">
Any ceph dependent rpms from distro/flock builds that make it into a container (if any), will have been compiled against 13.2.2, but will run against 13.2.10.  I'm more comfortable with a increment to the patch level than a decrement.  I think we can live with
 this until we can move to 13.2.10 universally.<o:p></o:p></li></ul>
<p>Monolithic will continue to build, but will remain confused ...<o:p></o:p></p>
<p>All lst files, including container layer lsts, are downloaded before any package is built. Most if not all packages that depend on ceph will build against 13.2.10 as mock/yum does not understand the 'prefer local'. build-iso will use 'prefer local' and ship
 with 13.2.2. The implications of which is unclear. One hopes that the interface is stable when the version diff is only at the patch level, but I never like to see shipped version LOWER than the complied against version.<o:p></o:p></p>
<p><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 2020-06-03 6:08 p.m., Saul Wold wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
On 6/3/20 2:01 PM, Scott Little wrote: <o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">No I don't think that would work.  We can't have two versions of the same package competing for dominance within the mock build environments.  i.e. on time pkg X builds against 13.2.2, the next time against
 13.2.10.  The outcome dependent on the vagaries of job scheduling, build speeds, and any other number of factors.  If you compile against 13.2.10, will you run ok vs 13.2.2.  I wouldn't want to bet on it.
<br>
<br>
The build layering solution might be to throw it in it's own layer. <br>
<br>
Until we are 100% committed to build layering, we need to converge on ONE version of ceph.
<o:p></o:p></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt">Ok, so one option is to move to Ceph 13.2.10 or drop the existing package list update that brings in the python3 and related Ceph packages.
<br>
<br>
Do we need to at least revert that commit in-order to get the build working again?
<br>
<br>
We might need to spend a few minutes to hash this out tomorrow morning at the PTG.
<br>
<br>
Sau! <br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">Scott <br>
<br>
<br>
On 2020-06-03 10:52 a.m., Saul Wold wrote: <o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
On 6/3/20 1:47 AM, Liu, ZhipengS wrote: <o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Scott, <br>
<br>
For question #1, <br>
<br>
When we built openstack ussuri image which is python3 only. <br>
<br>
It needs python3-rbd and related dependency, so we add librados2-13.2.10 and related packages.
<br>
<br>
For local built librados2-13.2.2-0.el7.tis.25.x86_64.rpm, it is for python2. <br>
<br>
Shouldn’t  we let the build choose local build first? <o:p></o:p></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt">Following up on this we need to be careful about which we choose, as I said in the other email is this a one-off issue or something that we see more of.  So maybe an audit tool would help.
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">Another option is moving these packages to container layer, add rpms_centos.lst in config/centos/flock/?
<o:p></o:p></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt">I understand this option better after chatting with Zhipeng, I think this might be the best option adding the Updated Ceph / RBD related packages to the container list which will be used for the Usurri container
 builds but not by the platform OS. <br>
<br>
This would mean that the containers would have Ceph 13.2.10 related packages and the platform OS would be 13.2.2.  Would that cause problems or stability issues?
<br>
<br>
Sau! <br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">Thanks! <br>
<br>
Zhipeng <br>
<br>
*From:*Scott Little <a href="mailto:scott.little@windriver.com"><scott.little@windriver.com></a>
<br>
*Sent:* 2020<span lang="ZH-CN" style="font-family:"Microsoft YaHei",sans-serif">年</span>6<span lang="ZH-CN" style="font-family:"Microsoft YaHei",sans-serif">月</span>3<span lang="ZH-CN" style="font-family:"Microsoft YaHei",sans-serif">日</span>15:57
<br>
*To:* <a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a>
<br>
*Subject:* Re: [Starlingx-discuss] [build-report] STX_build_layer_flock_master_master - Build # 132 - Still Failing!
<br>
<br>
This was an interesting one. <br>
<br>
We have been building librados2-13.2.2-0.el7.tis.25.x86_64.rpm as part of the distro layer for some time.
<br>
<br>
A recent update added librados2-13.2.10-0.el7.x86_64.rpm to the lst of the flock layer.
<br>
<br>
Now build-iso preferres locally built packages over downloaded ones, even if the downloaded on is of higher version.  Now that policy is open for debate, but that is what it does.
<br>
<br>
Monolithic build uses the lst files of all layers, but having built librados2-13.2.2-0.el7.tis.25.x86_64.rpm, it selects librados2-13.2.2-0.el7.tis.25.x86_64.rpm over librados2-13.2.10-0.el7.x86_64.rpm when building the iso.
<br>
<br>
Flock layer build, downloads librados2-13.2.2-0.el7.tis.25.x86_64.rpm from the distro layer build.  It doesn't build it itself.  The downloads from the two sources are lumped into a common repo, so it has no reason to prefer the lower versioned rpm.  It selects
 librados2-13.2.10-0.el7.x86_64.rpm. <br>
<br>
The final piece of the puzzle is the transitive list of requires for librados2-13.2.10-0.el7.x86_64.rpm.  It has a new dependency that pulls in lttng-ust-2.10.0-1.el7.x86_64.rpm, which in turn needs userspace-rcu-0.10.0-3.el7.x86_64.rpm, which is not present.
 It's wasn't included in the recent lst file changes that added librados2-13.2.10-0.el7.x86_64.rpm.
<br>
<br>
A flock layer build-iso should have caught this.  I suspect build-iso was only performed on a monolithic build.
<br>
<br>
Open questions. <br>
1) Is there a need to move to librados2-13.2.10 from librados2-13.2.2.  If yes, do we still need whatever modifications were applied to librados2-13.2.2?  Do they need to be ported to librados2-13.2.10 , or can we drop librados2 from the set of packages we
 have patches against? <br>
<br>
2) For build-iso... should we prefer locally built packages even though there is a higher package named in an lst?  If yes, then layered build needs apply the local first policy accross layers. Alternatively, perhaps drop the local first policy, but add an
 audit tool to detect when a locally built package is being masked in this way. <br>
<br>
Scott <br>
<br>
On 2020-06-02 10:30 p.m., <a href="mailto:build.starlingx@gmail.com">build.starlingx@gmail.com</a>
<a href="mailto:build.starlingx@gmail.com"><mailto:build.starlingx@gmail.com></a> wrote:
<br>
<br>
    Project: STX_build_layer_flock_master_master <br>
<br>
    Build #: 132 <br>
<br>
    Status: Still Failing <br>
<br>
    Timestamp: 20200603T020359Z <br>
<br>
    Check logs at: <br>
<br>
<a href="http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/flock/20200603T020359Z/logs">http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/flock/20200603T020359Z/logs</a>
<br>
<br>
-------------------------------------------------------------------------------- <br>
<br>
    Parameters <br>
<br>
    FULL_BUILD: false <br>
<br>
    FORCE_BUILD: false <br>
<br>
<br>
<br>
    _______________________________________________ <br>
<br>
    Starlingx-discuss mailing list <br>
<br>
    <a href="mailto:Starlingx-discuss@lists.starlingx.io">Starlingx-discuss@lists.starlingx.io</a>
<a href="mailto:Starlingx-discuss@lists.starlingx.io"><mailto:Starlingx-discuss@lists.starlingx.io></a>
<br>
<br>
<a href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a>
<br>
<br>
<br>
_______________________________________________ <br>
Starlingx-discuss mailing list <br>
<a href="mailto:Starlingx-discuss@lists.starlingx.io">Starlingx-discuss@lists.starlingx.io</a>
<br>
<a href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a>
<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
_______________________________________________ <br>
Starlingx-discuss mailing list <br>
<a href="mailto:Starlingx-discuss@lists.starlingx.io">Starlingx-discuss@lists.starlingx.io</a>
<br>
<a href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a>
<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
_______________________________________________ <br>
Starlingx-discuss mailing list <br>
<a href="mailto:Starlingx-discuss@lists.starlingx.io">Starlingx-discuss@lists.starlingx.io</a>
<br>
<a href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a>
<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
_______________________________________________ <br>
Starlingx-discuss mailing list <br>
<a href="mailto:Starlingx-discuss@lists.starlingx.io">Starlingx-discuss@lists.starlingx.io</a>
<br>
<a href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a>
<o:p></o:p></p>
</blockquote>
</div>
</body>
</html>