[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Error: (22, 'Invalid argument')
It was me who posted the earlier problem and resolution. When I said "there was an older installation of the binary tools" what I meant is the following. There was a rpm version of Xen 3.0.3 installed on the OS by virtue of its being a redhat clone. I only made everything work for xen 3.1 when I totally deleted all the xen 3.03 utilities off of the system, and the kernel too, and then reinstalled the xen 3.1 kernel and utilities from the xensource 3.1 tarball. Steve ------------------------------------------------------------------ Steven C. Timm, Ph.D (630) 840-8525 timm@xxxxxxxx http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader. On Fri, 21 Sep 2007, Bryan Brown wrote: Hi Ashutosh, I've been suffering the same problems for the last week. After building everything from source it is now working like a charm. here are a few sources that helped me out: http://www.nabble.com/Compiling-Xen-3.1.0-src-on-Debian-AMD64-Machine-t4271223.html - list of packages add gettext to that list http://wiki.kartbuilding.net/index.php/Xen_Source_and_Compiling - another list of packages to use as refernce http://www.howtoforge.com/xen_3.0_ubuntu_dapper_drake - dated but a few little nuggets (depmod and mkinitramfs) hopefully that will help you on your path to xen. Make sure if you have any Ubuntu packages install you purge them, as they may end up causing problems if left in place. Bryan On Wednesday 19 September 2007, ashutosh mehra wrote:Hi, I have set up an ubuntu edgy guest domain on a fiesty host domain. The installation was successful but on running xm create -c baseimage, I get the following error message: Error: (22, 'Invalid argument') The problem seems very similar to the one here: http://lists.xensource.com/archives/html/xen-users/2007-07/msg00361.html but I'm not able to figure out what the post means by "There was an old binary installation of the tools" The log contents (xm log): [2007-09-20 15:43:33 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'xen1.example.com'], ['memory', '128'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/xen-3.gz'], ['ramdisk', '/boot/initrd.img-2.6.18-xen'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/disk.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['ip', '192.168.12.150']]]]) [2007-09-20 15:43:33 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:296) parseConfig: config is ['vm', ['name', 'xen1.example.com'], ['memory', '128'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/xen-3.gz'], ['ramdisk', '/boot/initrd.img-2.6.18-xen'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/disk.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['ip', '192.168.12.150']]]] [2007-09-20 15:43:33 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:395) parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['linux', ['kernel', '/boot/xen-3.gz'], ['ramdisk', '/boot/initrd.img-2.6.18-xen'], ['root', '/dev/sda1 ro']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': 'xen1.example.com', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 128, 'device': [('vbd', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/disk.img'], ['dev', 'sda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/swap.img'], ['dev', 'sda2'], ['mode', 'w']]), ('vif', ['vif', ['ip', '192.168.12.150']])], 'bootloader': None, 'cpu': None, 'maxmem': None} [2007-09-20 15:43:33 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:1262) XendDomainInfo.construct: None [2007-09-20 15:43:33 xend.XendDomainInfo 29373] ERROR (__init__:1021) Domain construction failed Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 194, in create vm.construct() File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1266, in construct handle = uuid.fromString(self.info['uuid'])) Error: (22, 'Invalid argument') [2007-09-20 15:43:33 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:1458) XendDomainInfo.destroy: domid=None [2007-09-20 15:43:33 xend 29373] ERROR (__init__:1021) (22, 'Invalid argument') Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/xen/util/xmlrpclib2.py", line 162, in _marshaled_dispatch response = self._dispatch(method, params) File "SimpleXMLRPCServer.py", line 415, in _dispatch return func(*params) File "/usr/lib/python2.5/site-packages/xen/xend/server/XMLRPCServer.py", line 64, in domain_create info = XendDomain.instance().domain_create(config) File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 228, in domain_create dominfo = XendDomainInfo.create(config) File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 194, in create vm.construct() File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1266, in construct handle = uuid.fromString(self.info['uuid'])) Error: (22, 'Invalid argument') [2007-09-20 15:43:54 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'xen1.example.com'], ['memory', '128'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/xen-3.gz'], ['ramdisk', '/boot/initrd.img-2.6.18-xen'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/disk.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['ip', '192.168.12.150']]]]) [2007-09-20 15:43:54 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:296) parseConfig: config is ['vm', ['name', 'xen1.example.com'], ['memory', '128'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/xen-3.gz'], ['ramdisk', '/boot/initrd.img-2.6.18-xen'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/disk.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['ip', '192.168.12.150']]]] [2007-09-20 15:43:54 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:395) parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['linux', ['kernel', '/boot/xen-3.gz'], ['ramdisk', '/boot/initrd.img-2.6.18-xen'], ['root', '/dev/sda1 ro']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': 'xen1.example.com', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 128, 'device': [('vbd', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/disk.img'], ['dev', 'sda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'file:/home/xen/domains/xen1.example.com/swap.img'], ['dev', 'sda2'], ['mode', 'w']]), ('vif', ['vif', ['ip', '192.168.12.150']])], 'bootloader': None, 'cpu': None, 'maxmem': None} [2007-09-20 15:43:54 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:1262) XendDomainInfo.construct: None [2007-09-20 15:43:54 xend.XendDomainInfo 29373] ERROR (__init__:1021) Domain construction failed Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 194, in create vm.construct() File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1266, in construct handle = uuid.fromString(self.info['uuid'])) Error: (22, 'Invalid argument') [2007-09-20 15:43:54 xend.XendDomainInfo 29373] DEBUG (XendDomainInfo:1458) XendDomainInfo.destroy: domid=None [2007-09-20 15:43:54 xend 29373] ERROR (__init__:1021) (22, 'Invalid argument') Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/xen/util/xmlrpclib2.py", line 162, in _marshaled_dispatch response = self._dispatch(method, params) File "SimpleXMLRPCServer.py", line 415, in _dispatch return func(*params) File "/usr/lib/python2.5/site-packages/xen/xend/server/XMLRPCServer.py", line 64, in domain_create info = XendDomain.instance().domain_create(config) File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 228, in domain_create dominfo = XendDomainInfo.create(config) File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 194, in create vm.construct() File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1266, in construct handle = uuid.fromString(self.info['uuid'])) Error: (22, 'Invalid argument') *************************************************************************************************************** Contents of baseimage (config file for guest domain): # -*- mode: python; -*- kernel = "/boot/vmlinuz-2.6.18-xen" ramdisk = "/boot/initrd.img-2.6.18-xen" memory = 128 name = "baseimage" vif = ['bridge=xenbr0'] disk = ['file:/xen-images/guest_base.img,hda1,w','file:/xen-images/guest_base- swap.img,hda2,w'] ip = "192.168.0.101" netmask = "255.255.255.0" gateway = "192.168.0.1" hostname = "baseimage" root = "/dev/hda1 ro" extra = "4" ************************************************************************************************************** The IP address of the guest domain is not same as that of host domain. Host domain network config is: IP address: 192.168.12.18 netmask: 255.255.0.0 gateway: 192.168.3.254 If anyone has any suggestions regarding this issue...plz share them with us. Thanks_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |