Thanks,

But how at least I can setup that if I change offering to lower it change just CPU and RAM and if root disk size in offering is smaller than actually in instance, nova don't try to change it to smaller?

Best regards,
Martins

On 2016.02.10. 03:23, Remo Mattei wrote:
Resize down on drives is a nono! CPU and ram that can be done

My 2 cents.

Remo

Inviato da iPhone

Il giorno 09 feb 2016, alle ore 16:09, Chris Buccella <chris.bucce...@verilume.com <mailto:chris.bucce...@verilume.com>> ha scritto:

I don't think it's possible, or at least I haven't been able to resize down for disk.

It isn't the size of the image that matters, but the virtual size of the disk. If the flavor's disk is 10GB, and the image is 2GB, cloud-init will try to expand the file system to the full 10GB on boot. That would prevent resizing down to a flavor with a smaller disk size, even if you only have a couple gigs of data on the disk.

I think the ceph driver disallows resizing down out of an abundance of caution; it's too likely that data could be lost.


-Chris

On Tue, Feb 9, 2016 at 6:00 AM, Mārtiņš Jakubovičs <martins-li...@hostnet.lv <mailto:martins-li...@hostnet.lv>> wrote:

    Hello,

    I can't find documentation about this.
    Is it possible to resize instance down when use CEPH as storage?
    Right now I try to resize down and I receive error:

    Flavor's disk is too small for requested image. Flavor disk is
    42949672960 bytes, image is 21474836480 bytes.

    OS Liberty,
    Ubuntu 14.04 x64,
    CEPH 0.94.5

    _______________________________________________
    Mailing list:
    http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
    Post to     : openstack@lists.openstack.org
    <mailto:openstack@lists.openstack.org>
    Unsubscribe :
    http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


!DSPAM:1,56ba829b256051035217590!
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org <mailto:openstack@lists.openstack.org> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


!DSPAM:1,56ba829b256051035217590!

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to