Chapter 9. Installing OpenStack Swift from Source

Hugo Kuo

Amanda Plimpton

In this chapter, you’ll learn how to get a Swift cluster up and running. We will cover the download and installation of OpenStack Swift direct from source and go into detail about the configuration options. This will provide a foundation for understanding any automation tools you might use during deployment. Chapter 10 covers installing Swift using SwiftStack.

The instructions in this chapter show a fairly generic installation for a small deployment. The exact values you use when you are installing will vary depending on your needs and the physical or virtual machine(s) you are using. There are many configuration options and installation decisions to make; we will note potential land mines, so you can learn from our (sometimes painful) experiences.

User Access Rights

You will need the correct permissions to run many of these commands. Depending on your environment, using an account with sudo access or using sudo su may be the best option.

Downloading OpenStack Swift

The official releases of OpenStack Swift are available on GitHub. For each major release of OpenStack there is a version of Swift.

We recommend deploying and staying current with the latest released version of OpenStack Swift. Given Swift’s frequent release schedule you should check which versions of Swift have been tagged for release on GitHub. Swift tags follow the typical major.minor.release style; for example, 1.13.0.

Dependencies

Depending on your ...

Get OpenStack Swift now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.