Public bug reported:

As reported in bug 523148 comment 3
(https://bugs.launchpad.net/bugs/523148/comments/3) , there is a bug
with current lucid preventing 'virsh console' from working.

Copied from the link above:
| # virsh console guest1
| Connected to domain guest1
| Escape character is ^]
| 14:25:40.056: error : vshRunConsole:77 : unable to open tty /dev/pts/3 : No 
such file or directory
| 
| When I dump the configuration of my VM, something is wrong with the path 
"/dev/pts/3" (there is a carriage return after the path).
| 
|  # virsh dumpxml guest1
|  <domain type='kvm' id='2'>
|   <name>guest1</name>
| ...
|  <serial type='pty'>
| '/> <source path='/dev/pts/3
|       <target port='0'/>
|     </serial>
| '> <console type='pty' tty='/dev/pts/3
| '/> <source path='/dev/pts/3
|       <target port='0'/>
|     </console>
| ...
| </domain>

The 'path' entries are added by libvirt after launching a domain with:
    <serial type="pty">
      <target port="1"/>
    </serial>
    <console type='pty'>
      <target port='1'/>
    </console>
    </devices>

The solution is found at
http://libvirt.org/git/?p=libvirt.git;a=commit;h=c0a9b6a5338e54b64a4a28415ffbdb6bcc2b38c5

Note, this is not a dupe of bug 523148.  In lucid you wont get far
enough to see that bug.  Without the change console in 'virsh' is
completely broken.

ProblemType: Bug
Architecture: amd64
Date: Sat Mar 20 00:21:50 2010
DistroRelease: Ubuntu 10.04
Package: libvirt-bin 0.7.5-5ubuntu13
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: User Name 2.6.32-16.25-server
SourcePackage: libvirt
Uname: Linux 2.6.32-16-server x86_64

** Affects: libvirt (Ubuntu)
     Importance: Medium
         Status: Triaged

** Affects: libvirt (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: amd64 apport-bug lucid

-- 
vshRunConsole:77 : unable to open tty /dev/pts/3 
https://bugs.launchpad.net/bugs/542324
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

Reply via email to