Project

General

Profile

Actions

Bug #8517

closed

Can't initiate multipart upload in firefly branch.

Added by Sylvain Munaut almost 10 years ago. Updated almost 10 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

If you don't have any special placement info setup, you get a bucket.data_extra_pool that's empty. There is a get_data_extra_pool() method to handle fallback to the data_pool, but it's not used.

diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc
index 4f53cb4..d43cecb 100644
--- a/src/rgw/rgw_rados.cc
+++ b/src/rgw/rgw_rados.cc
@@ -1655,7 +1655,7 @@ int RGWRados::open_bucket_data_ctx(rgw_bucket& bucket, librados::IoCtx& data_ctx

 int RGWRados::open_bucket_data_extra_ctx(rgw_bucket& bucket, librados::IoCtx& data_ctx)
 {
-  int r = open_bucket_pool_ctx(bucket.name, bucket.data_extra_pool, data_ctx);
+  int r = open_bucket_pool_ctx(bucket.name, bucket.get_data_extra_pool(), data_ctx);
   if (r < 0)
     return r;

Related issues 1 (0 open1 closed)

Is duplicate of rgw - Bug #8311: No pool name error in ubuntu-2014-05-06_21:02:54-upgrade:dumpling-dumpling-testing-basic-vpsResolvedYuri Weinstein05/08/2014

Actions
Actions #1

Updated by Sylvain Munaut almost 10 years ago

Duplicates #8311 ... I can't close it myself.

Actions #2

Updated by Ian Colle almost 10 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF