Hi, I've written a few scripts to make adding of storage to swift cluster easier: remakerings: removes existing ring files and builds new empty rings. addtorings: adds new IP:DISK pair to existing rings. removefromrings: removes an IP:DISK pair from existing rings.
I'm facing a problem in one scenario though... After adding a few IP:DISK pairs to the swift cluster, and the cluster is in use for sometime. Later, I decided to add more storage to the cluster. For some reason, if the addtorings for the new storage fails after partial completion (i.e. container and account rings updated; but object ring update failed). So now I did a removefromrings to rollback my new changes. The remove request succeeds and gives a message "Will be removed from rings on next rebalance". But rebalance fails because the last rebalance was within 1 hr of the last rebalance. And re-adding the same IP:DISK pair to rings also fails; says "Already a part of rings". Is there anyway to workaround this problem? i.e. re-add the IP:DISK pair without having to wait for min_part_hours. -- -Shyam
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
