[doc] Check 'thin_provisioning' in extra specs

Bug #1622046 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
Victoria Martinez de la Cruz

Bug Description

https://review.openstack.org/315266
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
Your project "openstack/manila" is set up so that we directly report the documentation bugs against it. If this needs changing, the docimpact-group option needs to be added for the project. You can ask the OpenStack infra team (#openstack-infra on freenode) for help if you need to.

commit 83c93c776707d5da9c89cde81c03022178127261
Author: xing-yang <email address hidden>
Date: Wed May 11 15:23:31 2016 -0400

    Check 'thin_provisioning' in extra specs

    Currently in the capacity filter and weigher of the scheduler,
    we use the logic to evaluate whether there is enough capacity
    to thin provision a share on a backend if the driver reports
    thin_provisioning to be True. However, a driver may be able to
    support both thin and thick provisioning. The logic does not
    check whether the user wants the share to be provisioned as thin
    or not.

    In this patch, we check 'thin_provisioning' in extra specs of the
    share type and decide whether to use the logic for thin or thick.
    In the following two cases, we will use the thin logic:
    1) 'thin_provisioning' is not set in extra specs. This is to
       provide backward compatibility.
    2) 'thin_provisioning' is set in extra specs and it is
       '<is> True' or 'True'.

    To provision a thick share on a backend that supports both
    thin and thick, set one of the following in extra specs:
        {'thin_provisioning': 'False'}
        {'thin_provisioning': '<is> False'}
        {'capabilities:thin_provisioning': 'False'}
        {'capabilities:thin_provisioning': '<is> False'}

    DocImpact
    Change-Id: I238a7962425ea35c356c5ed2e31b8f68462b3769
    Closes-Bug: #1578718

Tags: doc manila
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

We need documentation around how the scheduling works with oversubscription. Any volunteers?

Changed in manila:
importance: Undecided → Medium
importance: Medium → Wishlist
summary: - Check 'thin_provisioning' in extra specs
+ [doc] Check 'thin_provisioning' in extra specs
Changed in manila:
assignee: nobody → NidhiMittalHada (nidhimittal19)
Changed in manila:
assignee: NidhiMittalHada (nidhimittal19) → Victoria Martinez de la Cruz (vkmc)
status: New → Confirmed
importance: Wishlist → Low
Revision history for this message
Felipe Rodrigues (felipefutty) wrote :

The doc fix patch was already merged/released:

https://review.opendev.org/c/openstack/manila/+/367466

So, this bug is closed.

Changed in manila:
status: Confirmed → Fix Released
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.