manila extend after shrink may have a wrong real size

Bug #1909951 reported by shews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
shews

Bug Description

Steps to reproduce:

1) create a 10G share with GenericShareDriver, NFS protocols on a devstack environment, master branch.

2) manila shrink it to 5G.

3) manila extend it to 8G.

4) Now the share is 8G under manila show, but mount the share to a linux vm, and check df -h in the vm, the share's size is 10G.

Revision history for this message
shews (shews) wrote :
Vida Haririan (vhariria)
Changed in manila:
assignee: nobody → shews (shews)
Vida Haririan (vhariria)
Changed in manila:
importance: Undecided → Medium
milestone: none → wallaby-2
Revision history for this message
Vida Haririan (vhariria) wrote :
shews (shews)
Changed in manila:
status: New → Fix Committed
status: Fix Committed → New
status: New → Fix Committed
Changed in manila:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 12.0.0.0rc1

This issue was fixed in the openstack/manila 12.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/c/openstack/manila/+/794058

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/manila/+/772799
Committed: https://opendev.org/openstack/manila/commit/282787fb607d0fb59991e9c0f84c5e293979d9e7
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 282787fb607d0fb59991e9c0f84c5e293979d9e7
Author: shews <email address hidden>
Date: Mon Jan 4 08:55:15 2021 +0000

    Always use new_size when extend

    Always use new_size when extend.

    The release note has been slightly modified
    in this release to prevent duplication of link
    text.

    Closes-Bug: #1909951
    Change-Id: Ic5faa887448f363bb4d91bccfe8e035a06936454
    (cherry picked from commit fbc4ecb64026fe97c4b9d46bf80fe8a56b43911f)
    Signed-off-by: Goutham Pacha Ravi <email address hidden>
    (cherry picked from commit a0f11f88fa42971925ce5ad2b884063377e6f5bf)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/train)

Reviewed: https://review.opendev.org/c/openstack/manila/+/794058
Committed: https://opendev.org/openstack/manila/commit/ce7af6ead1eeae39d76bf8d7acfa4d6b5be95e74
Submitter: "Zuul (22348)"
Branch: stable/train

commit ce7af6ead1eeae39d76bf8d7acfa4d6b5be95e74
Author: shews <email address hidden>
Date: Mon Jan 4 08:55:15 2021 +0000

    Always use new_size when extend

    Always use new_size when extend.

    The release note has been slightly modified
    in this release to prevent duplication of link
    text.

    Closes-Bug: #1909951
    Change-Id: Ic5faa887448f363bb4d91bccfe8e035a06936454
    (cherry picked from commit fbc4ecb64026fe97c4b9d46bf80fe8a56b43911f)
    (cherry picked from commit a0f11f88fa42971925ce5ad2b884063377e6f5bf)
    (cherry picked from commit 282787fb607d0fb59991e9c0f84c5e293979d9e7)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 10.1.0

This issue was fixed in the openstack/manila 10.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 11.1.0

This issue was fixed in the openstack/manila 11.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila train-eol

This issue was fixed in the openstack/manila train-eol release.

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.