Project

General

Profile

Cleanup #64708

Updated by Afreen Misbah about 2 months ago

h3. What are Placement Targets ? *Placement Targets* 

 Placement targets control which Pools are associated with a particular bucket. A bucket’s placement target is selected on creation, * Use the default placement, and cannot be modified. 
 Where are they set ? Where have the advanced section to edit them ? change this option. Follow RBD image creation form for the Advanced section 
 Zonegroup * Add some text info explaining how this can be used and zones what it means 

 Placement target details are present in zonegroup and zone. Be default +Info texts+ 
 _When creating a default bucket, a placement target is created and used. 
 Users 

 RGW Users can also se a default placement for themseleves which will be provided as part of 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 to 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: 

     Users’ default placement 

     If that is not found, it will default to zonegroup’s default placement which is always present. 

 h3. Working of placement targets 

     Create a bucket without specifying any placement target and choose a from the user which has no default placement set 

     This will create a bucket with default placement target present on zonegroup 

     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 

     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 

 h3. 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 

 zonegroup._ 

Back