← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1544599] Re: RBD image resize to smaller error handling

 

Reviewed:  https://review.openstack.org/279140
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=b11511da03e62d834caa7fd6b6a174a56e7fae0a
Submitter: Jenkins
Branch:    master

commit b11511da03e62d834caa7fd6b6a174a56e7fae0a
Author: Martins Jakubovics <martins@xxxxxxxxxx>
Date:   Thu Feb 11 17:24:12 2016 +0200

    Fix error message in imagebackend
    
    When use RBD as storage backend and try to resize instance
    to smaller flavor, resize fails with wrong message.
    This fix it.
    
    Closes-Bug: #1544599
    Change-Id: I62add102bbf3c7064583892dbcc91d4683afe96e


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1544599

Title:
  RBD image resize to smaller error handling

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  When use CEPH as storage backend and try to resize instance to smaller
  flavor, resize fails with wrong message.

  Steps to reproduce:

  1.) Create instance from image with flavor.
  2.) Try resize instance to flavor which have smaller root disk.

  For example:

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

  Should be:

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1544599/+subscriptions


References