<div dir="ltr"><div><div>Hi Vivek,<br><br></div>Try installing with pip, using the command:<br></div>- pip install -r requirements.txt<br><div><div><div><br></div><div>Also check your network configuration since pip isn't able to find the pbr package:<br>"Download error on <a href="https://pypi.python.org/simple/pbr/" target="_blank">https://pypi.python.org/simple/pbr/</a>: [Errno 110]<br>
Connection timed out -- Some packages may not be found!<br>
Couldn't find index page for 'pbr' (maybe misspelled?)<br>
Download error on <a href="https://pypi.python.org/simple/" target="_blank">https://pypi.python.org/simple/</a>: [Errno 110] Connection<br>
timed out -- Some packages may not be found!<br>
No local packages or download links found for pbr>=0.5,<0.6"<br></div><div><div class="gmail_extra"><br></div><div class="gmail_extra">Did you install all the requirements mentioned there?<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">BR,<br></div><div class="gmail_extra">Bruno.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 9, 2014 at 2:00 PM,  <span dir="ltr"><<a href="mailto:openstack-request@lists.openstack.org" target="_blank">openstack-request@lists.openstack.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Openstack mailing list submissions to<br>
        <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:openstack-request@lists.openstack.org">openstack-request@lists.openstack.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:openstack-owner@lists.openstack.org">openstack-owner@lists.openstack.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Openstack digest..."<br>
<br>
<br>
   2. Energy/Kwapi metering using ceilometer in OpenStack       Icehouse<br>
      (Vivek Varghese Cherian)<br>
<br>
Message: 2<br>
Date: Wed, 8 Oct 2014 21:58:31 +0530<br>
From: Vivek Varghese Cherian <<a href="mailto:vivekcherian@gmail.com">vivekcherian@gmail.com</a>><br>
To: <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Subject: [Openstack] Energy/Kwapi metering using ceilometer in<br>
        OpenStack       Icehouse<br>
Message-ID:<br>
        <CAOVWD3uZEpKwExRU3FnCWDb-og3vUS_+9wqouaH=-<a href="mailto:2OCPSGyiw@mail.gmail.com">2OCPSGyiw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
I have a requirement of metering Energy/Kwapi on OpenStack Icehouse using<br>
ceilometer . I am using Ubuntu 14.04.<br>
<br>
I am following the steps mentioned in<br>
<a href="http://blog.zhaw.ch/icclab/collecting-energy-consumption-data-using-kwapi-in-openstack/" target="_blank">http://blog.zhaw.ch/icclab/collecting-energy-consumption-data-using-kwapi-in-openstack/</a><br>
<br>
When I am trying to install kwapi with the ./setup.py install command I get<br>
the following error.<br>
<br>
root@ice14:~/kwapi-master# ./setup.py install<br>
Download error on <a href="https://pypi.python.org/simple/pbr/" target="_blank">https://pypi.python.org/simple/pbr/</a>: [Errno 110]<br>
Connection timed out -- Some packages may not be found!<br>
Couldn't find index page for 'pbr' (maybe misspelled?)<br>
Download error on <a href="https://pypi.python.org/simple/" target="_blank">https://pypi.python.org/simple/</a>: [Errno 110] Connection<br>
timed out -- Some packages may not be found!<br>
No local packages or download links found for pbr>=0.5,<0.6<br>
Traceback (most recent call last):<br>
  File "./setup.py", line 22, in <module><br>
    d2to1=True)<br>
  File "/usr/lib/python2.7/distutils/core.py", line 111, in setup<br>
    _setup_distribution = dist = klass(attrs)<br>
  File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 239, in<br>
__init__<br>
    self.fetch_build_eggs(attrs.pop('setup_requires'))<br>
  File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 264, in<br>
fetch_build_eggs<br>
    replace_conflicting=True<br>
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 620, in<br>
resolve<br>
    dist = best[req.key] = env.best_match(req, ws, installer)<br>
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 858, in<br>
best_match<br>
    return self.obtain(req, installer) # try and download/install<br>
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 870, in<br>
obtain<br>
    return installer(requirement)<br>
  File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 314, in<br>
fetch_build_egg<br>
    return cmd.easy_install(req)<br>
  File<br>
"/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line<br>
610, in easy_install<br>
    raise DistutilsError(msg)<br>
distutils.errors.DistutilsError: Could not find suitable distribution for<br>
Requirement.parse('pbr>=0.5,<0.6')<br>
<br>
Icehouse uses pbr version pbr>=0.6,!=0.7,<1.0 and kwapi uses >=0.5,<0.6. I<br>
have to move to >=0.5,<0.6 which is the common denominator.<br>
<br>
Tried removing the pbr ubuntu package and installing a version of pbr<br>
within 0.5 to 0.6 using pip and a lot of dependencies including OpenStack<br>
Ubuntu packages for Ceilometer, Neutron and Nova gets removed in the<br>
process. So this might not be a good way to go about.<br>
<br>
Kindly let me know if there is any alternate way to get Ceilometer to meter<br>
Energy/Kwapi in IceHouse.<br>
<br>
Regards,<br>
--<br>
Vivek Varghese Cherian<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.openstack.org/pipermail/openstack/attachments/20141008/39853559/attachment-0001.html" target="_blank">http://lists.openstack.org/pipermail/openstack/attachments/20141008/39853559/attachment-0001.html</a>><br>
<br></blockquote></div></div></div></div></div></div>