Sebastien Douche
2012-May-21 05:41 UTC
[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 at gmail.com> Twitter: @sdouche / G+: +sdouche
Daniel P. Berrange
2012-May-21 08:43 UTC
[libvirt-users] Cannot connect to the existing LXC containers (console)
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 :|
Sebastien Douche
2012-May-21 09:13 UTC
[libvirt-users] Cannot connect to the existing LXC containers (console)
On Mon, May 21, 2012 at 7:41 AM, Sebastien Douche <sdouche at 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 minutesThe 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 at gmail.com> Twitter: @sdouche / G+: +sdouche
Maybe Matching Threads
- /dev/tty only on a new container
- "ext2: parent directory not found" with Ubuntu 12.04
- The LXC container propagate the ro remount to the host mount point
- [virt-tools-list] virt-make-fs: Partition 1 has different physical/logical beginnings and endings
- A RFE for libvirt