Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceilometer: python-ceilometermiddleware package installation errors #44

Open
AJNOURI opened this issue Dec 12, 2016 · 0 comments
Open

Comments

@AJNOURI
Copy link
Owner

AJNOURI commented Dec 12, 2016

Environment:

  • Distributor ID: Ubuntu
  • Description: Ubuntu 14.04.5 LTS
  • Release: 14.04 Codename: trusty
  • Linux controller 4.4.0-31-generic
  • 50~14.04.1-Ubuntu SMP Wed Jul 13 01:07:32 UTC 2016 x86_64 x86_64
    x86_64 GNU/Linux

I am installing Telemetry service on my OpenStack Liberty for object storage service:

Looks like there is no package for Ubuntu

apt-get install python-ceilometermiddleware

Reading package lists... Done Building
dependency tree Reading state
information... Done
E: Unable to locate package python-ceilometermiddleware

And pip install gives error:
http://docs.openstack.org/developer/ceilometermiddleware/installation.html

pip install ceilometermiddleware

...
Downloading/unpacking netifaces>=0.10.4 (from oslo.utils->ceilometermiddleware)
Downloading netifaces-0.10.5.tar.gz
Running setup.py (path:/tmp/pip_build_root/netifaces/setup.py) egg_info for package netifaces

Downloading/unpacking tenacity>=3.2.1 (from oslo.messaging>=5.2.0->ceilometermiddleware)
Downloading tenacity-3.5.0.tar.gz
Running setup.py (path:/tmp/pip_build_root/tenacity/setup.py) egg_info for package tenacity
error in setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
Complete output from command python setup.py egg_info:
error in setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers

--
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/tenacity
Storing debug log for failure in /root/.pip/pip.log

The specified log files gives:

tail  /root/.pip/pip.log

status = self.run(options, args) File
"/usr/lib/python2.7/dist-packages/pip/commands/install.py",
line 278, in run
requirement_set.prepare_files(finder,
force_root_egg_info=self.bundle,
bundle=self.bundle) File
"/usr/lib/python2.7/dist-packages/pip/req.py",
line 1230, in prepare_files
req_to_install.run_egg_info() File
"/usr/lib/python2.7/dist-packages/pip/req.py",
line 326, in run_egg_info
command_desc='python setup.py egg_info') File
"/usr/lib/python2.7/dist-packages/pip/util.py",
line 715, in call_subprocess
% (command_desc, proc.returncode, cwd)) InstallationError: Command
python setup.py egg_info failed with
error code 1 in
/tmp/pip_build_root/tenacity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant