Cleanup #64708
closedmgr/dashboard: Mark placement targets as non-required
100%
Description
What are Placement Targets ?¶
Placement targets control which Pools are associated with a particular bucket. A bucket’s placement target is selected on creation, and cannot be modified.
Where are they set ? Where to edit them ?
Zonegroup and zones
Placement target details are present in zonegroup and zone. Be default a default placement target is created and used.
Users
RGW Users can also se a default placement for themseleves which will the put a Location constraint on the buckets and then buckets will use that placement target only
LocationConstraint
Passing a particular placement target in LocationConstraint will override above two and use the passed one for bucket.
Ceph dashboard UI allows easy way to set that!
Having said that, in case users dont set this then it will go to:
1. Users’ default placement
2. If that is not found, it will default to zonegroup’s default placement which is always present.
Working of placement targets¶
1. Create a bucket without specifying any placement target and choose a user which has no default placement set
This will create a bucket with default placement target present on zonegroup
2. Create a bucket without specifying any placement target and choose a user which has a default placement set
This will create a bucket with default placement target present in user’s config
3. Create a bucket specifying any placement target and choose a user which has a default placement set
This will create a bucket with placement target selected by user overriding what present on user and zonegroup
For UI¶
- It makes sense to mark it as optional and not required as per above findings
- Also, since this setting has various defaults we can move it to advanced
Updated by Afreen Misbah about 2 months ago
- Status changed from New to In Progress
Updated by Afreen Misbah about 2 months ago
- Status changed from In Progress to Fix Under Review
- % Done changed from 0 to 80
Updated by Afreen Misbah about 1 month ago
- Subject changed from mgr/dashboard: Improvement in Placement targets in bucket form to mgr/dashboard: Mark placement targets as non-required
- Description updated (diff)
Updated by Afreen Misbah about 1 month ago
- Status changed from Fix Under Review to Resolved
- % Done changed from 90 to 100
Updated by Afreen Misbah about 1 month ago
- Tracker changed from Tasks to Cleanup
- Status changed from Resolved to Pending Backport
- Backport set to squid,reef
Updated by Backport Bot about 1 month ago
- Copied to Backport #65210: squid: mgr/dashboard: Mark placement targets as non-required added
Updated by Backport Bot about 1 month ago
- Copied to Backport #65211: reef: mgr/dashboard: Mark placement targets as non-required added
Updated by Nizamudeen A 24 days ago
- Status changed from Pending Backport to Resolved