[Openstack] Openstack + XCP (both on SID): XenAPI python script failing
thomas at goirand.fr
Sat Dec 31 20:07:28 UTC 2011
On 01/01/2012 03:23 AM, Ewan Mellor wrote:
> The operation it's trying to perform is high up your callstack,
> at vmops.py line 826. It's deciding whether to do a VDI.resize
> or a VDI.resize_online, based on the host version number. This
> is because the VDI.resize_online feature was removed in
> XenServer 6.0.
> How is XCP advertising itself in host.software_version? We will
> have to update the version check to cover XCP too. At the moment,
> it's just checking whether host.software_version['product_version']
> is 6.0 or above, which is appropriate for XenServer but not XCP.
Thanks for your reply.
Well, the issue is that the version thing seems totally broken, I
had to hack in it, otherwise I'd have nothing. I heard that there's
a file somewhere to set the version of XCP, but I don't know where.
I'll ask Mike and Jon next week (if they are back on IRC).
More information about the Openstack