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] Re: Remus - trouble with disk protection

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Re: Remus - trouble with disk protection
From: Darko Petrović <darko.b.petrovic@xxxxxxxxx>
Date: Wed, 24 Feb 2010 12:29:36 +0100
Delivery-date: Wed, 24 Feb 2010 03:31:13 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=QYhb8MldTCdtlm+hlfCF3vECC4+9MPtXHbwqfN5bm4Y=; b=hzVJSlzSUkhgZFgZvJHo2e8U4HYZR7iD5OW8j7j/uitiQgh8Os3Prbw3ZV/g35YYrR t7uGEu9xATqLbqRZHu89AaM0F4wdzgWfMb7aQfPANtoc9ynFJA+RP84yhKAQ7dkbVMgL cq40aM5zKPIC0BNiyY6yR3zIbQ52hXaD88RUQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=do1J+CirSUXb5vX7h+HQezX6mfh3jqkZp4wE1DsQV6/Tg30oPtpiBqa9eotZ+VNs8O Px/VBGPpbY0/aZZIpY6sBecFO6vNMb40yaP0l4V2RY1WJAkx96M72WK1BVNEgIM31hBB akcKD2v6bMudxTHXZaEJiw4xJ4d3Wemaz7Ifw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a46168061002240156q2bf2cc5etad47a6a8a7b8c672@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: <a46168061002240156q2bf2cc5etad47a6a8a7b8c672@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Here's what is spitted by xend.log:

[2010-02-24 12:27:05 2498] 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 2815, in _initDomain
    self._configureBootloader()
  File "usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 3240, 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: 'lsepc32:9000|aio:/dev/vg0/lvol0'


What is wrong?

Darko

2010/2/24 Darko Petrović <darko.b.petrovic@xxxxxxxxx>
When I try to start a VM with disk protection offered by Remus, I simply get the following error:
Error: [Errno 2] No such file or directory: 'lsepc32:9000|aio:/dev/vg0/lvol0'

In the config file I have:
disk = ['tap:remus:lsepc32:9000|aio:/dev/vg0/lvol0,xvda,w', 'tap:remus:lsepc32:9000|aio:/dev/vg0/swap,xvdb,w']

The problem remains when I try to use the IP address instead of "lsepc32". Everything works correctly without Remus supplement in "disk=" field. The paths to the LVM partitions are exactly the same on the primary and the backup. I have built everything yesterday from the latest unstable sources.

Where is the catch?

Thankful,
Darko

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>