<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div>Hi Sumanth,</div><div><br></div><div>No! You certainly need restart the horizon service after making changes in /opt/stack/horizon in order for your changes to take effect, but as I was saying before – that is NOT the intention of stack.sh. </div><div><br></div><div>Unstack.sh will take down your entire devstack, so while that part is overkill it is still technically a way to take down horizon. Rejoin-stack.sh is what will bring your entire devstack back WITHOUT doing a reinstall and reconfigure. Running stack.sh WILL do a full reinstall and reconfigure, and any projects or users (for example) that have been added or changed in your previous install of devstack will be completely lost.</div><div><br></div><div>A simpler way to simply restart horizon would be to follow the advice in David’s original email.</div><div><br></div><div>Tim</div><div><br></div><div><!--EndFragment--></div></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Sumanth Sathyanarayana <<a href="mailto:sumanth.sathyanarayana@gmail.com">sumanth.sathyanarayana@gmail.com</a>><br><span style="font-weight:bold">Date: </span> Thursday, September 3, 2015 at 11:19 AM<br><span style="font-weight:bold">To: </span> Timothy Symanczyk <<a href="mailto:timothy_symanczyk@symantec.com">timothy_symanczyk@symantec.com</a>><br><span style="font-weight:bold">Cc: </span> OpenStack General <<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [Openstack] Building DevStack<br></div><div><br></div><div dir="ltr">Thanks David and Timothy.<div>But as I make custom changes to Horizon frontend of devstack in /opt/stack/horizon,</div><div>I do have to run the stack.sh(after unstack.sh) script everytime I make the change right?</div><div><br></div><div>Best Regards</div><div>Sumanth</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 3, 2015 at 10:41 AM, Timothy Symanczyk <span dir="ltr"><<a href="mailto:Timothy_Symanczyk@symantec.com" target="_blank">Timothy_Symanczyk@symantec.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div><div>Hi Sumanth,</div><div><br></div><div>In addition to David’s helpful links, please keep in mind that ./stack.sh is intended to INSTALL and CONFIGURE devstack. If it is your intention to START FRESH every time, then running unstack.sh and stack.sh would be correct. But if it is your intention to persist any changes you’ve previously made with your devstack (adding projects / users, etc), then running rejoin-stack.sh would be the way to bring it back up without losing that progress. </div><div><br></div><div>Tim</div><div></div></div><div><br></div><span><div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt"><span style="font-weight:bold">From: </span> David Medberry <<a href="mailto:openstack@medberry.net" target="_blank">openstack@medberry.net</a>><br><span style="font-weight:bold">Date: </span> Wednesday, September 2, 2015 at 5:58 PM<br><span style="font-weight:bold">To: </span> Sumanth Sathyanarayana <<a href="mailto:sumanth.sathyanarayana@gmail.com" target="_blank">sumanth.sathyanarayana@gmail.com</a>><br><span style="font-weight:bold">Cc: </span> OpenStack General <<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [Openstack] Building DevStack<br></div><div><div class="h5"><div><br></div><div dir="ltr"><a href="http://www.slideshare.net/SajuMadhavan/open-stack-devstack-screen-commands-and-key-bindings" target="_blank">http://www.slideshare.net/SajuMadhavan/open-stack-devstack-screen-commands-and-key-bindings</a> may be more current.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 2, 2015 at 6:57 PM, David Medberry <span dir="ltr"><<a href="mailto:openstack@medberry.net" target="_blank">openstack@medberry.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Be aware that there is a "screen" session running with each of the services. If you go to the appropriate screen in the screen session and then "Ctrl-C" therein and hit up arrow return, you'll basically be restarting just that service.<div><br></div><div>This may be out of date but give it a try:</div><div><br></div><div><a href="http://www.rushiagr.com/blog/2013/06/05/linux-screens-in-devstack/" target="_blank">http://www.rushiagr.com/blog/2013/06/05/linux-screens-in-devstack/</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Sep 2, 2015 at 6:39 PM, Sumanth Sathyanarayana <span dir="ltr"><<a href="mailto:sumanth.sathyanarayana@gmail.com" target="_blank">sumanth.sathyanarayana@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div><br></div><div>I am relatively new to openstack and devstack and wanted to know if there is any easy way to build devstack, every time I change a class or a python file in /opt/stack/*</div><div>If I just compile that particular python file which has been changed (say in Horizon - /opt/stack/horizon/*), it doesn't get reflected until I run  unstack.sh and again run stack.sh.</div><div><br></div><div>Thanks & Best Regards</div><span><font color="#888888"><div>Sumanth</div></font></span></div><br></div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br><br></blockquote></div><br></div></blockquote></div><br></div></div></div></span></div></blockquote></div><br></div></span></body></html>