The ceilometer python client fails install due to required packages

Bug #1118780 reported by Phil Neal on 2013-02-07
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ceilometer
Undecided
Unassigned
openstack-ubuntu-testing
Undecided
Unassigned
python-ceilometerclient
Undecided
Unassigned

Bug Description

When we attempt to install the python Ceilometer client from the following repos, we see an error indicating that a the python-pecan and python-wsme packages are missing:

deb http://ppa.launchpad.net/openstack-ubuntu-testing/grizzly-trunk-testing/ubuntu precise main
deb-src http://ppa.launchpad.net/openstack-ubuntu-testing/grizzly-trunk-testing/ubuntu precise main

The specific error (on apt-get install) is:
-----------------------------------------------------------
The following packages have unmet dependencies:
 python-ceilometer : Depends: python-pecan but it is not installable
                     Depends: python-wsme but it is not installable
-----------------------------------------------------------

Per Ceilometer core devs, these are not required.

Eric Peterson (ericpeterson-l) wrote :

Found one way to build pecan pre-req using python-stdeb:

git clone https://github.com/dreamhost/pecan.git
cd pecan
git checkout 0.2.0
python setup.py --command-packages=stdeb.command bdist_deb

Grab the deb file from within here:
ls -l deb_dist/*.deb

Eric Peterson (ericpeterson-l) wrote :

the wsme package does not work like the pecan package does above. It fails with....

python setup.py --command-packages=stdeb.command bdist_deb
running bdist_deb
running sdist_dsc
running egg_info
writing requirements to WSME.egg-info/requires.txt
writing WSME.egg-info/PKG-INFO
writing top-level names to WSME.egg-info/top_level.txt
writing dependency_links to WSME.egg-info/dependency_links.txt
writing entry points to WSME.egg-info/entry_points.txt
reading manifest file 'WSME.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'WSME.egg-info/SOURCES.txt'
CALLING dpkg-source -b wsme-0.5b1dev-20130208 (in dir deb_dist)
dpkg-source: error: syntax error in wsme-0.5b1dev-20130208/debian/control at line 12: line with unknown format (not field-colon-value)
Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    d2to1=True
  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/dist-packages/stdeb/command/bdist_deb.py", line 23, in run
    self.run_command('sdist_dsc')
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command

Eric Peterson (ericpeterson-l) wrote :

the wsme has a problem with the setup.cfg file. within there, the summary entry should not use 2 lines.

After correcting this, it seems to build with python-stdeb also.

Doug Hellmann (doug-hellmann) wrote :

The WSME packaging issue can be reported at https://bitbucket.org/cdevienne/wsme/issues

Phil Neal (nealph) on 2013-02-08
description: updated
Doug Hellmann (doug-hellmann) wrote :

FWIW, neither pecan nor WSME are needed for the *client* libraries. Those are used in the server.

Julien Danjou (jdanjou) on 2013-06-20
Changed in ceilometer:
status: New → Incomplete
Changed in python-ceilometerclient:
status: New → Incomplete
gordon chung (chungg) wrote :

closing because of inactivity

Changed in python-ceilometerclient:
status: Incomplete → Invalid
Changed in ceilometer:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers