Project

General

Profile

Actions

Bug #17934

closed

rgw: /info lacks swift.max_meta_count

Added by Radoslaw Zarzynski over 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Recently Swift got couple of negative tests which depends /info. Unfortunately, the RadosGW's implementation doesn't contain the mandatory max_meta_count key in its swift subject:


rgw$ curl "127.0.0.1:8000/info" -X GET -H "X-Auth-Token: $token" | python -m json.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   454  100   454    0     0   117k      0 --:--:-- --:--:-- --:--:--  147k
{
    "account_quotas": {},
    "bulk_delete": {},
    "container_quotas": {},
    "slo": {
        "max_manifest_segments": 1000
    },
    "staticweb": {},
    "swift": {
        "container_listing_limit": 10000,
        "max_container_name_length": 255,
        "max_file_size": 5368709120,
        "max_meta_name_length": 81,
        "max_object_name_size": 1024,
        "policies": [
            {
                "default": true,
                "name": "default-placement" 
            }
        ],
        "strict_cors_mode": true,
        "version": "11.0.2-1602-g02fead2" 
    },
    "tempauth": {},
    "tempurl": {
        "methods": [
            "GET",
            "HEAD",
            "PUT",
            "POST",
            "DELETE" 
        ]
    }
}

This causes following Tempest's testcase to fail:

tempest.api.object_storage.test_container_services_negative.ContainerNegativeTest.test_create_container_metadata_exceeds_overall_metadata_count


Related issues 1 (0 open1 closed)

Copied to rgw - Backport #21458: luminous: rgw: /info lacks swift.max_meta_countResolvedNathan CutlerActions
Actions #1

Updated by Radoslaw Zarzynski almost 7 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Matt Benjamin over 6 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to Luminous
Actions #3

Updated by Nathan Cutler over 6 years ago

  • Backport changed from Luminous to luminous
Actions #4

Updated by Nathan Cutler over 6 years ago

  • Copied to Backport #21458: luminous: rgw: /info lacks swift.max_meta_count added
Actions #5

Updated by Nathan Cutler over 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF