Project

General

Profile

Actions

Bug #41611

closed

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

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

Bug #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 over 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Component - RGW
Target version:
% Done:

100%

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

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"}


Files

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

Related issues 2 (0 open2 closed)

Related to Dashboard - Bug #41067: mgr/dashboard: (nautilus) change bucket owner between owners from same tenantResolvedAlfonso Martínez

Actions
Copied to Dashboard - Backport #41996: nautilus: mgr/dashboard: fail to set a tenanted user as new owner of existing bucketsRejectedActions
Actions #1

Updated by Kiefer Chang over 4 years ago

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

Updated by Kiefer Chang over 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 30123
Actions #3

Updated by Kiefer Chang over 4 years 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?

Actions #4

Updated by Alfonso Martínez over 4 years ago

  • Parent task set to #41180
Actions #5

Updated by Kiefer Chang over 4 years 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.

Actions #6

Updated by Lenz Grimmer over 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #7

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #41996: nautilus: mgr/dashboard: fail to set a tenanted user as new owner of existing buckets added
Actions #8

Updated by Kiefer Chang over 4 years ago

The PR can't be backported to nautilus and was addressed in https://github.com/ceph/ceph/pull/29485
Please see the comments in the PR.

@Alfonso, do you mind confirming this again. Thanks!

Actions #9

Updated by Alfonso Martínez over 4 years ago

Kiefer Chang wrote:

The PR can't be backported to nautilus and was addressed in https://github.com/ceph/ceph/pull/29485
Please see the comments in the PR.

@Alfonso, do you mind confirming this again. Thanks!

@Kiefer I confirm this.
The nautilus PR addresses 1 particular case: change owner that belongs to same tenant as previous owner.
Nautilus does not have feature parity with master regarding RGW as it has evolved in master.

Actions #10

Updated by Lenz Grimmer over 4 years ago

  • Status changed from Pending Backport to Resolved
  • Backport deleted (nautilus)

Removing the "Pending Backport" status - the applicable subset of this issue has be tracked and fixed in a separate issue #41067 (PR#29485 )

Actions #11

Updated by Lenz Grimmer over 4 years ago

  • Related to Bug #41067: mgr/dashboard: (nautilus) change bucket owner between owners from same tenant added
Actions #12

Updated by Alfonso Martínez over 4 years ago

  • % Done changed from 0 to 100
Actions #13

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 143 to Component - RGW
Actions

Also available in: Atom PDF