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

Re: [Xen-users] tap2:remus:backup_ip:9000|aio:/path_to_disk.img not work

To: Manuel Silva <manuel79silva@xxxxxxxxx>
Subject: Re: [Xen-users] tap2:remus:backup_ip:9000|aio:/path_to_disk.img not working - OSError: [Errno 2] No such file or directory
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Tue, 21 Dec 2010 22:36:25 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 21 Dec 2010 19:38:10 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=7Ag06uxvPC2uKOjdwYd2YkpCZkaq4DLU5tSLE5y51Vg=; b=DewAht3rZ3mkATdbMT8jf+AgeA1FU6lonVsRkXcpRVzd4ncY7YViicqPY+yQv0jPn2 lhiYmWJx8rTa/Gamxj+upNr+fIv8XLg3TX6EkYQjEWp1aX2pcaWnZoxqmuVWUhiu+7Tr 8C5lLJYOWAt6a3m9QnI/7pEQZDyVAB9//ViAs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=jSsuUBGWHV1fgQFAzdFvAw0Gi7Dr54JGWHWgAX2xGQsCLjTgciAevJQQpJIFUro3ze u5oG8xSUGwgOftcaL/Q1PWtK/rClZDiwA3vBpRQdZyUV790l/Yetws4wuUCzQAnRBjhx +go2Vg3a5wB1f70PtoB+IJ4uEYMo2ghPWLkU4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik=WKUV4QVgXEb+DWjzLOf_Wa5n9_h7+1vCYDcR@xxxxxxxxxxxxxx>
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>
References: <AANLkTik=WKUV4QVgXEb+DWjzLOf_Wa5n9_h7+1vCYDcR@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Dec 20, 2010 at 8:01 PM, Manuel Silva <manuel79silva@xxxxxxxxx> wrote:
> 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

The problem looks to be related to the fact that
backup_ip:9000|aio:/home/xen/domains/lucid/disk.img is not addressable
(see the tail of your error message).

Can you confirm that you have the remus part working correctly?

Hope that helps.

Thanks,
Todd

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users