Comment 9 for bug 1872872

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

Reviewed: https://review.opendev.org/723814
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=b99b57825e9b140e3d6c163a810e7cd49adb6e3d
Submitter: Zuul
Branch: stable/rocky

commit b99b57825e9b140e3d6c163a810e7cd49adb6e3d
Author: zhangqing <email address hidden>
Date: Tue Mar 17 20:50:49 2020 +0800

    fix bug in quota checking

    When project quota set unlimited(-1), and user in the
    project is limited to a value.Then project quota must
    smaller than project usage when checking quotas, which
    means the value 'overs' is not None.
    In this case, even though the user not over the quota,
    but they can not create share

    Closes-bug: #1872872

    Change-Id: Id9e2bcb5d30d2b81b0723dd296b537ac7d4519f2
    (cherry picked from commit 780053968270900a1402fa0db4ae96bd16060ad4)
    (cherry picked from commit 73837ce05a9bf07c7dd4e15c98eee511ff9e1a10)
    (cherry picked from commit f2afb50fbbd6ec1b14ba93a64d292cbc66e53cfe)