Using object storage on an instance
Now that we have seen how to get files in and out of Swift, let's look at installing the necessary client libraries on an instance to be able to interact with object storage on the instance. We will need to have the Swift client libraries installed so that the OpenStack command-line client can be executed on an instance. In this cluster, Swift is using Keystone for authentication. Swift can also use other authentication. It has a built-in authentication system and can also be used with other common authentication systems. Since Swift is configured to use Keystone for authentication, the Keystone client will also need to be installed. Let's install those clients now:
instance# sudo yum install -y https://www.rdoproject.org/repos/rdo-release.rpm instance# sudo dnf install -y python-openstackclient
There will be a quite a few dependent packages that yum will install. Once those are installed, you will need to create a keystonerc
file to source. Create a file...