Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mimic: rgw: default quota not set in radosgw for Openstack users #24907

Merged
merged 3 commits into from
Nov 20, 2018

Commits on Nov 12, 2018

  1. rgw: remove redundant quota logic from admin/user api

    RGWOp_User_Create was applying the configured default quotas to the
    RGWUserAdminOpState, but RGWUser::execute_add() will already apply those
    defaults when the AdminOpState doesn't provide them
    
    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    (cherry picked from commit 3a252bb)
    cbodley authored and smithfarm committed Nov 12, 2018
    Configuration menu
    Copy the full SHA
    5caddb3 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2018

  1. rgw: add helper functions to apply configured default quotas

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    (cherry picked from commit ba83d0c)
    
    Conflicts:
        src/rgw/rgw_quota.cc
        src/rgw/rgw_quota.h
    - mimic uses "md_config_t" (non-pointer) instead of "ConfigProxy"
    (pointer)
    cbodley authored and smithfarm committed Nov 13, 2018
    Configuration menu
    Copy the full SHA
    782b0d7 View commit details
    Browse the repository at this point in the history
  2. rgw: RemoteApplier::create_account() applies default quota config

    rgw users created to shadow users from external auth were missing the
    logic to apply their default quota settings
    
    Fixes: http://tracker.ceph.com/issues/24595
    
    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    (cherry picked from commit abb81b4)
    cbodley authored and smithfarm committed Nov 13, 2018
    Configuration menu
    Copy the full SHA
    f2779e5 View commit details
    Browse the repository at this point in the history