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] tap2:remus:backup_ip:9000|aio:/path_to_disk.img not working

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] tap2:remus:backup_ip:9000|aio:/path_to_disk.img not working - OSError: [Errno 2] No such file or directory
From: Manuel Silva <manuel79silva@xxxxxxxxx>
Date: Tue, 21 Dec 2010 01:01:15 +0000
Delivery-date: Mon, 20 Dec 2010 17:02:42 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=2qKuqqJcTHD+e7cmvf+WtmgoZyh1EJK18vIdjYC4LK4=; b=tJ7IJ82B788roZUfNh5Nv0MrhwyK35uSMyhS7R4b97SUHpEoTyk2z4vGodyyuADMc1 Ntgxf22CLdvqENFcbxyFXGnW9GJSei7ay7zqLCupdGwr9fiX9Ew40RK9MXs0StCgIeWK vDRAhg6+si8REo60EP/b85lyMHZHSd+qoM/6g=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=n8a/dy+d3jT+TyaLyytQvD2UzymZZdfc2LHsVdTzlLSES3FD211Z7/v9WJ1T6JhVIQ aimEHzhW+SjehSWBhCOCmPMRnsND8gNMAX341vQ9N56YO3v6cT0QTfD1m+v4Az8Ou9kW tDQjORT45aQKc3x0l3uNXHmP7tuGk/w9GMB+E=
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

I'm using Xen (installed from source - "hg clone http://xenbits.xen.org/xen-4.0-testing.hg") on Debian Lenny. Dom0 kernel is 2.6.32-bpo.5-xen-686.

Until now I have successfully ran the Lucid Ubuntu as domU guest, defining disks as (and also as file:):
disk = ['tap2:aio:/home/xen/domains/lucid/disk.img,xvda1,w', 'tap2:aio:/home/xen/domains/lucid/swap.img,xvda2,w']

However, when I try "disk = ['tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/disk.img,xvda1,w', 'tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/swap.img,xvda2,w']" I have no luck.

Please, can you tell me what's wrong? I have spend so many time googling, but no one seems to address this issue.

Can someone tell me if this happens when installing xen hypervisor directly from deb packages (version 4.0 for Debian squeeze)?

I'll appreciate your help (I'm really stuck).
Thanks in advance.

Best regards,
Manuel Silva
 

PS.: The error follows:

[2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:101) XendDomainInfo.create(['vm', ['name', 'lucid'], ['memory', 128], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['bootloader', '/usr/bin/pygrub'], ['bootloader_args', ''], ['image', ['linux', ['root', '/dev/xvda1 ro'], ['videoram', 4], ['args', 'xencons=tty'], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['tap2', ['uname', 'tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/disk.img'], ['dev', 'xvda1'], ['mode', 'w']]], ['device', ['tap2', ['uname', 'tap2:remus:backup_ip:9000|aio:/home/xen/domains/lucid/swap.img'], ['dev', 'xvda2'], ['mode', 'w']]], ['device', ['vif']]])
[2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2508) XendDomainInfo.constructDomain
[2010-12-21 00:32:23 2091] DEBUG (balloon:220) Balloon: 132032 KiB free; need 16384; done.
[2010-12-21 00:32:23 2091] DEBUG (XendDomain:464) Adding Domain: 5
[2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2818) XendDomainInfo.initDomain: 5 256
[2010-12-21 00:32:23 2091] ERROR (XendDomainInfo:483) VM start failed
Traceback (most recent call last):
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 469, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2820, in _initDomain
    self._configureBootloader()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 3245, in _configureBootloader
    mounted = devtype in ['tap', 'tap2'] and taptype != 'aio' and taptype != 'sync' and not os.stat(fn).st_rdev
OSError: [Errno 2] No such file or directory: 'backup_ip:9000|aio:/home/xen/domains/lucid/disk.img'
[2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=5
[2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2416) No device model
[2010-12-21 00:32:23 2091] DEBUG (XendDomainInfo:2418) Releasing devices
[2010-12-21 00:32:23 2091] ERROR (XendDomainInfo:106) Domain construction failed
Traceback (most recent call last):
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 104, in create
    vm.start()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 469, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2820, in _initDomain
    self._configureBootloader()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 3245, in _configureBootloader
    mounted = devtype in ['tap', 'tap2'] and taptype != 'aio' and taptype != 'sync' and not os.stat(fn).st_rdev
OSError: [Errno 2] No such file or directory: 'backup_ip:9000|aio:/home/xen/domains/lucid/disk.img'
[2010-12-21 00:32:23 2091] ERROR (xmlrpclib2:178) Internal error handling xend.domain.create
Traceback (most recent call last):
  File "usr/lib/python2.5/site-packages/xen/util/xmlrpclib2.py", line 131, in _marshaled_dispatch
    response = self._dispatch(method, params)
  File "/usr/lib/python2.5/SimpleXMLRPCServer.py", line 415, in _dispatch
    return func(*params)
  File "usr/lib/python2.5/site-packages/xen/xend/server/XMLRPCServer.py", line 79, in domain_create
    info = XendDomain.instance().domain_create(config)
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 982, in domain_create
    dominfo = XendDomainInfo.create(config)
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 104, in create
    vm.start()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 469, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "usr/lib/python2.5/site-packages/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 2820, in _initDomain
    self._configureBootloader()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 3245, in _configureBootloader
    mounted = devtype in ['tap', 'tap2'] and taptype != 'aio' and taptype != 'sync' and not os.stat(fn).st_rdev
OSError: [Errno 2] No such file or directory: 'backup_ip:9000|aio:/home/xen/domains/lucid/disk.img
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users