neutron-db-manage python-pecan failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
Queens |
Fix Released
|
High
|
Unassigned | ||
neutron (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
when installing gnocchi, ceilometer and neutron on the same node.
Ubuntu 16.04
Queens UCA
root@unassigned:~# neutron-db-manage --config-file /etc/neutron/
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
return_val |= bool(CONF.
File "/usr/lib/
run_
File "/usr/lib/
script_
File "/usr/lib/
util.
File "/usr/lib/
module = load_module_
File "/usr/lib/
mod = imp.load_
File "/usr/lib/
from neutron.
File "/usr/lib/
from neutron.db import agentschedulers_db # noqa
File "/usr/lib/
from neutron.db import agents_db
File "/usr/lib/
from neutron.extensions import agent as ext_agent
File "/usr/lib/
from neutron.api.v2 import base
File "/usr/lib/
from neutron import quota
File "/usr/lib/
from neutron.db.quota import api as quota_api
File "/usr/lib/
def set_quota_
File "/usr/lib/
ctx_arg_index = p_util.
File "/usr/lib/
reverse=True
File "/usr/lib/
key=lambda c: 'self' in c.cell_
AttributeError: '_TransactionCo
root@unassigned:~# dpkg -l | grep -i neutron
ii neutron-common 2:12.0.
ii neutron-plugin-ml2 2:12.0.
ii neutron-server 2:12.0.
ii python-neutron 2:12.0.
ii python-
ii python-neutron-lib 1.13.0-
ii python-
root@unassigned:~# dpkg -l | grep -i pecan
ii python-pecan 1.0.2-2ubuntu1 all WSGI object-dispatching web framework - Python 2.x
ii python3-pecan 1.2.1-2~cloud0 all WSGI object-dispatching web framework - Python 3.x
gnocchi packages say python-pecan (>= 0.9) and neutron packages say python-pecan (>= 1.0.0)
these are available:
root@unassigned:~# apt-cache policy python-pecan
python-pecan:
Installed: 1.0.2-2ubuntu1
Candidate: 1.2.1-2~cloud0
Version table:
1.2.1-2~cloud0 500
500 http://
500 http://
*** 1.0.2-2ubuntu1 500
500 http://
500 http://
100 /var/lib/
root@unassigned:~# apt-cache policy python3-pecan
python3-pecan:
Installed: 1.2.1-2~cloud0
Candidate: 1.2.1-2~cloud0
Version table:
*** 1.2.1-2~cloud0 500
500 http://
500 http://
100 /var/lib/
1.0.2-2ubuntu1 500
500 http://
500 http://
why would not the latest version of python-pecan get installed?
after upgrading to the proper version neutron-db-manage is working
description: | updated |
Changed in neutron (Ubuntu): | |
status: | Invalid → Triaged |
this might be caused because I installed gnocchi before installing neutron, and gnocchi depends on >= 0.9
perhaps we should update gnocchi dependencies to use newer version of pecan?