Issue installing ceilometermiddleware for object storage service

asked 2016-12-12 07:57:16 -0500

updated 2016-12-12 08:42:39 -0500

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

Any hint about the possible cause?

edit retag flag offensive close merge delete