用区域openstack swift创建环

时间:2014-05-22 06:15:24

标签: openstack regions openstack-swift

我按照http://docs.openstack.org/developer/swift/howto_installmultinode.html的说明在swift上安装了multi-node cluster。我想在我的regions安装中添加两个swift。我尝试使用命令

构建环

swift-ring-builder account.builder add r1z1-$STORAGE_LOCAL_NET_IP:6002/$DEVICE $WEIGHT

但是,这不是一个有效的命令,在swift-ring-builder的手册页中,我只能找到swift-ring-builder account.builder add z1-$STORAGE_LOCAL_NET_IP:6002/$DEVICE $WEIGHT。 如何添加区域功能(从swift版本1.9开始实现)?

1 个答案:

答案 0 :(得分:0)

我解决了这个问题。我实际上已在swift上的ubuntu个存储库中安装了Ubuntu 12.04。问题是ubuntu存储库只支持swift 1.4.8。要升级到最新版本,请运行命令 sudo add-apt-repository cloud-archive:icehouse 然后,sudo apt-get dist-upgrade && sudo apt-get update