[Openstack] installation of Gnocchi on Queens
On Fri, Aug 31, 2018 at 10:57 AM, Mehdi Abaakouk <sileht at sileht.net> wrote:
> On Fri, Aug 31, 2018 at 03:54:50PM +0100, Terry Lundin wrote:
>> On 31/08/18 15:42, Mehdi Abaakouk wrote:
>>> On Fri, Aug 31, 2018 at 01:27:46PM +0100, Terry Lundin wrote:
>>>> We are trying to install ceilometer and gnocchi on Openstack Queens
>>>> (Ubuntu 16.04) following the official instructions from
>>>> -base-ubuntu.html we end up in serious problems. When we issue the
>>>> gnocchi install via apt-get, e.g.
>>>> # apt-get install gnocchi-api gnocchi-metricd python-gnocchiclient
>>>> *it will uninstall the dashboard, keystone and placement api *(it was a
>>>> nice few hours fixing that).
>>>> A suggestion to solve this was to use the pre-release archive:
>>>> sudo add-apt-repository cloud-archive:queens-proposed
>>>> sudo apt-get update
>>>> This installs gnocchi without removing keystone, but the gnocchi api
>>>> won't install as a service anymore. It seems like the gnocchi version is
>>>> not compatible with Queens.
>>> For sure, Gnocchi is Queens compatible for sure. This is an bug of the
>>> Ubuntu Cloud Archive packaging. I think you hitting this:
>> Yes, hitting that one. I understand it's an issue with gnocchi-api
>> requiring python-3 while openstack queens is running on python-2. What is
>> the work-around?
> According the bug tracker a new package update will come soon in
> queens-proposed. So just waiting
The package has been in queens-proposed for a while, it's just waiting on
someone to verify it and tag it appropriately.
> Install gnocchi/gnocchi api on a separate apache server outside openstack?
Yes that's a good solution. The gnocchi package was Py3-only and still
installs Py3 by default. We provided Py2 support through the bug mentioned
above to help folks out who still needed it (mainly all-in-one installs).
With the package that is currently in queens-proposed you need to install
libapache2-mod-wsgi and python-gnocchi (as opposed to
libapache2-mod-wsgi-py3 and python3-gnocchi) if you want Py2 support.
That's could work.
> Mehdi Abaakouk
> mail: sileht at sileht.net
> irc: sileht
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac
> Post to : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac
-------------- next part --------------
An HTML attachment was scrubbed...