[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Remus blktap2 issue
Its not just the tap2:remus:.... there is a bug lurking in the in tools/python/xen/remus/device.py in ReplicatedDisk class. The regular _expression_ scans the domU config for only tap:tapdisk:remus... or tap:remus.. disk types only. I was able to get it working by fixing that regexp. This applies for xen 4.0.1 only. Am not sure about xen unstable. Here is a patch that might be of help to you (its rather crude but heck I was too lazy :) ) diff -r b536ebfba183 tools/python/xen/remus/device.py --- a/tools/python/xen/remus/device.py Wed Aug 25 09:22:42 2010 +0100 +++ b/tools/python/xen/remus/device.py Fri Sep 03 08:47:13 2010 -0700 @@ -36,10 +36,13 @@ # to request commits. self.ctlfd = None - if not disk.uname.startswith('tap:remus:') and not disk.uname.startswith('tap:tapdisk:remus:'): + if not disk.uname.startswith('tap2:remus:') and not disk.uname.startswith('tap:remus:') and not disk.uname.startswith('tap:tapdisk:remus:'): raise ReplicatedDiskException('Disk is not replicated: %s' % str(disk)) - fifo = re.match("tap:.*(remus.*)\|", disk.uname).group(1).replace(':', '_') + if disk.uname.startswith('tap2:remus:'): + fifo = re.match("tap2:.*(remus.*)\|", disk.uname).group(1).replace(':', '_') + else: + fifo = re.match("tap:.*(remus.*)\|", disk.uname).group(1).replace(':', '_') absfifo = os.path.join(self.FIFODIR, fifo) absmsgfifo = absfifo + '.msg' On Tue, Sep 7, 2010 at 11:01 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
-- perception is but an offspring of its own self _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |