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

[Xen-devel] [PATCH] [API] XendConfig does not create VDI

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] [API] XendConfig does not create VDI
From: Pascal Bouchareine <pascal@xxxxxxxxx>
Date: Fri, 13 Jul 2007 13:50:55 +0200
Delivery-date: Fri, 13 Jul 2007 04:48:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
Hi again,

After a xend restart or a migration, we lose API VDI information
for a given VBD:

>>> x2.VBD.get_record(s2, 'ffdbd103-9c5f-9439-22a0-8685c8599213')
{'Status': 'Success', 'Value': {'uuid': 'ffdbd103-9c5f-9439-22a0-8685c8599213', 
'bootable': '0', 'runtime_properties': {}, 'VM': 
'1d73ea95-966b-4a54-1c86-ae17381a3c8b', 'metrics': 
'ffdbd103-9c5f-9439-22a0-8685c8599213', 'VDI': 
'c695a71e-b8d3-660f-577f-c77b225decd6', 'mode': 'RW', 'device': 'xvda', 'type': 
'Disk'}}

<- xend restart ->

>>> x2.VBD.get_record(s2, 'ffdbd103-9c5f-9439-22a0-8685c8599213')
{'Status': 'Success', 'Value': {'uuid': 'ffdbd103-9c5f-9439-22a0-8685c8599213', 
'bootable': '1', 'runtime_properties': {}, 'VM': 
'1d73ea95-966b-4a54-1c86-ae17381a3c8b', 'metrics': 
'ffdbd103-9c5f-9439-22a0-8685c8599213', 'VDI': '', 'mode': 'RW', 'device': 
'xvda', 'type': 'Disk'}}

This behaviour is a bit annoying here. Any idea for this to get
fixed ? I'm currently using the attached patch but it's not
very clean and I'm affraid this breaks things.

-- 
\o/   Pascal Bouchareine - Gandi 
 g    0170393757           15, place de la Nation - 75011 Paris      

Attachment: XendConfig_create_vdi.diff
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] [API] XendConfig does not create VDI, Pascal Bouchareine <=