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] Xen cannot acquire a running lock.

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen cannot acquire a running lock.
From: Benjamin Weaver <benjamin.weaver@xxxxxxxxxxxxx>
Date: Tue, 12 Jul 2011 18:10:40 +0100
Delivery-date: Tue, 12 Jul 2011 15:24:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10
On a box running Debian Squeeze and Xen 4.0, I want to implement file locking so as to prevent any node of a Xen cluster from starting the same VM twice. I have configured OCFS2 and have the cluster running.

But when attempt to create a VM with locking turned on, I get an error:

Error: The VM is locked and appears to be running on host unknown. The vm is never created.

if look at xm log, I see that this message is thrown because Xen cannot acquire the lock. The error reads, something like

failed to acquire a running_lock. Status = 32512

This seems to indicate Xen is looking for a file it cannot find.

What is the problem? Do I have to configure OCFS2 locking permissions, or use the OCFS2 Distributed Lock Manager?

Thanks in advance!


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Xen cannot acquire a running lock., Benjamin Weaver <=