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

luminous: rgw: wrong error message is returned when putting container with a name that is too long #17811

Merged
merged 9 commits into from Oct 15, 2017

Conversation

Projects
None yet
4 participants

rzarzynski added some commits May 30, 2017

rgw: add support for max_meta_name_length of Swift API's /info.
Fixes: http://tracker.ceph.com/issues/17938
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 593d656)
rgw: refactor rgw_get_request_metadata to reduce the number of dynall…
…ocs.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 64b7923)
rgw: add support for max_meta_value_length of Swift API's /info.
Fixes: http://tracker.ceph.com/issues/17936
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 06b1f25)
rgw: honor custom rgw_err::message in Swift's error handling.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit e851614)
rgw: Swift API returns 400 Bad Request on too long container names.
Fixes: http://tracker.ceph.com/issues/17935
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 1845e41)
rgw: add support for max_meta_count of Swift API's /info.
Fixes: http://tracker.ceph.com/issues/17934
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 9e53c14)
rgw: seed::get_torrent_file returns errors in the usual way.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 21ad80a)
rgw: return proper message when deleting non-empty Swift's container.
The bug that is fixed in this patch has been responsible for failing
the Tempest's test_delete_non_empty_container test case.

The investigation has been made by: Marcus Watts <mwatts@redhat.com>.

Fixes: http://tracker.ceph.com/issues/21169
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 308c8d3)
rgw: rename the configurables for metadata limits to start with rgw_.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 9b06985)
@rzarzynski

This comment has been minimized.

Show comment
Hide comment
@rzarzynski

rzarzynski Sep 20, 2017

Contributor

jenkins retest this please (Error fetching remote repo 'origin')

Contributor

rzarzynski commented Sep 20, 2017

jenkins retest this please (Error fetching remote repo 'origin')

@rzarzynski

This comment has been minimized.

Show comment
Hide comment

@mdw-at-linuxbox mdw-at-linuxbox self-requested a review Oct 14, 2017

@mdw-at-linuxbox

Only failed on centos - probably 7.3/7.4 or other unrelated problem. And this fix works on master and luminous isn't that far off. Let's merge this before the code drifts too much!

@mattbenjamin mattbenjamin merged commit 462b93e into ceph:luminous Oct 15, 2017

4 checks passed

Docs: build check OK - docs built
Details
Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details

@smithfarm smithfarm deleted the smithfarm:wip-21456-luminous branch Oct 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment