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

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Pascal Bouchareine <pascal@xxxxxxxxx>
  • Date: Fri, 13 Jul 2007 13:50:55 +0200
  • Delivery-date: Fri, 13 Jul 2007 04:48:42 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

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