[openstack-dev] Using tmux instead of screen in devstack

Thierry Carrez thierry at openstack.org
Wed Jul 2 09:57:02 UTC 2014


Sean Dague wrote:
> On 07/01/2014 08:11 AM, Anant Patil wrote:
>> Hi,
>>
>> I use tmux (an alternative to screen) a lot and I believe lot of other
>> developers use it. I have been using devstack for some time now and
>> would like to add the option of using tmux instead of screen for
>> creating sessions for openstack services. I couldn't find a way to do
>> that in current implementation of devstack. 
>>
>> I have submitted an initial blueprint here:
>> https://blueprints.launchpad.net/devstack/+spec/enable-tmux-option-for-screen
>>
>> Any comments are welcome! It will be helpful if someone can review it
>> and provide comments.
> 
> Honestly, making this optional isn't really interesting. It's just code
> complexity for very little benefit. Especially when you look into the
> service stop functions.
> 
> If you could do a full replacement of *all* existing functionality used
> in screen with tmux, that might be. Screen -X stuff has some interesting
> failure modes on loaded environments, and I'd be in favor of switching
> to something else that didn't. However in looking through tmux man page,
> I'm not sure I see the equivalents to the logfile stanzas.
> 
> I'd like the blueprint to address all the screen calls throughout the
> codebase before acking on whether or not we'd accept such a thing.
> Because the screen use is more complex than you might realize.

I agree with Sean, supporting both options sounds like gratuitous added
complexity and maintenance burden. tmux could completely replace screen
in devstack though, as long as the full feature set is covered and there
is some key benefit in using it instead of screen.

-- 
Thierry Carrez (ttx)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140702/7768563a/attachment.pgp>


More information about the OpenStack-dev mailing list