<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
@font-face
        {font-family:Consolas}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New"}
span.HTMLPreformattedChar
        {font-family:Consolas}
span.EmailStyle20
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0" vlink="purple" link="blue" lang="EN-US">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>Hi Marvin,</div>
<div><br>
</div>
<div>There is no need to wait for the primary tier storage backend to be configured, it's enabled by default at config_controller. Thus, this backend is already in 'configured' state.</div>
<div><br>
</div>
<div>Ovidiu<br>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF777981" style="direction: ltr;"><font size="2" face="Tahoma" color="#000000"><b>From:</b> Huang, Marvin<br>
<b>Sent:</b> Thursday, April 18, 2019 11:38 PM<br>
<b>To:</b> Poncea, Ovidiu; starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> RE: [Starlingx-discuss] For automation: Instalation workflow update will be merged soon<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Hi Ovidiu,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">How long (in worst case) should users wait for Ceph-backend be configured?<br>
Or what is the timeout value we should use for automated waiting/polling, after which we can considerate that there is likely an issue?</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Thanks,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Marvin</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Poncea, Ovidiu [mailto:Ovidiu.Poncea@windriver.com]
<br>
<b>Sent:</b> Wednesday, April 17, 2019 5:50 PM<br>
<b>To:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> Re: [Starlingx-discuss] For automation: Instalation workflow update will be merged soon</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Change was merged, wiki was updated...</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black"> </span></p>
</div>
<div>
<div class="MsoNormal" style="text-align:center" align="center"><span style="color:black">
<hr width="100%" size="2" align="center">
</span></div>
<div id="divRpF366728">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black"> Poncea, Ovidiu [Ovidiu.Poncea@windriver.com]<br>
<b>Sent:</b> Tuesday, April 16, 2019 10:36 PM<br>
<b>To:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> [Starlingx-discuss] For automation: Instalation workflow update will be merged soon</span><span style="color:black"></span></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Hi Folks,</span></p>
</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; font-family:"Tahoma","sans-serif"; color:black">Be aware that we will merge a change soon that may impact automated deployments and testing. The gerrit is this:
<a href="https://review.openstack.org/#/c/644256/" target="_blank" rel="noopener noreferrer">
https://review.openstack.org/#/c/644256/</a> and it will make Ceph the default storage backend. Therefore, once merged, users will no longer have to run this (as currently stated by the wikis):</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black"> </span></p>
</div>
<div>
<pre style="margin-bottom:7.5pt; line-height:15.0pt; background:whitesmoke; word-break:break-all; white-space:pre-wrap; orphans:2; text-align:start; widows:2; word-spacing:0px"><span style="font-family:Consolas; color:#333333">echo ">>> Enable primary Ceph backend"</span></pre>
<pre style="margin-bottom:7.5pt; line-height:15.0pt; background:whitesmoke; word-break:break-all"><span style="font-family:Consolas; color:#333333">system storage-backend-add ceph --confirmed</span></pre>
<pre style="margin-bottom:7.5pt; line-height:15.0pt; background:whitesmoke; word-break:break-all"><span style="font-family:Consolas; color:#333333"> </span></pre>
<pre style="margin-bottom:7.5pt; line-height:15.0pt; background:whitesmoke; word-break:break-all"><span style="font-family:Consolas; color:#333333">echo ">>> Wait for primary ceph backend to be configured"</span></pre>
<pre style="margin-bottom:7.5pt; line-height:15.0pt; background:whitesmoke; word-break:break-all"><span style="font-family:Consolas; color:#333333">echo ">>> This step really takes a long time"</span></pre>
<pre style="margin-bottom:7.5pt; line-height:15.0pt; background:whitesmoke; word-break:break-all"><span style="font-family:Consolas; color:#333333">while [ $(system storage-backend-list | awk '/ceph-store/{print $8}') != 'configured' ]; do echo 'Waiting for ceph..'; sleep 5; done</span></pre>
<pre style="margin-bottom:7.5pt; line-height:15.0pt; background:whitesmoke; word-break:break-all"><span style="font-family:Consolas; color:#333333"> </span></pre>
<pre style="margin-bottom:7.5pt; line-height:15.0pt; background:whitesmoke; word-break:break-all"><span style="font-family:Consolas; color:#333333">echo ">>> Ceph health"</span></pre>
<pre style="margin-bottom:7.5pt; line-height:15.0pt; background:whitesmoke; word-break:break-all"><span style="font-family:Consolas; color:#333333">ceph -s</span></pre>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Regards,</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Ovidiu</span></p>
</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; font-family:"Tahoma","sans-serif"; color:black"> </span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>