Bug 1264464

Summary: [RFE][nova] include disk resize down
Product: Red Hat OpenStack Reporter: Eduard Barrera <ebarrera>
Component: openstack-novaAssignee: Eoghan Glynn <eglynn>
Status: CLOSED WONTFIX QA Contact: nlevinki <nlevinki>
Severity: low Docs Contact:
Priority: low    
Version: 7.0 (Kilo)CC: berrange, dasmith, eglynn, gkeegan, kchamart, sbauza, sferdjao, sgordon, srevivo, vromanso
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-18 17:54:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eduard Barrera 2015-09-18 14:05:45 UTC
Description of problem:

Include this functionality to future releases

  Currently libvirt driver doesn't support resizing disk down.

     https://bugs.launchpad.net/nova/+bug/1270238



Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:

1. Create an instance
2. resize the flavor down
3.

Actual results:

During a resizing down all run well and the instance is updated to the new flavor with the new disk size.
but in real the disk is not resized and keep the original size.


Expected results:

Disk resized down too

Comment 5 Stephen Gordon 2017-07-18 17:54:27 UTC
The Nova API intentionally disallows resize down at this point due to inconsistencies in the ability to support this across various hypervisor drivers, and the inconsistent results such an operation would have to give based on how much of the disk has actually been used.