Project

General

Profile

Bug #11246

radosgw-agent: breaks with a traceback because invalid exception location is defined

Added by Alfredo Deza almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

./radosgw-agent -c ./config-single.conf localhost:8000
Traceback (most recent call last):
  File "./radosgw-agent", line 9, in <module>
    load_entry_point('radosgw-agent==1.2.1', 'console_scripts', 'radosgw-agent')()
  File "/home/owasserm/ceph/src/radosgw-agent/radosgw_agent/cli.py", line 316, in main
    args = parse_args()
  File "/home/owasserm/ceph/src/radosgw-agent/radosgw_agent/cli.py", line 200, in parse_args
    return parser.parse_args(remaining)
  File "/usr/lib64/python2.7/argparse.py", line 1694, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/usr/lib64/python2.7/argparse.py", line 1726, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/usr/lib64/python2.7/argparse.py", line 1935, in _parse_known_args
    stop_index = consume_positionals(start_index)
  File "/usr/lib64/python2.7/argparse.py", line 1891, in consume_positionals
    take_action(action, args)
  File "/usr/lib64/python2.7/argparse.py", line 1784, in take_action
    argument_values = self._get_values(action, argument_strings)
  File "/usr/lib64/python2.7/argparse.py", line 2224, in _get_values
    value = self._get_value(action, arg_string)
  File "/usr/lib64/python2.7/argparse.py", line 2253, in _get_value
    result = type_func(arg_string)
  File "/home/owasserm/ceph/src/radosgw-agent/radosgw_agent/cli.py", line 37, in check_endpoint
    except client.InvalidProtocol as e:
AttributeError: 'module' object has no attribute 'InvalidProtocol'

History

#1 Updated by Alfredo Deza almost 9 years ago

  • Status changed from New to Fix Under Review
  • Assignee changed from Alfredo Deza to Josh Durgin

#2 Updated by Alfredo Deza almost 9 years ago

  • Status changed from Fix Under Review to Resolved

merged commit 6f7ba3e into master

Also available in: Atom PDF