'swift-ring-builder <builder_file> cancel_increase_partition_power
Cancel the increase of the partition power.
A write_ring command is needed to make the change take effect.
Once the updated rings have been deployed to all servers you need to run
the swift-object-relinker tool to cleanup unneeded links.
USE THIS WITH EXTREME CAUTION
If you increase the partition power and deploy changed rings, you may
introduce unavailability in your cluster. This has an end-user impact. Make
sure you execute required operations to increase the partition power
accurately.'

@staticmethod
def cancel_increase_partition_power():

    if (len(argv) < 3):
        print(Commands.cancel_increase_partition_power.__doc__.strip())
        exit(EXIT_ERROR)
    if (not builder.cancel_increase_partition_power()):
        print('Ring    partition    power    increase    cannot    be    canceled.')
        exit(EXIT_ERROR)
    builder.save(builder_file)
    print(('The    next    partition    power    is    now    %d.' % builder.next_part_power))
    print('The    change    will    take    effect    after    the    next    write_ring.')
    print('Ensure    your    object-servers    are    using    the    changed    rings    and')
    print('cleanup    (using    swift-object-relinker)    the    hard    links')
    exit(EXIT_SUCCESS)
