Bug 1218269

Summary: Action rebalence should be rebalance for command swift-ring-builder
Product: Red Hat OpenStack Reporter: Fabien Malfoy <keldrill>
Component: openstack-swiftAssignee: Pete Zaitcev <zaitcev>
Status: CLOSED ERRATA QA Contact: Mike Abrams <mabrams>
Severity: low Docs Contact:
Priority: low    
Version: 6.0 (Juno)CC: derekh, mabrams, panbalag, sauchter, scohen, sgotliv, srevivo, zaitcev
Target Milestone: z5Keywords: ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-swift-2.3.0-7.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-05 19:15:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabien Malfoy 2015-05-04 13:01:20 UTC
Description of problem:
The manual page swift-ring-builder(1) references the action "rebalence" which does not work. The actual action is "rebalance".

Version-Release number of selected component (if applicable):
openstack-swift-2.2.0-3.el7ost.noarch

How reproducible:
Try to "rebalence" an OpenStack Swift ring.

Steps to Reproduce:
1. Run "swift-ring-builder rebalence <builder_file>"

Actual results:
Unknown command: rebalence

Expected results:
The man page shoudl read "rebalance" instead of "rebalence"

Additional info:
This is also an upstream bug

Comment 3 Prasanth Anbalagan 2015-05-07 14:05:50 UTC
This is a bug only in the man pages of swift-ring-builder - a case of spelling mistake. If you do "man swift-ring-builder and go to the COMMANDS section, you will notice 'rebalence' instead of 'rebalance'. 

But the CLI and all other documents on building swift configuration refer to "rebalance". For example, 

http://docs.openstack.org/developer/swift/development_saio.html


CLI
===

swift-ring-builder <builder_file> rebalance [options]
    Attempts to rebalance the ring by reassigning partitions that haven't been
    recently reassigned.

Comment 4 Sean Cohen 2015-06-04 13:36:29 UTC
https://review.openstack.org/#/c/181122/ has been merged upstream
Sean

Comment 10 Mike McCune 2016-03-28 23:46:50 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 14 errata-xmlrpc 2016-10-05 19:15:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2028.html