RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1110164 - oslo.config >=1.2.1 is required for trove-manage
Summary: oslo.config >=1.2.1 is required for trove-manage
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: python-oslo-config
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-17 07:14 UTC by Attila Fazekas
Modified: 2016-04-18 07:12 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 100472 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.