Daniele Piaggesi
2007-Nov-13 11:00 UTC
[Xen-users] Can''t create my seventh xen vm on rhel5
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 "", line 1, in 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@lists.xensource.com http://lists.xensource.com/xen-users
On Tue Nov 13, 2007 at 12:00:04 +0100, Daniele Piaggesi wrote:> 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:Probably you''ve run out of loop devices. Something like this should fix it: shutdown all guests. rmmod loop echo ''options loop max_loop=255'' > /etc/modprobe.d/loop.local modprobe loop Look for this afterwards: dmesg |grep loop loop: loaded (max 255 devices) Steve -- # Commercial Debian GNU/Linux Support http://www.linux-administration.org/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniele Piaggesi
2007-Nov-15 10:37 UTC
Re: [Xen-users] [SOLVED] Can''t create my seventh xen vm on rhel5
Thanks for your help, it solved my problem. Bye Daniele Steve Kemp wrote: On Tue Nov 13, 2007 at 12:00:04 +0100, Daniele Piaggesi wrote: 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: Probably you''ve run out of loop devices. Something like this should fix it: shutdown all guests. rmmod loop echo ''options loop max_loop=255'' > /etc/modprobe.d/loop.local modprobe loop Look for this afterwards: dmesg |grep loop loop: loaded (max 255 devices) Steve -- 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@lists.xensource.com http://lists.xensource.com/xen-users