On 12/31/2011 02:47 AM, Johannes Erdfelt wrote: > On Sat, Dec 31, 2011, Thomas Goirand <[email protected]> wrote: >> On 12/31/2011 02:03 AM, Johannes Erdfelt wrote: >>> On Sat, Dec 31, 2011, Thomas Goirand <[email protected]> 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.
Here's the output (reformatted by hand to fit in this mail): root@GPLHost:os>_ # glance index ID Name Disk Format Size <uuid1> lucid_ami ami 524288000 <uuid2> kernel aki 4099360 <uuid3> ramdisk ari 7988037 >> 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. It seems that the issue was the addition of this in my nova.conf: --enabled_apis=osapi If I remove it, then all APIs ports are listening, and euca2ools are working. Unsurprisingly, I got the same issue with the EC2 as I have with the nova API. Thomas _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

