Neutron-server tripleoupstream docker image needs a rebuild to unblock with updated python2-pyroute2 dependency

Bug #1695199 reported by Bogdan Dobrelya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Martin André

Bug Description

Neutron-server deployed undercloud fails to start https://pastebin.com/MxidynwJ

Seems related to the recent Neutron switch from eventlet to asyncio https://github.com/openstack/neutron/commit/4a1d951920e26287d849c6e670d1fff5789e261d https://review.openstack.org/#/c/469650/

Looks like tripleoupstream docker images should be rebuilt with the fixed python2-pyroute2 dependency.

Repro
$ sudo docker run -it --rm docker.io/tripleoupstream/centos-binary-neutron-server python -c 'from oslo_utils import importutils; importutils.import_module("pyroute2.config.asyncio")'

This way it works:
$ sudo yum install python2-pyroute2 #from DLRN current
$ python -c 'from oslo_utils import importutils; importutils.import_module("pyroute2.config.asyncio")'

Tags: containers
Changed in tripleo:
milestone: none → pike-2
importance: Undecided → Critical
status: New → Triaged
tags: added: alert
description: updated
description: updated
summary: - Neutron-server docker image is missing asyncio
+ Neutron-server docker image/puppet module is missing python2-pyroute2
summary: - Neutron-server docker image/puppet module is missing python2-pyroute2
+ Neutron-server docker image/puppet module/package is missing
+ python2-pyroute2 dependency install
Revision history for this message
Bogdan Dobrelya (bogdando) wrote : Re: Neutron-server docker image/puppet module/package is missing python2-pyroute2 dependency install

So the fix perhaps belongs to the neutron-server packaging world, the python2-pyroute2 needs to be added to the neutron-server install deps.

description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/470204

no longer affects: kolla
Changed in kolla:
status: New → Opinion
Revision history for this message
Alfredo Moralejo (amoralej) wrote :

python2-pyroute2 is already a dependency for neutron-server, https://github.com/rdo-packages/neutron-distgit/blob/rpm-master/openstack-neutron.spec#L166.

The problem was that we were not shiping the required minimal version. Required version 0.4.15 has already been pushed to pike-testing repo, so you shouldn't hit it anymore:

https://buildlogs.centos.org/centos/7/cloud/x86_64/openstack-pike/python2-pyroute2-0.4.15-1.el7.noarch.rpm

Can you provide steps to reproduce?

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Okay, kolla build actually shows no of the issue
$ docker run -it --rm kolla/centos-binary-neutron-server:4.0.0 python -c 'from oslo_utils import importutils; importutils.import_module("pyroute2.config.asyncio")'

works!

no longer affects: kolla
summary: - Neutron-server docker image/puppet module/package is missing
- python2-pyroute2 dependency install
+ Neutron-server tripleoupstream docker image needs a rebuild to unblock
+ with updated python2-pyroute2 dependency
tags: added: containers
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-common (master)

Change abandoned by Bogdan Dobrelya (<email address hidden>) on branch: master
Review: https://review.openstack.org/470204
Reason: this is not needed, the dependency is in place already

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Changed in tripleo:
importance: Critical → High
tags: removed: alert
Revision history for this message
Martin André (mandre) wrote :

This is now fixed in the new container images available in the tripleoupstream dockerhub.

Changed in tripleo:
status: Triaged → Fix Released
assignee: nobody → Martin André (mandre)
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.