[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Can't create my seventh xen vm on rhel5


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
  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
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

## Virtual CPU

## 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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.