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-api

[Xen-API] vm export bug in XCP 0.5

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] vm export bug in XCP 0.5
From: George Shuklin <george.shuklin@xxxxxxxxx>
Date: Mon, 20 Dec 2010 17:34:16 +0300
Delivery-date: Mon, 20 Dec 2010 06:35:57 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=huQAJWhG6O56Rm91+Bbch1kYWBQwn4eYT9Iqq5qwr88=; b=SdselFttGB79Oo8ZUzAUR1LBJ340XLKL/tLPFHGEtUioT2xfwSyfWL2v6KP9JLcAzc zTBLdRnIAOr1dM71Nzut+CnlrZapulvH7Lp4vVuQySXhRvGmYbqR2oz2BJEMTAosmFSr inSBUY58j5dA9tmCxKNg6h+LI87We9nN6ZzSk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=TyHGauRHChYoqn6wrS9sjJfzJLAfk7GzSttWD+u/k/5UITM9+T8xqfYRD6Yuz4gLSp PfjbE4vg3cnbfzjClojFZdWOLP/GpqZz755grqCZb4Du9M8B3+sCc7MkBjnKO6IN5e8U vApX3fSlc9UPQPmqwaOARhlwQUCS4+OQqaNhI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Good day.

vbd, used by control domain for vm export does not destroyed if vm
export is canceled.

Steps to reproduce (may include some unnecessary steps):

a) Create vm with vdi on lvmoiscsi storage, and host suspend-sr on
lvmoiscsi-storage
b) Start VM on slave
c) suspend VM
d) start export to file (in my case it was NFS share) via cli directly
from slave host where VM was resident before suspend.
e) interrupt export about 20-30 sec after start by pressing Ctrl-C
f) Try to start VM (vm-start), got: 
xe vm-resume vm=test
The server failed to handle your request, due to an internal error.  The
given message may give details useful for debugging the problem.
message: Failure("The VDI 4813431c-56ee-4a68-811a-b15b69a20e57 is
already attached in RO mode; it can't be attached in RW mode!")

Yes, VBD was attached to control domain:

uuid ( RO)             : b10b03c1-79f1-3406-aea1-46a13bb040aa
          vm-uuid ( RO): d4e93255-cbc0-43a6-95cc-936c9dcdd79c
    vm-name-label ( RO): Control domain on host: cvt-xh3
         vdi-uuid ( RO): 4813431c-56ee-4a68-811a-b15b69a20e57
            empty ( RO): false
           device ( RO): xvda



_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

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