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] Can't create my seventh xen vm on rhel5

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Can't create my seventh xen vm on rhel5
From: Daniele Piaggesi <d.piaggesi@xxxxxxxxxxxx>
Date: Tue, 13 Nov 2007 12:00:04 +0100
Delivery-date: Tue, 13 Nov 2007 03:00:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20071022)

Hi

I'm a sysadmin and I've installed on my server Red Hat Enterprise Linux 5 to use its xen embedded with six virtual machines just created and running. Now I have a problem: when I attempt to create my seventh virtual machine, xen gives me this error:

Error: destroyDevice() takes exactly 3 arguments (2 given)

In /var/log/xen/xend.log find this errors:

[2007-11-13 11:34:00 xend 3471] ERROR (xmlrpclib2:184) destroyDevice() takes exactly 3 arguments (2 given)
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 162, in _marshaled_dispatch
    response = self._dispatch(method, params)
  File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
    return func(*params)
  File "<string>", line 1, in <lambda>
  File "/usr/lib/python2.4/site-packages/xen/xend/server/XMLRPCServer.py", line 38, in dispatch
    return getattr(info, fn)(*args)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1610, in waitForDevices
    self.waitForDevices_(c)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1101, in waitForDevices_
    return self.getDeviceController(deviceClass).waitForDevices()
  File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 145, in waitForDevices
    return map(self.waitForDevice, self.deviceIDs())
  File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 160, in waitForDevice
    self.destroyDevice(devid)
TypeError: destroyDevice() takes exactly 3 arguments (2 given)
[2007-11-13 11:34:00 xend.XendDomainInfo 3471] DEBUG (XendDomainInfo:1463) XendDomainInfo.destroy: domid=26
[2007-11-13 11:34:00 xend.XendDomainInfo 3471] DEBUG (XendDomainInfo:1471) XendDomainInfo.destroyDomain(26)

This is my conf file (just used with success for other six vm):

# Automatically generated xen config file
## Name VM
name = "vmname"

## Memory size
memory = "1024"

## Disk(s)
disk = [ 'tap:aio:/path/to/virtual/machine/imagefile-disk1.img,xvda,w', 'file:/path/to/virtual/machine/imagefile-swap.img,hda2,w' ]

## Linking on virtual if with bridge
vif = [ 'bridge=xenbr0', ]

## Set vnc used/unused
vfb = ["type=vnc,vncunused=1"]

## Virtual Machine UID.
#uuid = "867bc8a5-6dba-b102-b08f-e57c56c4e903"

## Bootloader Pygrub
bootloader="/usr/bin/pygrub"

## Virtual CPU
vcpus=1

## Parameters
on_reboot   = 'restart'
on_crash    = 'restart'



Is it a bug? is it a limit that I didn't know?

Thanx in advance for your help ;)

Daniele Piaggesi

--
Daniele Piaggesi
-----------------------
Linux System Administrator
Sourcesense - Making sense of OpenSource (http://www.sourcesense.com)
Pronetics s.p.a.
Mob.  +39.328.6176226
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>