commit 6d02419ef932b54aca5c60d9d3b1efe67ecfd0f3
Author: Christian Schwede <email address hidden>
Date: Thu Mar 30 14:15:28 2017 +0200
Fix raising an error on rebalance warnings
If the ring has been rebalanced recently, the next call to rebalance
will not rebalance again if the time passed is shorter than
min_part_time. swift-ring-builder returns an exit code of 1 in this
case, which is a warning, but not a hard error (errors will use an exit
code of 2).
It makes sense therefore to expect an exit code of 0 or 1 and only fail
if it's different.
Closes-Bug: 1677588
Change-Id: I03dd075c590344a920099c57b6a7530f103e0ede
(cherry picked from commit c64538ef8387128226dedbb51cac6548570d84e3)
Reviewed: https:/ /review. openstack. org/452535 /git.openstack. org/cgit/ openstack/ puppet- swift/commit/ ?id=6d02419ef93 2b54aca5c60d9d3 b1efe67ecfd0f3
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 6d02419ef932b54 aca5c60d9d3b1ef e67ecfd0f3
Author: Christian Schwede <email address hidden>
Date: Thu Mar 30 14:15:28 2017 +0200
Fix raising an error on rebalance warnings
If the ring has been rebalanced recently, the next call to rebalance
will not rebalance again if the time passed is shorter than
min_part_time. swift-ring-builder returns an exit code of 1 in this
case, which is a warning, but not a hard error (errors will use an exit
code of 2).
It makes sense therefore to expect an exit code of 0 or 1 and only fail
if it's different.
Closes-Bug: 1677588 a920099c57b6a75 30f103e0ede 226dedbb51cac65 48570d84e3)
Change-Id: I03dd075c590344
(cherry picked from commit c64538ef8387128