WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] AttributeError: type object 'VirtualAudio' has no attribute

To: xen-users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] AttributeError: type object 'VirtualAudio' has no attribute 'MODEL_DEFAULT' - Xen 3.x & Centos5.3
From: Michael Cook <michaelcook_mjc@xxxxxxxxx>
Date: Tue, 10 Aug 2010 14:09:25 -0700 (PDT)
Delivery-date: Tue, 10 Aug 2010 14:10:35 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1281474565; bh=T3wqvBYX9hejIg9pHM6kFjxaWpqryw7Xf9aOT/fkdV8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=doLizvzqe30axJGUFt8Gb20jcwcUPIEBlvUdjjyzVbOjweKAP2KnK/4dYTITxHjc0gCVV/V24PcaWenHoR8/P5+zKrbSRElc7PEgOS1hjtpakYX5b6Yptvn8xXfafomoLSEA/KdKcnIXylrEn3ZNKYB4t+iEO9xLn90ckTKVGeA=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=vq1NmnxeaIh0ylA3Iyy3LcxYEV51wOhq8MbJOZOiDi4ysnbsx5x4vF3SuXeTLNnWEkbEcLr1d7I9abSQxj7ZqOV2YFGqvtc0tjDffgP4dB4eczG1fkzfZZJ7JslOsWKBBo/KS27sJqHvyUh31ZAYT1flcHtRiGvqvFVE56Xwm4M=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: michael@xxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Any idea what causes this error when I attempt to "Open" a guest VM via the VirtManager... which doesn't open the console...

Traceback (most recent call last):
  File "/usr/local/share/virt-manager/virtManager/engine.py", line 571, in show_details
    details = vmmDetails(self.get_config(), con.get_vm(uuid), self)
  File "/usr/local/share/virt-manager/virtManager/details.py", line 196, in __init__
    self.init_details()
  File "/usr/local/share/virt-manager/virtManager/details.py", line 565, in init_details
    uihelpers.build_sound_combo(self.vm, sound_dev, no_default=no_default)
  File "/usr/local/share/virt-manager/virtManager/uihelpers.py", line 134, in build_sound_combo
    if m == virtinst.VirtualAudio.MODEL_DEFAULT and no_default:
AttributeError: type object 'VirtualAudio' has no attribute 'MODEL_DEFAULT'


Lineup:

Last login: Tue Aug 10 16:34:55 2010
xm [root@platformvm0 ~]# xm info
host                   : platformvm0
release                : 2.6.18-194.8.1.el5xen
version                : #1 SMP Thu Jul 1 19:41:05 EDT 2010
machine                : x86_64
nr_cpus                : 4
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 2000
hw_caps                : bfebfbff:20000800:00000000:00000140:0004e33d:00000000:00000001
total_memory           : 4093
free_memory            : 0
node_to_cpu            : node0:0-3
xen_major              : 3
xen_minor              : 1
xen_extra              : .2-194.8.1.el5
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
cc_compile_by          : mockbuild
cc_compile_domain      : centos.org
cc_compile_date        : Thu Jul  1 18:56:55 EDT 2010
xend_config_format     : 2


Config file:

name = "evossc-standalone_3.7.0.0_18751_VM1"
uuid = "cdb7ab03-c144-6164-c632-b904575c31d4"
maxmem = 3500
memory = 3500
vcpus = 2
bootloader = "/usr/bin/pygrub"



vfb = [ "type=vnc,vncunused=0,vncdisplay=5" ]
disk = [ "tap:aio:/home/xen/evossc-nodeA/evossc-standalone_3.7.0.0_18751_VM1.img,xvda,w" ]
vif = [ "mac=00:16:3e:64:66:62,bridge=xenbr0,script=vif-bridge", "mac=00:16:3e:65:66:63,bridge=xenbr1,script=vif-bridge" ]

Using these two packages, manually compiled and installed...
virt-manager-0.8.4
virtinst-0.500.3



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] AttributeError: type object 'VirtualAudio' has no attribute 'MODEL_DEFAULT' - Xen 3.x & Centos5.3, Michael Cook <=