Mailing List Archive

installation of Gnocchi on Queens
Hello,

We are trying to install ceilometer and gnocchi on Openstack Queens
(Ubuntu 16.04) following the official instructions from
https://docs.openstack.org/ceilometer/queens/install/install-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.

Has anybody else managed to install gnocchi/ceilometer on the
Queens/Ubuntu 16.04 combo?

Appreciate any help
Terje
Re: installation of Gnocchi on Queens [ In reply to ]
On Fri, Aug 31, 2018 at 01:27:46PM +0100, Terry Lundin wrote:
>Hello,
>
>We are trying to install ceilometer and gnocchi on Openstack Queens
>(Ubuntu 16.04) following the official instructions from https://docs.openstack.org/ceilometer/queens/install/install-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:

https://bugs.launchpad.net/ubuntu/+source/gnocchi/+bug/1746992

>Has anybody else managed to install gnocchi/ceilometer on the
>Queens/Ubuntu 16.04 combo?

--
Mehdi Abaakouk
mail: sileht@sileht.net
irc: sileht

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: installation of Gnocchi on Queens [ In reply to ]
On 31/08/18 15:42, Mehdi Abaakouk wrote:
> On Fri, Aug 31, 2018 at 01:27:46PM +0100, Terry Lundin wrote:
>> Hello,
>>
>> We are trying to install ceilometer and gnocchi on Openstack Queens
>> (Ubuntu 16.04) following the official instructions from
>> https://docs.openstack.org/ceilometer/queens/install/install-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:
>
> https://bugs.launchpad.net/ubuntu/+source/gnocchi/+bug/1746992

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? Install gnocchi/gnocchi api on a separate apache
server outside openstack?

>> Has anybody else managed to install gnocchi/ceilometer on the
>> Queens/Ubuntu 16.04 combo?
>


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: installation of Gnocchi on Queens [ In reply to ]
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:
>>>Hello,
>>>
>>>We are trying to install ceilometer and gnocchi on Openstack
>>>Queens (Ubuntu 16.04) following the official instructions from https://docs.openstack.org/ceilometer/queens/install/install-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:
>>
>>https://bugs.launchpad.net/ubuntu/+source/gnocchi/+bug/1746992
>
>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

> Install gnocchi/gnocchi api on a separate apache server outside openstack?

That's could work.


--
Mehdi Abaakouk
mail: sileht@sileht.net
irc: sileht

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: installation of Gnocchi on Queens [ In reply to ]
On Fri, Aug 31, 2018 at 10:57 AM, Mehdi Abaakouk <sileht@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:
>>>
>>>> Hello,
>>>>
>>>> We are trying to install ceilometer and gnocchi on Openstack Queens
>>>> (Ubuntu 16.04) following the official instructions from
>>>> https://docs.openstack.org/ceilometer/queens/install/install
>>>> -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:
>>>
>>> https://bugs.launchpad.net/ubuntu/+source/gnocchi/+bug/1746992
>>>
>>
>> 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.

Corey

That's could work.
>
>
> --
> Mehdi Abaakouk
> mail: sileht@sileht.net
> irc: sileht
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac
> k
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac
> k
>