Re: [lxc-users] recent lxd update broke lxc exec terminal size?

2016-03-29 Thread Stéphane Graber
Hi, It's not intentional and was fixed upstream, very shortly after rc7 was tagged. Until we tag another rc, you can workaround it by resizing the terminal after running "lxc exec". For example by quickly flipping it to fullscreen and back. This will send a SIGWINCH event to LXD which will then s

Re: [lxc-users] lxc progress and a few questions

2016-03-29 Thread jjs - mainphrame
Well, I've found some interesting things here today. I created a couple of privileged xenial containers, and sure enough, I was able to live migrate them back and forth between the 2 lxd hosts. So far, so good. Then I did an apt upgrade - among the changes was a kernel change from 4.4.0-15 to 4.

Re: [lxc-users] recent lxd update broke lxc exec terminal size?

2016-03-29 Thread jjs - mainphrame
Yes, I observed the same thing after today's xenial updates. Among other problems. Jake On Tue, Mar 29, 2016 at 10:45 PM, Tomasz Chmielewski wrote: > After a recent lxd update, doing "lxc exec somecontainer /bin/bash" will > attach to given container's console, but it's size is very small, less

Re: [lxc-users] Graphics and sound with LXD

2016-03-29 Thread efersept
I was able to get graphics working fairly easily by "mounting" the necessary devices via the 'lxc config device add ...' tool, however the following: lxc.hook.pre-start = /home/USERNAME/.local/share/lxc/precise-gui/setup-pulse.sh still has me mystified. First off I can not find docume

[lxc-users] recent lxd update broke lxc exec terminal size?

2016-03-29 Thread Tomasz Chmielewski
After a recent lxd update, doing "lxc exec somecontainer /bin/bash" will attach to given container's console, but it's size is very small, less than 1/4 of the screen. It's quite uncomfortable to work with (i.e. ps auxf output is truncated, ncurses-based programs behave erratic). Is it inte

Re: [lxc-users] lxc progress and a few questions

2016-03-29 Thread Andrey Repin
Greetings, jjs - mainphrame! >> On Mon, Mar 28, 2016 at 08:47:24PM -0700, jjs - mainphrame wrote: >>> I've looked at ct migration between 2 ubuntu 16.04 hosts today, and had >>> some interesting problems;  I find that migration of stopped containers >>> works fairly reliably; but live migration

Re: [lxc-users] lxc progress and a few questions

2016-03-29 Thread Tycho Andersen
On Tue, Mar 29, 2016 at 09:30:19AM -0700, jjs - mainphrame wrote: > On Tue, Mar 29, 2016 at 7:18 AM, Tycho Andersen < > tycho.ander...@canonical.com> wrote: > > > On Mon, Mar 28, 2016 at 08:47:24PM -0700, jjs - mainphrame wrote: > > > I've looked at ct migration between 2 ubuntu 16.04 hosts today,

Re: [lxc-users] lxc progress and a few questions

2016-03-29 Thread jjs - mainphrame
On Tue, Mar 29, 2016 at 7:18 AM, Tycho Andersen < tycho.ander...@canonical.com> wrote: > On Mon, Mar 28, 2016 at 08:47:24PM -0700, jjs - mainphrame wrote: > > I've looked at ct migration between 2 ubuntu 16.04 hosts today, and had > > some interesting problems; I find that migration of stopped co

Re: [lxc-users] lxc progress and a few questions

2016-03-29 Thread Tycho Andersen
On Mon, Mar 28, 2016 at 08:47:24PM -0700, jjs - mainphrame wrote: > I've looked at ct migration between 2 ubuntu 16.04 hosts today, and had > some interesting problems; I find that migration of stopped containers > works fairly reliably; but live migration, well, it transfers a lot of > data, then