Red Hat Bugzilla – Bug 1265365
Neutron missing pecan dependency
Last modified: 2016-04-18 03:13:08 EDT
Neutron is currently missing the python-pecan dependency:
This is not a new dependency from today so my theory is that another project used and dropped pecan which neutron was feeding on.
pecan is not listed as a dependency for the package right now:
This is causing neutron-server to fail to start:
neutron-server: File "/usr/lib/python2.7/site-packages/neutron/cmd/eventlet/server/__init__.py", line 15, in <module>
neutron-server: from neutron.server import wsgi_pecan
neutron-server: File "/usr/lib/python2.7/site-packages/neutron/server/wsgi_pecan.py", line 22, in <module>
neutron-server: from neutron.pecan_wsgi import app as pecan_app
neutron-server: File "/usr/lib/python2.7/site-packages/neutron/pecan_wsgi/app.py", line 19, in <module>
neutron-server: import pecan
neutron-server: ImportError: No module named pecan
systemd: neutron-server.service: main process exited, code=exited, status=1/FAILURE
systemd: Failed to start OpenStack Neutron Server.
python-pecan currently in repo is outdated:
# yum info python-pecan
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror.cogentco.com
Name : python-pecan
Arch : noarch
Version : 0.8.3
Release : 1.el7
Size : 281 k
Repo : delorean-common-testing/x86_64
Summary : A lean WSGI object-dispatching web framework
URL : http://github.com/dreamhost/pecan
License : BSD
Description : A WSGI object-dispatching web framework, designed to be lean and
: fast with few dependencies
We need to:
1) Bump python-pecan to 1.0.2 (neutron requires >= 1.0.0)
2) Add python-pecan as a dependency to neutron
*** Bug 1265396 has been marked as a duplicate of this bug. ***
The global requirement for pecan was bumped to 1.0.0 at https://review.openstack.org/213085 . This specifically mentions Neutron as a consumer of this version.
A local mock build of the current fedora python-pecan 1.0.2 spec worked fine on f22 and epel7, so it should be relatively straightforward.
Submitted dependency for python-pecan in https://review.gerrithub.io/#/c/248028 for neutron.
Asked for help for bumping the version of python-pecan.
Sent a new patchset to the neutron package review for jenkins to pick it up. It failed to verify since pecan was not there yet.
Also on temp CBS repos mirror for prod-rdojenkins: