my understanding is that default placement is stored at the bucket level, so changes to the user's default placement only take effect for newly-created buckets On Sun, Nov 12, 2023 at 9:48 PM Huy Nguyen <viplanghe6@xxxxxxxxx> wrote: > > Hi community, > I'm using Ceph version 16.2.13. I tried to set default_storage_class but seems like it didn't work. > > Here is steps I did: > I already had a storage class name COLD, then I modify the user default_storage_class like this: > radosgw-admin user modify --uid testuser --placement-id default-placement --storage-class COLD > > after that, user info has show correctly: > radosgw-admin user info --uid testuser > { > ... > "op_mask": "read, write, delete", > "default_placement": "default-placement", > "default_storage_class": "COLD", > ... > > Then I put a file using boto3, without specify any storage class: > s3.Object(bucket_name, 'testdefault-object').put(Body="0"*1000)) > > But the object still jump into the STANDARD storage class. I don't know if this is a bug or did I miss something? > > Thanks > _______________________________________________ > ceph-users mailing list -- ceph-users@xxxxxxx > To unsubscribe send an email to ceph-users-leave@xxxxxxx > _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx