RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1239144 - appdirs requirement
Summary: appdirs requirement
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: python-openstackclient
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: Kilo
Assignee: Jakub Ruzicka
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-03 18:00 UTC by Martin Magr
Modified: 2016-05-19 15:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-19 15:43:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Martin Magr 2015-07-03 18:00:24 UTC
Description of problem:
Package python-openstackclient is missing python-appdirs Require:

[root@localhost ~]# openstack user list
Traceback (most recent call last):
  File "/usr/bin/openstack", line 6, in <module>
    from openstackclient.shell import main
  File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 37, in <module>
    from os_client_config import config as cloud_config
  File "/usr/lib/python2.7/site-packages/os_client_config/__init__.py", line 15, in <module>
    from os_client_config.config import OpenStackConfig  # noqa
  File "/usr/lib/python2.7/site-packages/os_client_config/config.py", line 18, in <module>
    import appdirs
ImportError: No module named appdirs

Version-Release number of selected component (if applicable):
[root@localhost ~]# rpm -qa python-openstackclient
python-openstackclient-1.2.0-post24.fc21.noarch

Steps to Reproduce:
1. yum install python-openstackclient
2. openstack user list

Additional info:
This will probably need additional bug, but after installing python-appdirs manually I get following exception:

[root@localhost ~]# openstack user list
Traceback (most recent call last):
  File "/usr/bin/openstack", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 353, in main
    return OpenStackShell().run(argv)
  File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 86, in __init__
    deferred_help=True)
TypeError: __init__() got an unexpected keyword argument 'deferred_help'
[root@localhost ~]# rpm -qa python-appdirs
python-appdirs-1.4.1-0.99.20150521.1352git.fc21.noarch

Comment 1 Martin Magr 2015-07-10 12:51:38 UTC
Problem in 'additional info' is cause by outdated python-cliff module.

Comment 2 Jiri Stransky 2015-07-10 12:55:32 UTC
Using python-cliff from delorean current fixes it:

python-cliff-1.13.0-post6.fc21.noarch

Comment 4 Chandan Kumar 2016-05-19 15:43:38 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.


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