[Openstack] On Ubuntu 18.04, the package "gnocchi-api" install tries to remove both "keystone" and "openstack-dashboard"!
corey.bryant at canonical.com
Tue Jun 5 14:30:41 UTC 2018
Thanks for bringing this up. I replied in the bug, but pasting some of my
gnocchi-api only supports py3 for now in bionic/queens and above.
Most OpenStack packages in Ubuntu have not yet received py3 support. That
is a focus for the cosmic cycle. Where possible the plan is to install py2
by default and py3 as an alternative to prevent all-in-one issues like this.
In other words, 'sudo apt install python3-keystone keystone' would install
python3 packages, and (assuming python3-keystone was not already installed)
'sudo apt install keystone' would install python2 packages.
That's not the case for gnocchi-api, obviously, as it only installs py3
packages which conflicts with other python packages if and only if you're
installing on the same machine as other py2 services. Most modern
production deployments isolate services in one way or another (e.g.
containers such as LXD or docker) so there's a clear work around.
With that said, we can probably add py2 alternative packages to the Depends
for gnocchi-api allowing py2 installs, however I seem to remember
gnocchi-api was forced to move to py3 for a reason. I'm not remembering why
On Mon, Jun 4, 2018 at 10:31 PM, Martinx - ジェームズ <thiagocmartinsc at gmail.com>
> Thank you!
> On 4 June 2018 at 21:25, pablo brunetti <pablobrunetti at hotmail.com> wrote:
>> This bug is confirmed in https://bugs.launchpad.net/ubu
>> Bug #1746992 “gnocchi-api in Bionic uses python3, and libapache2...” :
>> Bugs : gnocchi package : Ubuntu
>> Since the two wsgi modules are conflicting, installing gnocchi-api breaks
>> other OpenStack services.
>> *De:* Martinx - ジェームズ <thiagocmartinsc at gmail.com>
>> *Enviado:* segunda-feira, 4 de junho de 2018 21:53
>> *Para:* openstack at lists.openstack.org; James Page
>> *Assunto:* [Openstack] On Ubuntu 18.04, the package "gnocchi-api"
>> install tries to remove both "keystone" and "openstack-dashboard"!
>> I'm trying to install Gnocchi on Ubuntu 18.04, but there is a problem,
>> the "gnocchi-api" package tries to uninstall Keystone and Horizon!
>> So, from what I'm seeing, it is impossible to build an OpenStack Queens
>> All-in-One on Ubuntu 18.04 with Gnocchi and Ceilometer... :-(
>> The problem (line 29):
>> administrative at queens-1:~$ sudo apt install gnocchi-api Reading package
>> lists. - Pastebin.com <https://pastebin.com/sns8LG18>
>> Any workaround or bug reported on Launchpad about this?
>> Time for Canonical to provide OpenStack Snap packages! lol
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> Post to : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack