[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen 3.3 + Drbd - block device script broken?



Nathan Flynn pisze:
I also have the same problem.

The problem appears to be the addition off;

/usr/lib/python2.5/site-packages/xen/xend/server/blkif.py
          try:
              (typ, params) = string.split(uname, ':', 1)
              if typ not in ('phy', 'file', 'tap'):
                  raise VmError(
                      'Block device must have "phy", "file" or "tap" '
                      'specified to type')

I can get around it by adding drbd to it but means I have to edit each dom0 and restart xend.

I  changed this below and recompiled python-xen-3.2 and working


(typ, params) = string.split(uname, ':', 1)
- if typ not in ('phy', 'file', 'tap'):
+ if typ not in ('phy', 'file', 'tap', 'drbd'):
raise VmError(
- 'Block device must have "phy", "file" or "tap" '
+ 'Block device must have "phy", "file", "tap" or "drbd" '


Albert



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.