[Openstack] What Exactly Flavor Work?

Jeremy d jeremydeininger at gmail.com
Thu Oct 10 20:41:14 UTC 2013

On Tue, Oct 8, 2013 at 9:04 PM, Mahardhika Gilang <
mahardika.gilang at andalabs.com> wrote:

> Hi all,
> get confused here after several days finding away out through this issue,
> - i can't get real size of /vda/ disk on instance that i create
> - i have follow many step out here :
> http://www.logilab.org/**blogentry/115219<http://www.logilab.org/blogentry/115219>
> http://waipeng.wordpress.com/**2013/05/20/building-centos-**
> images-for-openstack/<http://waipeng.wordpress.com/2013/05/20/building-centos-images-for-openstack/>
> http://hackstack.org/x/blog/**2013/04/25/a-centos-6-image-**for-openstack/<http://hackstack.org/x/blog/2013/04/25/a-centos-6-image-for-openstack/>
> none of those work, the result is the size image (ex: 5gb) that was the
> real /vda/
> - How can i get real size and same size that written on flavor and
> instance?
> - have open question here https://ask.openstack.org/en/**
> question/5721/instance-disk-**different-with-flavor/<https://ask.openstack.org/en/question/5721/instance-disk-different-with-flavor/>
> no one answer yet.
> Please help me out.
> --
> Regards,
> Mahardhika Gilang
> ______________________________**_________________
> Mailing list: http://lists.openstack.org/**cgi-bin/mailman/listinfo/**
> openstack <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 <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>

Hi Mahardhika,
It was difficult for me to find the correct cloud-init options as well.
You will need to have the instance grow the disk on-the-fly during boot if
you're using the KVM hypervisor.

The following is the basic cloud-init configuration that you need to pass
as user-data to your instance on launch.  If this does not work then the
CentOS image you're using has too old a version of cloud-init or this
feature is not supported by cloud-init on CentOS.  Try it let us know..

  mode: auto
  devices: ['/']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131010/3f6c01b5/attachment.html>

More information about the Openstack mailing list