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

Johannes Erdfelt johannes at erdfelt.com
Fri Dec 30 18:47:44 UTC 2011


On Sat, Dec 31, 2011, Thomas Goirand <thomas at goirand.fr> wrote:
> On 12/31/2011 02:03 AM, Johannes Erdfelt wrote:
> > On Sat, Dec 31, 2011, Thomas Goirand <thomas at goirand.fr> 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 VDI is 0GB (probably 0 bytes).
> > 
> > Can you confirm the image you are trying to boot is > 0 bytes?
> 
> The image is about 500 MB (it's a lucid image). I'm following the guide
> here:
> 
> http://wiki.openstack.org/XenServerDevelopment

That's a pretty good guide. Can you confirm that glance actually thinks
the image is larger than 0 bytes?

You can do that using the 'glance index' command.

> The EC2 API doesn't seem to work on my domU by the way (euca2ools says
> "connection refused"). Is there something I should enable for it?

It should be enabled automatically, unless you have disabled it via the
enabled_apis option.

JE





More information about the Openstack mailing list