The final step is to create the Object ring, Account ring, and Container ring that each of our virtual nodes exists in.
Ensure that you are logged in to your
swift virtual machine. To do this, run:
vagrant ssh swift
The OpenStack Object Storage ring keeps track of where our data exists in our cluster. There are three rings that OpenStack Storage understands, and they are the Account, Container, and Object rings. To facilitate quick rebuilding of the rings in our cluster, we will create a script that performs the necessary steps.
#!/bin/bash cd /etc/swift rm -f *.builder ...