[Openstack] Energy/Kwapi metering using ceilometer in OpenStack Icehouse

Sylvain Bauza sbauza at redhat.com
Tue Oct 14 08:48:57 UTC 2014


Le 14/10/2014 08:31, Vivek Varghese Cherian a écrit :
>
>
>
> On Fri, Oct 10, 2014 at 6:38 PM, Sylvain Bauza <sbauza at redhat.com 
> <mailto:sbauza at redhat.com>> wrote:
>
>
>
>     Le 10/10/2014 14:49, Vivek Varghese Cherian a écrit :
>
>
>
>     The answer is quite simple : the Kwapi version of pbr is really
>     old and Kwapi is not following the OpenStack requirements file [1]
>
>     So, I proposed a quick fix for updating pbr, the patch is there :
>     https://review.openstack.org/127218
>
>
>     If you want to try yourself, just clone the Kwapi repository and
>     apply this command at the Kwapi root :
>
>     git fetch https://review.openstack.org/stackforge/kwapi
>     refs/changes/18/127218/2 && git cherry-pick FETCH_HEAD
>
>
>     -Sylvain
>
>     [1]
>     https://github.com/openstack/requirements/blob/master/global-requirements.txt
>
>
> Hi Sylvian,
>
> Installed the patch and tested to install and I am getting the 
> following error.
>
> root at ice14:~/kwapi# ./setup.py install
> running install
> Downloading/unpacking pbr>=0.6,!=0.7,<1.0
>   Cannot fetch index base URL https://pypi.python.org/simple/
>   Could not find any downloads that satisfy the requirement 
> pbr>=0.6,!=0.7,<1.0
> Cleaning up...
> No distributions at all found for pbr>=0.6,!=0.7,<1.0
> Storing debug log for failure in /home/ppm/.pip/pip.log
> error: ['/usr/bin/python', u'-m', u'pip.__init__', u'install', 
> u'pbr>=0.6,!=0.7,<1.0', u'd2to1>=0.2.10,<0.3', u'eventlet', u'flask', 
> u'iso8601', u'kombu', u'oslo.config', u'pyserial', u'pysnmp', 
> u'python-keystoneclient', u'pyzmq', u'python-rrdtool', u'webob'] 
> returned 1
> root at ice14:~/kwapi#
>
>

First, my patch has been updated, the command is git fetch 
https://review.openstack.org/stackforge/kwapi refs/changes/18/127218/3 
&& git cherry-pick FETCH_HEAD


Then, please run 'pip install -r requirements.txt' and please don't run 
yet ./setup.py install

If you have troubles with downloading pbr using the command I mentioned 
above, then you could potentially have a proxy issue or a connection 
issue, but if not, that should install all the requirements.

Once you're done, just issue then './setup.py install', that should 
deploy the source files into the corresponding Python PATH.

-Sylvain

> Thanks,
> -- 
> Vivek Varghese Cherian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141014/38a7a64c/attachment.html>


More information about the Openstack mailing list