Ask Your Question

Revision history [back]

Maybe the swift version you have doesn't support regions? The version you see when you run swift --version is for the command line client. You could try to run python -c "import swift; print swift.__version__"

If you're on 1.6 (1.7?) or something old, try pulling out the r1 part form the commands so it looks like:

swift-ring-builder object.builder add z1-127.0.0.1:6010/sdb1 1 swift-ring-builder object.builder add z2-127.0.0.1:6020/sdb2 1 swift-ring-builder object.builder add z3-127.0.0.1:6030/sdb3 1 swift-ring-builder object.builder add z4-127.0.0.1:6040/sdb4 1

The pip thing is probably going to come back and bite you, but it may just be something with root's path. Try running pip as you then again as root:

which pip
sudo -i
which pip