INFINIDAT driver LUN is extending on X TB instead of extending to X TB

Bug #1772421 reported by Ory Jonay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Ory Jonay

Bug Description

When a client tries to extend a volume to X, instead of resizing the volume to X the driver extended the volume by X, e.g:

Expected:
Client has volume of 1GB, extend_volume(2) -> volume size is 2GB

Actual:
Client has volume of 1GB, extend_volume(2) -> volume size is 3GB

Ory Jonay (oryjonay)
Changed in cinder:
assignee: nobody → Ory Jonay (oryjonay)
Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/569960
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=c96f3997104f0dca4ed191e3df92715b33bd1a63
Submitter: Zuul
Branch: master

commit c96f3997104f0dca4ed191e3df92715b33bd1a63
Author: Ory Jonay <email address hidden>
Date: Mon May 21 16:20:19 2018 +0300

    INFINIDAT: fixing extend mechanism

    There was bug (Bug #1772421) that using extend didn't extend the volume
    and only added to its size.
    The fix was to calculate size delta inside extend_volume and pass the
    calculated delta to the API resize method.

    Change-Id: I73035be776a7291ca1578f21cab41c59abc0a534
    Closes-Bug: #1772421

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 13.0.0.0b2

This issue was fixed in the openstack/cinder 13.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.