[Bug 1746992] Re: [SRU] gnocchi-api in Bionic uses python3, and libapache2-mod-wsgi-py3 conflicts with the python 2 version

James Page james.page at ubuntu.com
Wed Aug 8 14:41:52 UTC 2018


This bug was fixed in the package gnocchi - 4.2.4-0ubuntu3~cloud0
---------------

 gnocchi (4.2.4-0ubuntu3~cloud0) bionic-rocky; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 gnocchi (4.2.4-0ubuntu3) cosmic; urgency=medium
 .
   * Enable alternative python2 dependencies for gnocchi-api (LP: #1746992):
     - d/control: gnocchi-api depends on libapache2-mod-wsgi-py3 by default and
       libapache2-mod-wsgi as an alternative. gnocchi-api also depends on
       gnocchi-common, which depends on python3-gnocchi by default and
       python-gnocchi as an alternative.
     - d/control: move all other python run-time dependencies to
       python(3)-gnocchi packages.
     - d/control: Add Conflicts to python(3)-gnocchi binary to ensure both
       can't be installed at the same time.
     - d/control, d/tests/*: Enable autopkgtest-pkg-python testsuite and drop
       obsolete XS-Testsuite: autopkgtest header.
     - d/tests/*: Add Python 2/3 autopkgtests for gnocchi daemons and shebangs.


** Changed in: cloud-archive
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1746992

Title:
  [SRU] gnocchi-api in Bionic uses python3, and libapache2-mod-wsgi-py3
  conflicts with the python 2 version

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive queens series:
  Fix Committed
Status in Ubuntu Cloud Archive rocky series:
  Fix Released
Status in gnocchi package in Ubuntu:
  Fix Released
Status in gnocchi source package in Bionic:
  Fix Committed
Status in gnocchi source package in Cosmic:
  Fix Released

Bug description:
  Since the two wsgi modules are conflicting, installing gnocchi-api
  breaks other OpenStack services.

  [Impact]
  Installation of gnocchi-api (which is currently py3 only) on the same machine as other OpenStack services that are py2 only causes conflicts. libapache2-mod-wsgi-py3 and libapache2-mod-wsgi conflict with each other.

  [Test Case]
  Ensure cinder-api (py2 only atm) and gnocchi-api (with new py2 alternatives) can be installed on the same machine.

  [Regression Potential]
  Low. This doesn't make any changes to the existing py3 version of gnocchi-api. It only adds alternatives that enable a py2 version of gnocchi-api.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1746992/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list