[Openstack] even with 60G qcow2 image " FlavorDiskTooSmall: Flavor's disk is too small for requested image. " for m1.small

Cristian Falcas cristi.falcas at gmail.com
Sun Aug 10 21:03:06 UTC 2014


ext filesystems can only grow larger on live systems. Also, for the fs to
actually grow, you will need something like cloud-init or a custom script
to do this at boot time.


On Sun, Aug 10, 2014 at 11:10 PM, mad Engineer <themadengin33r at gmail.com>
wrote:

> Thanks Don,
>                   it works, i was thinking that image should be large
> enough to fit in all flavor sizes ;-)
>
>
> On Sun, Aug 10, 2014 at 8:39 PM, Don Waterloo <don.waterloo at gmail.com>
> wrote:
>
>> On 10 August 2014 09:55, mad Engineer <themadengin33r at gmail.com> wrote:
>> >
>> > Hi,
>> >     i am using Centos6.5 with Icehouse release,on KVM Hypervisor,
>> >
>> > Trying to launch Centos  instance from a newly uploaded qcow2 image.
>> >
>> > Created centos6.5 image in qcow2 format with 60G virtual size and
>> actual size of 1.7G
>> >
>> > image: Centos6.5_x64.qcow2
>> > file format: qcow2
>> > virtual size: 60G (64424509440 bytes)
>> > disk size: 1.7G
>> > cluster_size: 65536
>> >
>> > after uploading to glance
>> >
>> > glance image-list
>> >
>> > glance image-list
>> >
>> +--------------------------------------+---------------------+-------------+------------------+------------+--------+
>> > | ID                                   | Name                | Disk
>> Format | Container Format | Size       | Status |
>> >
>> +--------------------------------------+---------------------+-------------+------------------+------------+--------+
>> > | 34b7dc50-51b2-4c01-9605-444f4f01f02d | centos6.5           | qcow2
>>     | bare             | 1851195392 | active |
>> >
>> >
>> > When an instance is created from above image with flavor m1.small ie
>> with 20.0GB Disk
>> >
>> > compute.log shows
>> > FlavorDiskTooSmall: Flavor's disk is too small for requested image.
>> > any idea why is it so,even with disk size 60Gb > 20G
>> >
>> > Can this be a Bug
>> >
>> > "Cirros works fine"
>> > Thanks,
>>
>> It must allocate the 60GB that it might grow to.
>> Instead, make the disk be 2GB (qemu-img create centos6.5.qcow 2G),
>> install in it, and install the growfs info.
>> When you launch from glance to nova, it will auto-size to whatever
>> disk you give it. Use a flavor with min-disk 2G.
>>
>> Now someone can launch it @ 2G, have ~300MB free, or launch it as 20G
>> and have ~18GB free, their call.
>>
>> But the way you have it, you must use a flavor of min-disk >= 60.
>>
>> Not a bug.
>>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140811/55f41d0c/attachment.html>


More information about the Openstack mailing list