rocky upgrade path broken requirements pecan too low

Bug #1794259 reported by Tobias Urdin
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
Medium
Unassigned
Rocky
Fix Released
Medium
Unassigned
neutron
Fix Released
Medium
Slawek Kaplonski
neutron (Ubuntu)
Fix Released
Medium
Unassigned
Cosmic
Fix Released
Medium
Unassigned

Bug Description

When upgrading to Rocky we noticed that the pecan requirement is:
pecan!=1.0.2,!=1.0.3,!=1.0.4,!=1.2,>=1.1.1 # BSD

https://github.com/openstack/neutron/blob/stable/rocky/requirements.txt#L11

But when having python2-pecan-1.1.2 which should satisfy this requirement we get below.
After upgrading to python2-pecan-1.3.2 this issue was solved.

2018-09-25 11:03:37.579 416002 INFO neutron.wsgi [-] 172.20.106.11 "GET / HTTP/1.0" status: 500 len: 2523 time: 0.0019162
2018-09-25 11:03:39.582 416002 INFO neutron.wsgi [-] Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/eventlet/wsgi.py", line 490, in handle_one_response
    result = self.application(self.environ, start_response)
  File "/usr/lib/python2.7/site-packages/paste/urlmap.py", line 203, in __call__
    return app(environ, start_response)
  File "/usr/lib/python2.7/site-packages/webob/dec.py", line 129, in __call__
    resp = self.call_func(req, *args, **kw)
  File "/usr/lib/python2.7/site-packages/webob/dec.py", line 193, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/oslo_middleware/base.py", line 131, in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python2.7/site-packages/webob/request.py", line 1313, in send
    application, catch_exc_info=False)
  File "/usr/lib/python2.7/site-packages/webob/request.py", line 1277, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.7/site-packages/webob/dec.py", line 129, in __call__
    resp = self.call_func(req, *args, **kw)
  File "/usr/lib/python2.7/site-packages/webob/dec.py", line 193, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/oslo_middleware/base.py", line 131, in __call__
    response = req.get_response(self.application)
  File "/usr/lib/python2.7/site-packages/webob/request.py", line 1313, in send
    application, catch_exc_info=False)
  File "/usr/lib/python2.7/site-packages/webob/request.py", line 1277, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.7/site-packages/pecan/middleware/recursive.py", line 56, in __call__
    return self.application(environ, start_response)
  File "/usr/lib/python2.7/site-packages/pecan/core.py", line 835, in __call__
    return super(Pecan, self).__call__(environ, start_response)
  File "/usr/lib/python2.7/site-packages/pecan/core.py", line 677, in __call__
    controller, args, kwargs = self.find_controller(state)
  File "/usr/lib/python2.7/site-packages/pecan/core.py", line 853, in find_controller
    controller, args, kw = super(Pecan, self).find_controller(_state)
  File "/usr/lib/python2.7/site-packages/pecan/core.py", line 480, in find_controller
    accept.startswith('text/html,') and
AttributeError: 'NoneType' object has no attribute 'startswith'

Revision history for this message
Tobias Urdin (tobias-urdin) wrote :

This was the neutron-server package that was upgraded

Revision history for this message
Slawek Kaplonski (slaweq) wrote :

Looks like it's known bug in pecan and was fixed in version 1.3.2. It was reported also in bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1597622
I think we should bump required version of pecan to solve it.

Changed in neutron:
status: New → Confirmed
importance: Undecided → High
importance: High → Critical
Changed in neutron:
importance: Critical → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/605027

Changed in neutron:
assignee: nobody → Slawek Kaplonski (slaweq)
status: Confirmed → In Progress
Changed in neutron (Ubuntu Cosmic):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/605027
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=40ba4ebe6a56d786f6f42022e78dc6d4251d582c
Submitter: Zuul
Branch: master

commit 40ba4ebe6a56d786f6f42022e78dc6d4251d582c
Author: Slawek Kaplonski <email address hidden>
Date: Tue Sep 25 11:57:01 2018 +0200

    Bump pecan version to 1.3.2

    In version 1.3.2 there is fix for issue which caused
    failure of start neutron-server process.
    Same issue was also reported in [1]

    [1] https://bugzilla.redhat.com/show_bug.cgi?id=1597622

    Change-Id: Iafe10b13ee729d781a79fcfa328521acfecdaec1
    Closes-Bug: #1794259

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Tobias, or anyone else affected,

Accepted neutron into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/neutron/2:13.0.0-0ubuntu4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in neutron (Ubuntu Cosmic):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-cosmic
Changed in cloud-archive:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package neutron - 2:13.0.0-0ubuntu4

---------------
neutron (2:13.0.0-0ubuntu4) cosmic; urgency=medium

  * d/control: Update min version of python(3)-pecan to rocky version
    (LP: #1794259).

 -- Corey Bryant <email address hidden> Tue, 25 Sep 2018 09:12:54 -0400

Changed in neutron (Ubuntu Cosmic):
status: Fix Committed → Fix Released
Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package neutron - 2:13.0.0-0ubuntu4~cloud0
---------------

 neutron (2:13.0.0-0ubuntu4~cloud0) bionic-rocky; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 neutron (2:13.0.0-0ubuntu4) cosmic; urgency=medium
 .
   * d/control: Update min version of python(3)-pecan to rocky version
     (LP: #1794259).

Changed in cloud-archive:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 14.0.0.0b1

This issue was fixed in the openstack/neutron 14.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.