Bug 1110164

Summary: oslo.config >=1.2.1 is required for trove-manage
Product: [Community] RDO Reporter: Attila Fazekas <afazekas>
Component: python-oslo-configAssignee: RHOS Maint <rhos-maint>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, srevivo, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Attila Fazekas 2014-06-17 07:14:40 UTC
Description of problem:
$ trove-manage 
Traceback (most recent call last):
  File "/usr/bin/trove-manage", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/trove/cmd/manage.py", line 124, in main
    cfg.parse_args(sys.argv)
  File "/usr/lib/python2.7/site-packages/trove/common/cfg.py", line 430, in parse_args
    default_config_files=default_config_files)
  File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 1625, in __call__
    else sys.argv[1:])
  File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 2124, in _parse_cli_opts
    opt._add_to_cli(self._oparser, group)
  File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 1018, in _add_to_cli
    self.handler(subparsers)
  File "/usr/lib/python2.7/site-packages/trove/cmd/manage.py", line 117, in actions
    'db_recreate', description='Drop the database and recreate it')
  File "/usr/lib64/python2.7/argparse.py", line 1064, in add_parser
    parser = self._parser_class(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'description'

Version-Release number of selected component (if applicable):
openstack-trove-taskmanager-2014.1-1.fc20.noarch
python-trove-2014.1-1.fc20.noarch
openstack-trove-api-2014.1-1.fc20.noarch
python-oslo-config-1.2.0-0.5.a3.fc20.noarch
python-oslo-messaging-1.3.0.2-2.fc21.noarch
openstack-trove-conductor-2014.1-1.fc20.noarch
openstack-trove-common-2014.1-1.fc20.noarch
python-oslo-rootwrap-1.0.0-1.fc21.noarch
python-troveclient-1.0.3-2.fc20.noarch

How reproducible:
always


Additional info:

The global requirements seams incorrect about the minimum oslo.config version.
1.3.0 is the latest released at the moment, and the 1.2.1 is minimum working.

Comment 1 Attila Fazekas 2014-06-17 08:21:54 UTC
Strange, when I am using devstack 1.2.0 seams ok,
something else might be different as well.

Comment 2 Pádraig Brady 2014-06-17 09:58:55 UTC
I see only Fedora 20 version of python-oslo-config was lagging here.

Comment 4 Pádraig Brady 2014-06-17 10:22:21 UTC
The next released versions of glance and trove will have the dependence on python-oslo-config >= 1:1.2.1