Comment 4 for bug 1677588

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-swift (stable/ocata)

Reviewed: https://review.openstack.org/452535
Committed: https://git.openstack.org/cgit/openstack/puppet-swift/commit/?id=6d02419ef932b54aca5c60d9d3b1efe67ecfd0f3
Submitter: Jenkins
Branch: stable/ocata

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)