Bug #41611
closedFeature #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
100%
Description
Steps to reproduce:
- Navigate to page Object Gateway >> Buckets >> Create. Create a bucket and assign a non-tenanted user as owner. e.g. admin
- Navigate to page Object Gateway >> Users >> Create. Create a tenanted user. e.g. foo$bar
- 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
Updated by Kiefer Chang over 4 years ago
- Status changed from New to In Progress
- Assignee set to Kiefer Chang
Updated by Kiefer Chang over 4 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 30123
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?
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.
Updated by Lenz Grimmer over 4 years ago
- Status changed from Fix Under Review to Pending Backport
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
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!
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.
Updated by Lenz Grimmer over 4 years ago
- Status changed from Pending Backport to Resolved
- Backport deleted (
nautilus)
Updated by Lenz Grimmer over 4 years ago
- Related to Bug #41067: mgr/dashboard: (nautilus) change bucket owner between owners from same tenant added
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 143 to Component - RGW