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
XendConfig_create_vdi.diff
Description: Text document
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|