8.5.4. Enabling Swift on RHOSP
Swift is operated by a user account with the
swiftoperator role. Add the role to an account before you run the installation program.
If the Red Hat OpenStack Platform (RHOSP) object storage service, commonly known as Swift, is available, OpenShift Container Platform uses it as the image registry storage. If it is unavailable, the installation program relies on the RHOSP block storage service, commonly known as Cinder.
If Swift is present and you want to use it, you must enable access to it. If it is not present, or if you do not want to use it, skip this section.
- You have a RHOSP administrator account on the target environment.
- The Swift service is installed.
On Ceph RGW, the
account in urloption is enabled.
To enable Swift on RHOSP:
As an administrator in the RHOSP CLI, add the
swiftoperatorrole to the account that will access Swift:
$ openstack role add --user <user> --project <project> swiftoperator
Your RHOSP deployment can now use Swift for the image registry.