limit max share extend size (Admin-only)

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

Bug Description

In bug 1811943, max share size limit was introduced. However new customer use case is provided to offer separate value of share extend size limit e.g.

if max share size is 100 gb, max share extend size should be 150gb. This allows admin to extend the share if its already created with max share size limit. However non-admin user can create/extend share only upto max share size.

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/853957

Changed in manila:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/863709

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on manila (master)

Change abandoned by "kiran pawar <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/manila/+/853957
Reason: Abandoned due to another change at https://review.opendev.org/c/openstack/manila/+/863709

Instead of adding new quota, it is not restricted using new extra spec of share_type.

kiran pawar (kpdev)
summary: - limit max share extend size
+ limit max share extend size (Admin-only)
description: updated
Changed in manila:
assignee: nobody → kiran pawar (kpdev)
importance: Undecided → Medium
milestone: none → antelope-1
Changed in manila:
milestone: antelope-1 → antelope-2
Changed in manila:
milestone: antelope-2 → antelope-3
Changed in manila:
milestone: antelope-3 → antelope-rc1
Changed in manila:
milestone: antelope-rc1 → bobcat-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/863709
Committed: https://opendev.org/openstack/manila/commit/7a4a81b53cce886902f383d064fd737aa4d67cb9
Submitter: "Zuul (22348)"
Branch: master

commit 7a4a81b53cce886902f383d064fd737aa4d67cb9
Author: Kiran Pawar <email address hidden>
Date: Fri Nov 4 20:07:48 2022 +0000

    Add max share extend size limited by share_type

    Allows set max share extend size that can be created in extra_specs
    for each share_type. At API level as part of share extend for admin,
    max share extend size will be checked whereas for non-admin users,
    max share size will be checked.
    New extra_specs key is added to set max extend size of share
    i.e.'provisioning:max_share_extend_size'

    Closes-Bug: #1987253
    Change-Id: I61e590ed1851e8fa15996dc61e8e17e9413a9d91

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

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

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.