Commit cca77f0b authored by Thomas Goirand's avatar Thomas Goirand

Fix oci-add-store-to-ring object port 6000 -> 6200

parent 2a2147cb
......@@ -35,7 +35,7 @@ OBJECT_PORT=0
for i in $(cat ${TMP_HDD_LIST}) ; do
echo "swift-ring-builder account.builder add r${HOST_REGION}z${HOST_ZONE}-${IP}:6002/${i} ${HOST_WEIGHT}"
echo "swift-ring-builder container.builder add r${HOST_REGION}z${HOST_ZONE}-${IP}:6001/${i} ${HOST_WEIGHT}"
OBJECT_CUR_PORT=$((6000 + ${OBJECT_PORT}))
OBJECT_CUR_PORT=$((6200 + ${OBJECT_PORT}))
echo "swift-ring-builder object.builder add r${HOST_REGION}z${HOST_ZONE}-${IP}:${OBJECT_CUR_PORT}/${i} ${HOST_WEIGHT}"
OBJECT_PORT=$((${OBJECT_PORT} + 1))
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment