Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.37 KB

File metadata and controls

25 lines (18 loc) · 1.37 KB

Storage driver: swift

This driver only works with the keystone auth driver. For a given Keppel account, it stores image data in the Swift container keppel-$ACCOUNT_NAME in the OpenStack project that is this account's auth tenant.

Server-side configuration

export KEPPEL_DRIVER_STORAGE='{"type":"swift","params":{...}}'

The service user must have permissions to switch to every Swift account (usually with the swiftreseller role), unless use_service_user_project is true. In this case write access to the service project is sufficient (usually with the swiftoperator role).

The following parameters may be supplied in $KEPPEL_DRIVER_STORAGE:

Field Type Explanation
apply_workarounds_for_ceph bool (optional) Set to true when using Ceph's Swift-compatible API to work around known bugs.
service_type string (optional) Service type for Swift in the Keystone service catalog. Defaults to object-store for native Swift, but can be set to e.g. object-store-ceph to use Ceph's Swift-compatible API.
use_service_user_project bool (optional) When set to true, stores all payload in the service user's own project instead of in the project owning the respective Keppel account. Defaults to false.