Re: [Openstack] Openstack + XCP (both on SID): XenAPI python script failing

2011-12-31 Thread Ewan Mellor
> -Original Message- > From: Thomas Goirand [mailto:tho...@goirand.fr] > Sent: 31 December 2011 22:11 > To: Ewan Mellor > Cc: openstack@lists.launchpad.net; Mike McClurg; Jonathan Ludlam > Subject: Re: [Openstack] Openstack + XCP (both on SID): XenAPI python > script

Re: [Openstack] Openstack + XCP (both on SID): XenAPI python script failing

2011-12-31 Thread Thomas Goirand
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

Re: [Openstack] Openstack + XCP (both on SID): XenAPI python script failing

2011-12-31 Thread Thomas Goirand
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

Re: [Openstack] Openstack + XCP (both on SID): XenAPI python script failing

2011-12-31 Thread Ewan Mellor
ssage- > From: openstack-bounces+ewan.mellor=citrix@lists.launchpad.net > [mailto:openstack-bounces+ewan.mellor=citrix@lists.launchpad.net] > On Behalf Of Thomas Goirand > Sent: 30 December 2011 09:56 > To: openstack@lists.launchpad.net > Subject: [Openstack] Opensta

Re: [Openstack] Openstack + XCP (both on SID): XenAPI python script failing

2011-12-30 Thread Johannes Erdfelt
On Sat, Dec 31, 2011, Thomas Goirand wrote: > Here's the output (reformatted by hand to fit in this mail): > > root@GPLHost:os>_ # glance index > ID Name Disk Format Size > lucid_ami ami 524288000 > kernelaki 4099360 > ramdisk ari 7988037 That's goo

Re: [Openstack] Openstack + XCP (both on SID): XenAPI python script failing

2011-12-30 Thread Thomas Goirand
On 12/31/2011 02:47 AM, Johannes Erdfelt wrote: > On Sat, Dec 31, 2011, Thomas Goirand wrote: >> On 12/31/2011 02:03 AM, Johannes Erdfelt wrote: >>> On Sat, Dec 31, 2011, Thomas Goirand wrote: 2011-12-30 17:38:59,348 DEBUG nova.virt.xenapi.vmops [-] Resizing up VDI 1aacb195-9301-410b-98

Re: [Openstack] Openstack + XCP (both on SID): XenAPI python script failing

2011-12-30 Thread Johannes Erdfelt
On Sat, Dec 31, 2011, Thomas Goirand wrote: > On 12/31/2011 02:03 AM, Johannes Erdfelt wrote: > > On Sat, Dec 31, 2011, Thomas Goirand wrote: > >> 2011-12-30 17:38:59,348 DEBUG nova.virt.xenapi.vmops [-] Resizing up VDI > >> 1aacb195-9301-410b-989f-49bdce3a4813 from 0GB to 20GB from (pid=14409) >

Re: [Openstack] Openstack + XCP (both on SID): XenAPI python script failing

2011-12-30 Thread Thomas Goirand
On 12/31/2011 02:03 AM, Johannes Erdfelt wrote: > On Sat, Dec 31, 2011, Thomas Goirand wrote: >> 2011-12-30 17:38:59,348 DEBUG nova.virt.xenapi.vmops [-] Resizing up VDI >> 1aacb195-9301-410b-989f-49bdce3a4813 from 0GB to 20GB from (pid=14409) >> _resize_instance /usr/lib/python2.7/dist-packages/n

Re: [Openstack] Openstack + XCP (both on SID): XenAPI python script failing

2011-12-30 Thread Johannes Erdfelt
On Sat, Dec 31, 2011, Thomas Goirand wrote: > 2011-12-30 17:38:59,348 DEBUG nova.virt.xenapi.vmops [-] Resizing up VDI > 1aacb195-9301-410b-989f-49bdce3a4813 from 0GB to 20GB from (pid=14409) > _resize_instance /usr/lib/python2.7/dist-packages/nova/virt/xe This is likely the problem. The initial

[Openstack] Openstack + XCP (both on SID): XenAPI python script failing

2011-12-30 Thread Thomas Goirand
Hi, When I did: nova boot test --flavor --image then I have the following python dump in nova-compute.log: 2011-12-30 17:38:59,348 DEBUG nova.virt.xenapi.vmops [-] Resizing up VDI 1aacb195-9301-410b-989f-49bdce3a4813 from 0GB to 20GB from (pid=14409) _resize_instance /usr/lib/python2.7/dist-p