Comment 5 for bug 2042954

Revision history for this message
Mark Goddard (mgoddard) wrote :

At least on Ubuntu (and possibly Debian), this fix appears not to work.

Neutron's requirements.txt in yoga specifies:

  pyroute2>=0.6.6

And upper constraints has 0.6.6. The 0.6.4 provided by Focal does not satisfy this, so pip pulls 0.6.6 from PyPI.

This can be seen in the build logs for neutron-base, e.g.

  INFO:kolla.common.utils.neutron-base:Collecting pyroute2>=0.6.6 (from neutron==20.5.1.dev24)

https://77fe6a525f1dcfeae49d-1abec0e013b8555f731bc5b1528446b7.ssl.cf2.rackcdn.com/910437/3/gate/kolla-build-ubuntu-source/09a6862/kolla/build/neutron-base.log

A workaround is to uninstall the pyroute2 command in the neutron-metadata-agent footer:

  pip uninstall pyroute2 pyroute2.core pyroute2.ethtool pyroute2.ipdb pyroute2.ipset pyroute2.ndb pyroute2.nftables pyroute2.nslink pyroute2.protocols -y

CentOS Stream 8 seems unaffected because it has python3-pyroute2 0.6.6 in the system packages.