<HTML>
<HEAD>
<TITLE>Re: [Openstack] Devstack (sh) and tmux</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Try <a href="https://github.com/yahoo/Openstack-DevstackPy/wiki/Simple-Setup">https://github.com/yahoo/Openstack-DevstackPy/wiki/Simple-Setup</a><BR>
<BR>
It might not be 100% with devstack (at least the quantum/melange/swift parts, to be tested better) but horizon, nova, glance, keystone, rabbit, mysql, should be the same (or with little difference).<BR>
For those that want to check if we are doing it right (or could do it better), <a href="https://github.com/yahoo/Openstack-DevstackPy/tree/master/devstack/components">https://github.com/yahoo/Openstack-DevstackPy/tree/master/devstack/components</a>, that’s where all the component actions are.<BR>
<BR>
It does what u said, and allows u to just use “tail” instead of having to understand screen and its much easier to kill and track PIDs. <BR>
<BR>
The capability is in the python version to have tmux, screen support as well. I just never got around to doing it (and it is sort of funky how u have to kill screen sessions, ie by grepping the sessions that are active and picking ones with the right name) and after demonizing openstack I didn’t see why u would want to go back :-P<BR>
<BR>
:-)<BR>
<BR>
On 2/8/12 10:54 AM, "Ghe Rivero" <<a href="ghe.rivero@stackops.com">ghe.rivero@stackops.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I like the idea of demonize it. Everyone using devstack should be able to open a terminal and use tail in the logs to see what's going on. Or maybe an option can be added to devstack to choose daemon vs. screen . BTW I use tmux+bash<BR>
Ghe Rivero<BR>
<BR>
On Wed, Feb 8, 2012 at 7:24 PM, Joshua Harlow <<a href="harlowja@yahoo-inc.com">harlowja@yahoo-inc.com</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Why not just daemonize the processes ;)<BR>
This is pretty much what I am doing in devstackpy and it seems to work pretty well.<BR>
I think people are pretty familiar with PID files, and files which contain stderr/stout as this is how a lot of other unix stuff runs.<BR>
<BR>
<BR>
On 2/8/12 9:45 AM, "Jesse Andrews" <<a href="anotherjesse@gmail.com">anotherjesse@gmail.com</a> <<a href="http://anotherjesse@gmail.com">http://anotherjesse@gmail.com</a>> > wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>the reason for adding tmux is that we were running into issues with<BR>
services not launching inside screen (due to a timing issue).<BR>
<BR>
I'm for removing tmux - since the sleep between creating a screen &<BR>
using it has resolved the issue.<BR>
<BR>
Jesse<BR>
<BR>
On Wed, Feb 8, 2012 at 9:39 AM, Jay Pipes <<a href="jaypipes@gmail.com">jaypipes@gmail.com</a> <<a href="http://jaypipes@gmail.com">http://jaypipes@gmail.com</a>> > wrote:<BR>
> On 02/08/2012 11:44 AM, Chmouel Boudjnah wrote:<BR>
>><BR>
>> Hi,<BR>
>><BR>
>> As mentioned in bug #928967[1] tmux support in devstack is not working<BR>
>> and I was wondering if there was much people using it and if I should<BR>
>> fix it. The advantage of tmux support is aside of being arguably a<BR>
>> better terminal wm it allows support for different shells than bash (ie:<BR>
>> zsh) for devstack as reported in bug #928883[2].<BR>
>><BR>
>> What do you think? Is anyone using much tmux or other shells than bash<BR>
>> with devstack.<BR>
><BR>
><BR>
> Nope, I only use bash...<BR>
><BR>
> -jay<BR>
><BR>
><BR>
> _______________________________________________<BR>
> Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
> Post to : <a href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a> <<a href="http://openstack@lists.launchpad.net">http://openstack@lists.launchpad.net</a>> <BR>
> Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
> More help : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><BR>
<BR>
_______________________________________________<BR>
Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
Post to : <a href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a> <<a href="http://openstack@lists.launchpad.net">http://openstack@lists.launchpad.net</a>> <BR>
Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
More help : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
_______________________________________________<BR>
Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
Post to : <a href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><BR>
Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
More help : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>