[libvirt-users] Cannot connect to the existing LXC containers (console)

Hi, after 2 years of "pure" LXC usage, I'm trying now to administrate our LXC containers with libvirt No problem with a LXC container I create "from Scratch" (lxc-create), but with our existing containers, I've a strange behavior with the console: vsonde43 login: Debian GNU/Linux 5.0 vsonde43 console vsonde43 login: Debian GNU/Linux 5.0 vsonde43 tty1 vsonde43 login: Debian GNU/Linux 5.0 vsonde43 console vsonde43 login: Debian GNU/Linux 5.0 vsonde43 tty1 vsonde43 login: Debian GNU/Linux 5.0 vsonde43 console vsonde43 login: root Password: z Login incorrect vsonde43 login: Login incorrect vsonde43 login: root Password: Password: Login incorrect vsonde43 login: root INIT: Id "c2" respawning too fast: disabled for 5 minutes INIT: Id "c3" respawning too fast: disabled for 5 minutes INIT: Id "c4" respawning too fast: disabled for 5 minutes INIT: Id "c2" respawning too fast: disabled for 5 minutes INIT: Id "c3" respawning too fast: disabled for 5 minutes INIT: Id "c4" respawning too fast: disabled for 5 minutes Characters sometimes appears, and sometimes all keys are like the enter key. Any ideas? I tried many xml configurations w/o sucsess. Thanks. PS: libvirt 0.9.8 / lxc 0.7.5 -- Sebastien Douche <sdouche@gmail.com> Twitter: @sdouche / G+: +sdouche

On Mon, May 21, 2012 at 07:41:35AM +0200, Sebastien Douche wrote:
Hi, after 2 years of "pure" LXC usage, I'm trying now to administrate our LXC containers with libvirt No problem with a LXC container I create "from Scratch" (lxc-create), but with our existing containers, I've a strange behavior with the console:
I've not seen such behaviour myself, so hard to know what to suggest. You might want to take a look at the code for the Debian template used by 'lxc-create', and see if you can identify anything that is being done for your new containers, which might be missing in your existing containers. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

On Mon, May 21, 2012 at 7:41 AM, Sebastien Douche <sdouche@gmail.com> wrote:
I've strange behavior with the console:
Ok I found the solution I think:
Debian GNU/Linux 5.0 vsonde43 console ^^^^^^^ and
Debian GNU/Linux 5.0 vsonde43 tty1 ^^^^ and
INIT: Id "c2" respawning too fast: disabled for 5 minutes
The inittab contains the console, c1, c2, c3 and c4 activated. w/o cX, it's fine. Don't know how to use the console and tty1 together with libvirt (is it useful?). -- Sebastien Douche <sdouche@gmail.com> Twitter: @sdouche / G+: +sdouche

On Mon, May 21, 2012 at 11:13:43AM +0200, Sebastien Douche wrote:
On Mon, May 21, 2012 at 7:41 AM, Sebastien Douche <sdouche@gmail.com> wrote:
I've strange behavior with the console:
Ok I found the solution I think:
Debian GNU/Linux 5.0 vsonde43 console ^^^^^^^ and
Debian GNU/Linux 5.0 vsonde43 tty1 ^^^^ and
INIT: Id "c2" respawning too fast: disabled for 5 minutes
The inittab contains the console, c1, c2, c3 and c4 activated. w/o cX, it's fine. Don't know how to use the console and tty1 together with libvirt (is it useful?).
You don't want to use anything except the ttyN devices for consoles. Ignore /dev/console completely with LXC (for now) Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

On Mon, May 21, 2012 at 11:28 AM, Daniel P. Berrange <berrange@redhat.com> wrote:
The inittab contains the console, c1, c2, c3 and c4 activated. w/o cX, it's fine. Don't know how to use the console and tty1 together with libvirt (is it useful?).
You don't want to use anything except the ttyN devices for consoles. Ignore /dev/console completely with LXC (for now)
Understood, thanks Daniel. -- Sebastien Douche <sdouche@gmail.com> Twitter: @sdouche / G+: +sdouche
participants (2)
-
Daniel P. Berrange
-
Sebastien Douche