Ask Your Question

installing ceilometermiddleware via pip breaks openstack CLI

asked 2015-10-14 19:11:57 -0500

dubious gravatar image

updated 2015-10-15 11:18:35 -0500

Hello and thanks for reading,

I'm trying to install OpenStack Kilo on Ubuntu 14.04 via the guide: (

After trying to install Ceilometer I ran into this bug: (

Seems like ceilometermiddleware isn't included in the ceilometer packages from ubuntu repositories. So I tried manually installing it with pip install ceilometermiddleware ((output))

(I also manually installed an oslo.i18n package with pip to fix a similar issue with glance, but ceilometermiddleware seems to have installed the newer pbr, see pastebin^^)

This fixed my issue with ceilometer-client, however now any openstack command errors out...

ubuntu@stack-ctrl:~$ openstack user list
ERROR: Exception raised: (pbr 1.8.1 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('pbr>=0.6,!=0.7,<1.0'))

so I tried giving it the pbr package it wanted...

ubuntu@stack-ctrl:~$ sudo pip uninstall pbr
Uninstalling pbr:
  Successfully uninstalled pbr
ubuntu@stack-ctrl:~$ sudo pip install pbr==0.9
Downloading/unpacking pbr==0.9
  Downloading pbr-0.9.0-py2.py3-none-any.whl (63kB): 63kB downloaded
Requirement already satisfied (use --upgrade to upgrade): pip in /usr/lib/python2.7/dist-packages (from pbr==0.9)
Installing collected packages: pbr
  Found existing installation: pbr 0.10.0
    Not uninstalling pbr at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed pbr
Cleaning up...
ubuntu@stack-ctrl:~$ pip show pbr
Name: pbr
Version: 0.9.0
Location: /usr/local/lib/python2.7/dist-packages
Requires: pip

but I still get:

ubuntu@stack-ctrl:~$ openstack user list
ERROR: Exception raised: (pbr 0.9.0 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('pbr>=1.6'))

How can I satisfy openstack's dependency? Seems like the right version is installed and openstack is trying to use it (pbr 0.9.0)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-10-15 17:31:20 -0500

dubious gravatar image

updated 2015-10-15 17:39:29 -0500

running pip install --upgrade python-openstackclient fixed the issue for me.

thanks (mickey) for posting the answer

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2015-10-14 19:11:57 -0500

Seen: 786 times

Last updated: Oct 15 '15