<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This is an example. It's the same for objects/containers/accounts (I recently lower the weight of the first two to 0 in preparation of replacing them).<div><br></div><div><div><font face="Lucida Console">$ swift-ring-builder account.builder</font></div><div><font face="Lucida Console">account.builder, build version 56</font></div><div><font face="Lucida Console">262144 partitions, 3 replicas, 7 zones, 15 devices, 306.67 balance</font></div><div><font face="Lucida Console">The minimum number of hours before a partition can be reassigned is 1</font></div><div><font face="Lucida Console">Devices: id zone ip address port name weight partitions balance meta</font></div><div><font face="Lucida Console"> 0 1 10.44.1.101 6002 md2 0.00 0 0.00</font></div><div><font face="Lucida Console"> 1 2 10.44.1.102 6002 md2 0.00 0 0.00</font></div><div><font face="Lucida Console"> 2 3 10.44.1.103 6002 md2 25.00 26431 306.67</font></div><div><font face="Lucida Console"> 5 4 10.44.1.104 6002 sda1 150.00 58928 51.11</font></div><div><font face="Lucida Console"> 6 4 10.44.1.104 6002 sdb1 150.00 58928 51.11</font></div><div><font face="Lucida Console"> 7 5 10.44.1.105 6002 sda1 150.00 58928 51.11</font></div><div><font face="Lucida Console"> 8 5 10.44.1.105 6002 sdb1 150.00 58929 51.11</font></div><div><font face="Lucida Console"> 9 6 10.44.1.106 6002 sdc1 300.00 65536 -15.97</font></div><div><font face="Lucida Console"> 10 6 10.44.1.106 6002 sdd1 300.00 65536 -15.97</font></div><div><font face="Lucida Console"> 11 6 10.44.1.106 6002 sde1 300.00 65536 -15.97</font></div><div><font face="Lucida Console"> 12 6 10.44.1.106 6002 sdf1 300.00 65536 -15.97</font></div><div><font face="Lucida Console"> 13 7 10.44.1.107 6002 sda1 300.00 65536 -15.97</font></div><div><font face="Lucida Console"> 14 7 10.44.1.107 6002 sdb1 300.00 65536 -15.97</font></div><div><font face="Lucida Console"> 15 7 10.44.1.107 6002 sdc1 300.00 65536 -15.97</font></div><div><font face="Lucida Console"> 16 7 10.44.1.107 6002 sdd1 300.00 65536 -15.97</font></div></div><div><font face="Lucida Console"><div>$ swift-ring-builder account.builder rebalance</div><div>Cowardly refusing to save rebalance as it did not change at least 1%.</div><div>$</div></font></div><div><br></div><div><br></div><div><br></div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Mvh / Best regards</div><div>Morten Møller Riis</div><div>Gigahost ApS</div><div><a href="mailto:mmr@gigahost.dk">mmr@gigahost.dk</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Sep 14, 2013, at 2:03 AM, Clay Gerrard <<a href="mailto:clay.gerrard@gmail.com">clay.gerrard@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Those two statements do seem in contrast - run `swift-ring-builer account.builder` and check what is the current balance? Can you paste the output? Maybe you have an unbalanced region/zone/server and it's just can't do any better than it is?<div>
<br></div><div>-Clay</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 12, 2013 at 11:53 PM, Morten Møller Riis <span dir="ltr"><<a href="mailto:mmr@gigahost.dk" target="_blank">mmr@gigahost.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>When adjusting weights and rebalancing I get the message:</div><div><br></div><div>
<div><font face="Lucida Console">NOTE: Balance of 306.68 indicates you should push this</font></div><div><font face="Lucida Console"> ring, wait at least 1 hours, and rebalance/repush.</font></div></div><div><br></div>
<div>However, waiting a couple of hours and running swift-ring-builder account.builder rebalance, it says that it has nothing to rebalance.</div><div><br></div><div><font face="Lucida Console">Cowardly refusing to save rebalance as it did not change at least 1%.</font></div>
<div><br></div><div><br></div><div>What am I getting wrong here?</div><div><br></div><br><div>
<span style="border-collapse:separate;border-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<div>Mvh / Best regards</div><span class="HOEnZb"><font color="#888888"><div>Morten Møller Riis</div><div>Gigahost ApS</div><div><a href="mailto:mmr@gigahost.dk" target="_blank">mmr@gigahost.dk</a></div><div><br></div></font></span></div>
</span><br></span><br>
</div>
<br></div><br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></body></html>