[Bug 1668578] Re: Newton package needs to bump dependency on python-pecan

Launchpad Bug Tracker 1668578 at bugs.launchpad.net
Thu Mar 30 16:16:39 UTC 2017


This bug was fixed in the package neutron - 2:9.2.0-0ubuntu1

---------------
neutron (2:9.2.0-0ubuntu1) yakkety; urgency=medium

  [ Chuck Short ]
  * d/p/tests-db.patch: Specify a db path for tests.
  * New upstream point release for Openstack Newton (LP: #1664306).
  * d/control: Bump python-pecan version. (LP: #1668578)

  [ Corey Bryant ]
  * d/tests/control: Use needs-recommends to ensure neutron-plugin-ml2 is
    installed.

 -- Corey Bryant <corey.bryant at canonical.com>  Mon, 06 Mar 2017 10:02:38
-0500

** Changed in: neutron (Ubuntu Yakkety)
       Status: Fix Committed => Fix Released

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

Title:
  Newton package needs to bump dependency on python-pecan

Status in neutron package in Ubuntu:
  Fix Released
Status in neutron source package in Yakkety:
  Fix Released

Bug description:
  [Impact]

  When installing neutron from the Newton UCA the following traceback
  occurs:

      def set_quota_usage_dirty(context, resource, tenant_id, dirty=True):
    File "/usr/lib/python2.7/dist-packages/neutron/db/api.py", line 144, in decorator
      ctx_arg_index = p_util.getargspec(f).args.index(context_var_name)
    File "/usr/lib/python2.7/dist-packages/pecan/util.py", line 44, in getargspec
      reverse=True
    File "/usr/lib/python2.7/dist-packages/pecan/util.py", line 43, in <lambda>
      key=lambda c: 'self' in c.cell_contents.__code__.co_varnames,
  AttributeError: '_TransactionContextManager' object has no attribute '__code__'

  This is due to a older version of python-pecan being required for
  neutron to install properly.

  [Test Case]
  Install neutron with a newer version of pecan and see if the traceback still occurs.

  [Regression potential]
  None since newer versions of neutron will have the same issue. When newer pecan versions are installed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1668578/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list