Swift¶
Removed in 2025.1 CODE. Kolla Ansible 2025.1 no longer has a swift role: the release note says "Support for
deploying Swift has been removed" (release note remove-swift-5ebd7b5c4a2cb5b7.yaml), there is no swift play in
site.yml and no ansible/roles/swift/ directory, enable_swift is no longer defined in group_vars/all.yml, and
kolla 2025.1 builds no swift image (no docker/swift* directory). The swift tag selects no play any more
(Tags §3.1, row "removed
services"). The 2024.1 study of the role is in the 2024.1 Swift page.
This page lists what the sources show about a cloud that ran Swift under Kolla Ansible 2024.1 and is upgraded to 2025.1, and what they do not show.
What the removal does not clean up¶
No 2025.1 task looks at a deployed Swift CODE:
- No precheck. No task under
ansible/roles/testsenable_swift, andprecheckshas no swift check (grep forswiftunderroles/prechecks/and ingroup_vars/all.yml: no match). Leavingenable_swift: yesinglobals.ymldoes nothing and raises no error. - No stop, no removal. The 15 to 18 swift containers of 2024.1 (
swift_proxy_server,swift_rsyncd, the account, container and object servers) are not stopped or removed by any 2025.1 action, since no play targets them (Tags §3.1, row "removed services"). They keep running on their 2024.1 images. - The HAProxy frontends stay. The
haproxy-configrole writesservices.d/<name>.cfgonly for the services of the role it runs for, and removes nothing (roles/haproxy-config/tasks/main.yml:2-21); the haproxyconfig.jsoncopies the wholeservices.d/directory (roles/loadbalancer/templates/haproxy/haproxy.json.j2:17-18). Theswift_apiandswift_api_externalfiles written by 2024.1 are therefore still served after an upgrade, pointing at the old proxy servers, until the operator deletes them. - The Keystone service and endpoints stay. 2024.1 registered a
swiftservice of typeobject-store; no 2025.1 task removes it. - Logging: the
commonrole no longer lists swift for fluentd or logrotate; its templateroles/common/templates/cron-logrotate-swift.conf.j2is still in the tree but no task uses it (grep ofroles/common/tasks/).
Who loses their Swift backend¶
- Glance: the
swiftstore is removed with no check. On a cloud whose only store was Swift, the first 2025.1 run makesfilethe default store, on the firstglance-apihost only (Glance, "Changed in 2025.1"). - Cinder backup: the Swift backup driver branch is gone from
cinder.conf(Cinder); withcinder_backup_driver: swift, nobackup_driverline is written. - Horizon: the Swift settings are removed from
_9998-kolla-settings.py(Horizon).
Before upgrading a cloud that runs Swift¶
- Decide where the object data and the Glance images go before the upgrade, not after: the sources give no migration
path. Kolla Ansible 2025.1 still integrates an external Ceph RadosGW, whose
ceph-rgwrole registers a Keystone service with the same name and type,swift/object-store(roles/ceph-rgw/defaults/main.yml:74-80). - Set the Glance and Cinder backup backends explicitly for 2025.1, and plan the removal of the swift containers, the two HAProxy frontend files and the Keystone service as manual steps.
Not known¶
- NOT AVAILABLE What Glance does with images whose locations point at the removed
swiftstore; whether the old swift containers keep serving correctly once HAProxy and the rest of the control plane are on 2025.1; what theceph-rgwregistration does to an existingswiftservice's endpoints. To be confirmed by the community.
Related¶
- Glance — the silent switch to the
filestore - Cinder — the Swift backup driver is gone
- HAProxy and keepalived — frontends are not removed when a service disappears
- Tags — the
swifttag selects nothing in 2025.1 - Components — the other component pages