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] Xen 3.3 + Drbd - block device script broken?

Subject: Re: [Xen-users] Xen 3.3 + Drbd - block device script broken?
From: Albert <forall@xxxxxxxxxxxxx>
Date: Thu, 18 Sep 2008 10:57:29 +0200
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 18 Sep 2008 01:56:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1EE32137-E586-4DCA-82C0-9717C7E20359@xxxxxxxx>
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: <48D1FA98.3020905@xxxxxxxxxxxxx> <1EE32137-E586-4DCA-82C0-9717C7E20359@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (X11/20080724)
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

<Prev in Thread] Current Thread [Next in Thread>