neutron-bgp-dragent is missing ryu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Unassigned | ||
Stein |
Fix Committed
|
Medium
|
Radosław Piliszek | ||
Train |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Upgrading from rocky to stein I noticed that neutron-bgp-dragent kept restarting. The log ([1]) showed that ryu could not be imported.
Comparing rocky and stein containers shows that ryu was required by neutron in version 4.26 ([2]), but not in 4.32 ([3]). Thus ryu never gets pulled in as a dependency.
[1]
2019-08-06 17:29:03.699 6 INFO neutron.
2019-08-06 17:29:03.699 6 INFO neutron.
2019-08-06 17:29:03.993 6 ERROR neutron_
2019-08-06 17:29:03.993 6 ERROR neutron_
2019-08-06 17:29:03.993 6 ERROR neutron_
2019-08-06 17:29:03.993 6 ERROR neutron_
2019-08-06 17:29:03.993 6 ERROR neutron_
2019-08-06 17:29:03.993 6 ERROR neutron_
2019-08-06 17:29:03.993 6 ERROR neutron_
2019-08-06 17:29:03.993 6 ERROR neutron_
2019-08-06 17:29:03.993 6 ERROR neutron_
2019-08-06 17:29:03.993 6 ERROR neutron_
[2]
()[neutron@
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Name: ryu
Version: 4.26
Summary: Component-based Software-defined Networking Framework
Home-page: http://
Author: Ryu project team
Author-email: <email address hidden>
License: Apache License 2.0
Location: /var/lib/
Requires: netaddr, ovs, oslo.config, msgpack, eventlet, six, routes, webob, tinyrpc
Required-by: neutron
[3]
()[neutron@
[...]
()[neutron@
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https:/
Name: ryu
Version: 4.32
Summary: Component-based Software-defined Networking Framework
Home-page: http://
Author: Ryu project team
Author-email: <email address hidden>
License: Apache License 2.0
Location: /var/lib/
Requires: netaddr, ovs, msgpack, eventlet, six, routes, oslo.config, webob, tinyrpc
Required-by:
I think the problem here is that neutron- dynamic- routing switched from using ryu to os-ken (a fork of ryu). The config option bgp_speaker_driver is set in kolla-ansible to ryu, but it is not included in requirements.txt. We should just use the default of os-ken.
https:/ /docs.openstack .org/neutron- dynamic- routing/ latest/ contributor/ dragent- drivers. html#bgp- driver