[Bug 785016] Review Request: python-quantumclient - API and CLI for Openstack Quantum

bugzilla at redhat.com bugzilla at redhat.com
Fri Jan 27 22:08:19 UTC 2012


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=785016

--- Comment #1 from Bob Kukura <rkukura at redhat.com> 2012-01-27 17:08:18 EST ---
The only rpmlint output is:

python-quantumclient.noarch: W: no-manual-page-for-binary quantum

Please file a bug to track getting a man page and a license file from upstream.


Other than that, the package looks great!


Unfortunately, after building and installing the package, running
/usr/bin/quantum results in:

[rkukura at rkukura rpmbuild]$ quantum --help
Traceback (most recent call last):
  File "/usr/bin/quantum", line 9, in <module>
    load_entry_point('python-quantumclient==2012.1', 'console_scripts',
'quantum')()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 337, in
load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2279, in
load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1989, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
ImportError: No module named quantum.client.cli
[rkukura at rkukura rpmbuild]$ 

This is because the file /usr/lib/python2.7/site-packages/quantum/__init__.py
is missing. Touching it allows quantum to run. The file is not present in the
upstream python-quantumclient tarball, but is present (non-empty) in the
upstream quantum tarball. I believe the __init__.py file from quantum needs to
be installed by the quantumclient package.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list