INFINIDAT driver LUN is extending on X TB instead of extending to X TB
Bug #1772421 reported by
Ory Jonay
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
Changed in cinder: | |
assignee: | nobody → Ory Jonay (oryjonay) |
Changed in cinder: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/569960 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=c96f3997104 f0dca4ed191e3df 92715b33bd1a63
Committed: https:/
Submitter: Zuul
Branch: master
commit c96f3997104f0dc a4ed191e3df9271 5b33bd1a63
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: I73035be776a729 1ca1578f21cab41 c59abc0a534
Closes-Bug: #1772421