r/openstack • • Oct 14 '25

Openstack swift speed and size restrictions

Post image

So i was wondering what if i need to build something like this with swift

I am using ceph RGW

And i wanna allow speed and size restrictions

9 Upvotes

4 comments sorted by

2

u/ychto Oct 14 '25

I offer a public S3/Swift endpoint that is Ceph RGW backed, it’s pretty easy to do. As far as quotas go you can limit the number of objects and/or size for a bucket or user perspective but for bandwidth restrictions you’ll have to do that at a network level.

1

u/dentistSebaka Oct 14 '25

Ok thank you can i have the link

For rgw i done this but i don't know if this is the correct way to do this or not

Did you changed the object-store endpoint to match your ceph ip cause i did this with rgw but manila and cinder works straight without me changing the endpoints of their services inside openstack

Also what about multiple rgw endpoints do you have ha ip in front of them

2

u/ychto Oct 14 '25

Here are my Swift configs and openstack endpoint config:

client.rgw.zos                               advanced  rgw_enable_ops_log                        true                                                                                         
client.rgw.zos                               advanced  rgw_enable_usage_log                      true                                                                                         
client.rgw.zos                               advanced  rgw_keystone_accepted_roles               member, _member_, admin, swift_operator                                                    * 
client.rgw.zos                               advanced  rgw_keystone_admin_domain                 default                                                                                    * 
client.rgw.zos                               advanced  rgw_keystone_admin_password               XXXXXXXXXXXXXXXX                                                                           * 
client.rgw.zos                               advanced  rgw_keystone_admin_project                service                                                                                    * 
client.rgw.zos                               advanced  rgw_keystone_admin_user                   swift                                                                                      * 
client.rgw.zos                               advanced  rgw_keystone_api_version                  3                                                                                            
client.rgw.zos                               advanced  rgw_keystone_implicit_tenants             true                                                                                       * 
client.rgw.zos                               basic     rgw_keystone_url                          https://cloud.zeroone.tech:5000                                                            * 
client.rgw.zos                               advanced  rgw_keystone_verify_ssl                   true                                                                                         
client.rgw.zos                               advanced  rgw_s3_auth_use_keystone                  true                                                                                         
client.rgw.zos                               advanced  rgw_swift_account_in_url                  true

openstack endpoint list --service swift --interface public
+----------------------------------+--------+--------------+--------------+---------+-----------+--------------------------------------------------------+
| ID                               | Region | Service Name | Service Type | Enabled | Interface | URL                                                    |
+----------------------------------+--------+--------------+--------------+---------+-----------+--------------------------------------------------------+
| 16a6aa4592584ae2a11006ebd20ccd91 | ZO-PNW | swift        | object-store | True    | public    | https://cloud.zeroone.tech:8080/swift/v1/%(tenant_id)s |
+----------------------------------+--------+--------------+--------------+---------+-----------+--------------------------------------------------------+

2

u/dentistSebaka Oct 14 '25

Are you using kolla