Re: [Bug 594836] Re: virsh unable to open console

2010-08-26 Thread David Bryson
I agree this bug is stale. Unfortunately I have lost access to the
data/system with this broken container on it, so I will be unable to
be of any assistance.  Probably best to mark the but
invalid/unresolved.

On Wed, Aug 25, 2010 at 3:56 AM, Dave Walker davewal...@ubuntu.com wrote:
 @David, This bug is starting to become stale - would you be able to
 provide the additional information that Serge has requested?

 Thanks :)

 --
 virsh unable to open console
 https://bugs.launchpad.net/bugs/594836
 You received this bug notification because you are a direct subscriber
 of the bug.

 Status in “libvirt” package in Ubuntu: Incomplete

 Bug description:
 Hi,

 Using a simple config on lucid 10.04LTS, I get varying behavior of the pts 
 device that is supposed to be created for the console:  This happens both 
 with stock 0.7.5 versions and 0.7.7-4ubuntu1~jdstrand4.

 domain type='lxc' id='15398'
  namevm1/name
  uuid65065c54-1085-b595-9bcd-7ccbd03b91e6/uuid
  memory50/memory
  currentMemory50/currentMemory
  vcpu2/vcpu
  os
    type arch='x86_64'exe/type
    init/sbin/init/init
  /os
  clock offset='utc'/
  on_poweroffdestroy/on_poweroff
  on_rebootrestart/on_reboot
  on_crashdestroy/on_crash
  devices
    emulator/usr/lib/libvirt/libvirt_lxc/emulator
    filesystem type='mount'
      source dir='/lxc/rootfs.dbryson'/
      target dir='/'/
    /filesystem
    interface type='bridge'
      mac address='52:54:00:c8:8a:8b'/
      source bridge='virbr0'/
      target dev='veth0'/
    /interface
    console type='pty' tty='/dev/pts/3'
      source path='/dev/pts/3'/
      target port='0'/
    /console
  /devices
 /domain

 Note that the pts device was never created:

 $ ls -l /dev/pts/
 total
 crw--w 1 root    tty  136, 0 2010-06-15 13:58 0
 crw--w 1 dbryson tty  136, 1 2010-06-15 13:48 1
 crw--w 1 dbryson tty  136, 2 2010-06-15 14:04 2
 c- 1 root    root   5, 2 2010-06-15 10:24 ptmx

 Also this is NOT the same as bug 542324, notice that my dumpxml has properly 
 formatted newlines. This may or may not be related to strange behavior when 
 ssh'ing to the machine, it shows me a terminal prompt in my ssh session.

 dbry...@lxc4:/lxc$ ssh 192.168.122.12
 dbry...@192.168.122.12's password:
 Linux lucid 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 
 x86_64 GNU/Linux
 Ubuntu 10.04 LTS

 Welcome to the Ubuntu Server!
  * Documentation:  http://www.ubuntu.com/server/doc

 The programs included with the Ubuntu system are free software;
 the exact distribution terms for each program are described in the
 individual files in /usr/share/doc/*/copyright.

 Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
 applicable law.

 Last login: Tue Jun 15 21:07:09 2010 from 192.168.122.1
 Could not chdir to home directory /home/dbryson: No such file or directory
 groups: cannot find name for group ID 1001
 dbry...@lucid:/$
 Ubuntu 10.04 LTS lucid tty1

 lucid login:

 To unsubscribe from this bug, go to:
 https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/594836/+subscribe


-- 
virsh unable to open console
https://bugs.launchpad.net/bugs/594836
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 594836] [NEW] virsh unable to open console

2010-06-15 Thread David Bryson
Public bug reported:

Hi,

Using a simple config on lucid 10.04LTS, I get varying behavior of the
pts device that is supposed to be created for the console:  This happens
both with stock 0.7.5 versions and 0.7.7-4ubuntu1~jdstrand4.

domain type='lxc' id='15398'
  namevm1/name
  uuid65065c54-1085-b595-9bcd-7ccbd03b91e6/uuid
  memory50/memory
  currentMemory50/currentMemory
  vcpu2/vcpu
  os
type arch='x86_64'exe/type
init/sbin/init/init
  /os
  clock offset='utc'/
  on_poweroffdestroy/on_poweroff
  on_rebootrestart/on_reboot
  on_crashdestroy/on_crash
  devices
emulator/usr/lib/libvirt/libvirt_lxc/emulator
filesystem type='mount'
  source dir='/lxc/rootfs.dbryson'/
  target dir='/'/
/filesystem
interface type='bridge'
  mac address='52:54:00:c8:8a:8b'/
  source bridge='virbr0'/
  target dev='veth0'/
/interface
console type='pty' tty='/dev/pts/3'
  source path='/dev/pts/3'/
  target port='0'/
/console
  /devices
/domain

Note that the pts device was never created:

$ ls -l /dev/pts/
total 
crw--w 1 roottty  136, 0 2010-06-15 13:58 0
crw--w 1 dbryson tty  136, 1 2010-06-15 13:48 1
crw--w 1 dbryson tty  136, 2 2010-06-15 14:04 2
c- 1 rootroot   5, 2 2010-06-15 10:24 ptmx

Also this is NOT the same as bug 542324, notice that my dumpxml has
properly formatted newlines. This may or may not be related to strange
behavior when ssh'ing to the machine, it shows me a terminal prompt in
my ssh session.

dbry...@lxc4:/lxc$ ssh 192.168.122.12
dbry...@192.168.122.12's password: 
Linux lucid 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 
GNU/Linux
Ubuntu 10.04 LTS

Welcome to the Ubuntu Server!
 * Documentation:  http://www.ubuntu.com/server/doc

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

Last login: Tue Jun 15 21:07:09 2010 from 192.168.122.1
Could not chdir to home directory /home/dbryson: No such file or directory
groups: cannot find name for group ID 1001
dbry...@lucid:/$ 
Ubuntu 10.04 LTS lucid tty1

lucid login:

** Affects: libvirt (Ubuntu)
 Importance: Undecided
 Status: New

-- 
virsh unable to open console
https://bugs.launchpad.net/bugs/594836
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs