<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello,<div><br></div><div>You can manually restart any service you like in devstack by following the below procedure:</div><div><br></div><div>1. In terminal type "screen -x stack" . Here stack is the screen name.</div><div>you will be logged into the screens for all devstack services</div><div><span style="font-size: 12pt;">2. Browse to your selected service by pressing Ctrl+a and then n (Next screen). Ctrl+a and then p (Previous screen)</span></div><div>3. When at the desired screen press Ctrl+c (This will stop the service)</div><div>4. Press the UP key and press enter. </div><div><br></div><div>The service will restart. </div><div><br></div><div>For an automated restart you can copy the command (from 4th step) for restarting service and make a script that can re-start all such services. </div><div><br></div><div>Hope it helps<br><br><div><hr id="stopSpelling">From: chen.li@intel.com<br>To: openstack@lists.openstack.org<br>Date: Wed, 11 Jun 2014 02:51:15 +0000<br>Subject: [Openstack] [devstack]How to restart all services without unstack ?<br><br>



<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:11.0pt;
font-family:"Calibri","sans-serif";
}

.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}

.ExternalClass p.ecxMsoListParagraph, .ExternalClass li.ecxMsoListParagraph, .ExternalClass div.ecxMsoListParagraph {
font-size:11.0pt;
font-family:"Calibri","sans-serif";
}

.ExternalClass span.ecxEmailStyle17 {
font-family:"Calibri","sans-serif";
color:windowtext;
}

.ExternalClass .ecxMsoChpDefault {
font-family:"Calibri","sans-serif";
}

.ExternalClass div.ecxWordSection1 {
}

.ExternalClass ol {
}

.ExternalClass ul {
}

--></style>


<div class="ecxWordSection1">
<p class="ecxMsoNormal">Hi list,</p>
<p class="ecxMsoNormal"> </p>
<p class="ecxMsoNormal">I just installed a devstack environment.</p>
<p class="ecxMsoNormal"> </p>
<p class="ecxMsoNormal">I didn’t find a good way to restart all services, so I use</p>
<p class="ecxMsoListParagraph" style="text-indent:-.25in;"><span style="">1.<span style="font:7.0pt "Times New Roman";">      
</span></span><span style="font-size:9.0pt;font-family:"Courier New";color:#333333;background:white;">./unstack.sh</span></p>
<p class="ecxMsoListParagraph" style="text-indent:-.25in;"><span style="">2.<span style="font:7.0pt "Times New Roman";">      
</span></span>./rejoin-stack.sh</p>
<p class="ecxMsoNormal"> </p>
<p class="ecxMsoNormal">Then I noticed that after <span style="font-size:9.0pt;font-family:"Courier New";color:#333333;background:white;">
./unstack.sh, br-int and br-ex had been removed (but not br-tun), but </span>./rejoin-stack.sh would not add them back automate. So I reported a bug:</p>
<p class="ecxMsoNormal"><a href="https://bugs.launchpad.net/devstack/+bug/1327042" target="_blank">https://bugs.launchpad.net/devstack/+bug/1327042</a></p>
<p class="ecxMsoNormal"> </p>
<p class="ecxMsoNormal">But the bug has been marked as invalid due to:</p>
<p class="ecxMsoNormal">“<span style="font-size:9.0pt;font-family:"Courier New";color:#333333;background:white;">./unstack.sh destroys deployment, it is not intended to be used for services restart</span>”</p>
<p class="ecxMsoNormal"> </p>
<p class="ecxMsoNormal">So, here is my question:</p>
<p class="ecxMsoNormal"><span style="font-size:9.0pt;font-family:"Courier New";color:#333333;background:white;">how can I restart all services without unstack ??</span></p>
<p class="ecxMsoNormal"><span style="font-size:9.0pt;font-family:"Courier New";color:#333333;background:white;"> </span></p>
<p class="ecxMsoNormal"><span style="font-size:9.0pt;font-family:"Courier New";color:#333333;background:white;">Thanks.</span></p>
<p class="ecxMsoNormal"><span style="font-size:9.0pt;font-family:"Courier New";color:#333333;background:white;">-chen</span></p>
</div>


<br>_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</div></div>                                       </div></body>
</html>