swift-ring-builder blows up when method not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Low
|
Tong Li |
Bug Description
When an invalid method is given, swift-ring-builder will blow up with stack trace.
# swift-ring-builder object.builder balance
Traceback (most recent call last):
File "/usr/local/
pkg_
File "build/
yield ep
File "build/
def get_metadata(self, name):
File "/usr/local/
Commands.
TypeError: unbound method unknown() must be called with Commands instance as first argument (got nothing instead)
Wanted to give rebalance, instead give balance,
swift-ring-builder will show stack trace. it will be nice to catch this error and show a nice error message.
Changed in swift: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in swift: | |
milestone: | none → 1.8.0-rc1 |
status: | Fix Committed → Fix Released |
Changed in swift: | |
milestone: | 1.8.0-rc1 → 1.8.0 |
Fix proposed to branch: master /review. openstack. org/24549
Review: https:/