Project

General

Profile

Bug #41611

Feature #39478: mgr/dashboard: new RGW workflows & RGW enhancements

Feature #39477: mgr/dashboard: add/edit missing RGW bucket info

Fix #41180: mgr/dashboard: fix bucket operations with tenant after new bucket utilities implementation

mgr/dashboard: fail to set a tenanted user as new owner of existing buckets

Added by Kiefer Chang 16 days ago. Updated 30 minutes ago.

Status:
Need Review
Priority:
Normal
Assignee:
Category:
dashboard/rgw
Target version:
Start date:
09/03/2019
Due date:
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Steps to reproduce:

  1. Navigate to page Object Gateway >> Buckets >> Create. Create a bucket and assign a non-tenanted user as owner. e.g. admin
  2. Navigate to page Object Gateway >> Users >> Create. Create a tenanted user. e.g. foo$bar
  3. Navigate to page Object Gateway >> Buckets, Edit the bucket we just created and assign tenanted user as the new owner. The operation fails with this error:

Request to backend:

PUT http://172.16.71.20:4200/api/rgw/bucket/photos?bucket_id=31029e16-7cb6-4dcf-b39c-30b65d9a8a8e.4346.1&uid=foo%2524bar

Response from backend:
{"detail": "RGW REST API failed request with status code 404\n(b'{\"Code\":\"NoSuchKey\",\"RequestId\":\"tx00000000000000000006b-005d6e1513-10f4-def'\n b'ault\",\"HostId\":\"10f4-default-default\"}')", "component": "rgw"}

edit_bucket_tenanted_user.png View (102 KB) Kiefer Chang, 09/03/2019 07:25 AM

History

#1 Updated by Kiefer Chang 16 days ago

  • Status changed from New to In Progress
  • Assignee set to Kiefer Chang

#2 Updated by Kiefer Chang 15 days ago

  • Status changed from In Progress to Need Review
  • Pull request ID set to 30123

#3 Updated by Kiefer Chang 15 days ago

Issue #41067 already addressed this problem.
But PR on the issue targets nautilus branch. (https://github.com/ceph/ceph/pull/29485)
Should we close this one and suggest also fixing on master in #41067?

#4 Updated by Alfonso MH about 20 hours ago

  • Parent task set to #41180

#5 Updated by Kiefer Chang 30 minutes ago

Kiefer Chang wrote:

Issue #41067 already addressed this problem.
But PR on the issue targets nautilus branch. (https://github.com/ceph/ceph/pull/29485)
Should we close this one and suggest also fixing on master in #41067?

Bucket operation behaves differently on master and nautilus (See discussion on https://github.com/ceph/ceph/pull/29485#issuecomment-532583361). Will continue to fix this issue on PR 30123.

Also available in: Atom PDF