Ask Your Question

Packstack aborting installation because the ring refuses to rebalance

asked 2014-05-05 06:38:24 -0600

Diogo Vieira gravatar image

I have a 4 node cluster (1 Proxy Node and 3 Storage Nodes) set up by packstack. I now want to add a 4th Storage Node but every time I try to re-run packstack with the new answer file (added the storage node) it fails and aborts the installation with the following error:

ERROR : Error appeared during Puppet run:
Error: /Stage[main]/Swift::Ringbuilder/Swift::Ringbuilder::Rebalance[object]/Exec[rebalance_object]: Failed to call refresh: swift-ring-builder /etc/swift/object.builder rebalance returned 1 instead of one of [0]

Because the ring refuses to rebalance (from the log file):

Notice: /Stage[main]/Swift::Ringbuilder/Swift::Ringbuilder::Rebalance[account]/Exec[rebalance_account]/returns: Cowardly refusing to save rebalance as it did not change at least 1%.

The truth is that this is not really an error and I believe packstack shouldn't stop the installation because of this. How should I proceed to install this correctly? What should be the correct way to handle this? Is there any way for me to say to packstack to ignore this error?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-06-13 14:42:20 -0600

zaitcev gravatar image

I suspect that Packstack's ability to continue interrupted installations misleads here. It cannot be used for follow-on management of an OpenStack. Once you have your Swift installed, it should not be touched with Packstack anymore. Instead, add the new nodes or devices with swift-ring-builder.

If Packstack succeeded in updating the rings, it would result in data loss due to re-shuffling of Swift partitions. You can still wipe everything clean explicitly (re-mkfs devices under /srv/node and delete everything in /etc/swift/*), then re-run Packstack with a larger number of devices, just be aware that it counts as a new installation.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-05-05 06:38:24 -0600

Seen: 1,041 times

Last updated: Jun 13 '14