<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:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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="ZH-CN" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;mso-fareast-language:ZH-CN">Hi:
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;mso-fareast-language:ZH-CN">         This is just draft PR for ceph upgrading. Please feel free to give your advices.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">           PR 1: change cephfs1 into cephfs2<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:26.4pt"><span class="MsoHyperlink"><span lang="EN-US"><a href="https://github.com/shangdehao1/stx-upstream/commit/d612093fab072afb4fb9d054deca924778084ad6">https://github.com/shangdehao1/stx-upstream/commit/d612093fab072afb4fb9d054deca924778084ad6</a></span></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:11.0pt"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:11.0pt"><span lang="EN-US">   PR 2 : ceph13.2.0 need to download new packages :
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">         PR: <span class="MsoHyperlink"><a href="https://github.com/shangdehao1/stx-tools/commit/09abdefc37ba70f452c5998390ce167c5cb2d50d">https://github.com/shangdehao1/stx-tools/commit/09abdefc37ba70f452c5998390ce167c5cb2d50d</a></span><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">         PR 3: don’t ignore files at compress process. ( TODO : better method to replace it)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">         PR: <span class="MsoHyperlink"><a href="https://github.com/shangdehao1/stx-root/commit/1bedca4609fbca06746f7bbfda27e7023949af37">https://github.com/shangdehao1/stx-root/commit/1bedca4609fbca06746f7bbfda27e7023949af37</a></span><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">         PR4: ceph 13.2.0 commit id. <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">         <span class="MsoHyperlink"><a href="https://github.com/shangdehao1/stx-integ/commit/1ab1d71591faa7ddf83b2cd7d53cef5def9dc1c0">https://github.com/shangdehao1/stx-integ/commit/1ab1d71591faa7ddf83b2cd7d53cef5def9dc1c0</a></span><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">How to create ceph13.2.0 repo <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">1: wget <span class="MsoHyperlink"><a href="http://cbs.centos.org/kojifiles/packages/ceph/13.2.0/0.el7/src/ceph-13.2.0-0.el7.src.rpm">http://cbs.centos.org/kojifiles/packages/ceph/13.2.0/0.el7/src/ceph-13.2.0-0.el7.src.rpm</a></span><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2: rpm2cpio ceph-13.2.0-0.el7.src.rpm | cpio -div<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">3: tar -xvjf ceph-13.2.0.tar.bz2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">4:m</span><span lang="EN-US" style="font-size:10.5pt">odify ceph.spce
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:21.0pt"><span lang="EN-US" style="font-size:10.5pt">1: disable python3
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:21.0pt"><span lang="EN-US" style="font-size:10.5pt">2: apply the
<span class="MsoHyperlink"><span style="color:#1155CC"><a href="https://github.com/ceph/ceph/commit/6af10cae66bfd2fd31ead1ad5ef187a6a4d25acd#diff-ca40628478ff1274b73dcd40c384e7f0"><span style="color:#1155CC">patch</span></a></span></span><span style="color:black">
 to solve the conflict between openstack-keystone and ceph 13.2.0<o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt">         3: modify ceph version: namely 0.el7%{?_tis_dist}.%{tis_patch_ver}<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt">    4: modify compress format into tar.gz<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt">         5: disbale some useless package.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt">                  Ceph debug info package<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt">                  Ceph dashboard
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt">                  TODO: refer to stx-ceph, to disable more package.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt">Next step: <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt">         1: for PR 3, at compress process, still ignore this useless files, but for ceph, need to include these files.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt">         2: in order to speed up building, need to disable useless packages.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt">         2: integrate stx-ceph patch into ceph13.2.0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt">         3: testing at runtime.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;mso-fareast-language:ZH-CN">Thanks
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;mso-fareast-language:ZH-CN">Dehao
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt"><o:p> </o:p></span></p>
</div>
</body>
</html>