python2-ryu-4.13-1breaks ovb-ha-oooq on master

Bug #1694431 reported by Emilien Macchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Alfredo Moralejo

Bug Description

Affecting all ovb-ha-oooq jobs on master: Neutron OVS Agent can't start on compute nodes:

May 30 07:10:24 localhost neutron-openvswitch-agent: Could not load neutron.openstack.common.notifier.rpc_notifier
May 30 07:10:24 localhost neutron-openvswitch-agent: Traceback (most recent call last):
May 30 07:10:24 localhost neutron-openvswitch-agent: File "/usr/bin/neutron-openvswitch-agent", line 10, in <module>
May 30 07:10:24 localhost neutron-openvswitch-agent: sys.exit(main())
May 30 07:10:24 localhost neutron-openvswitch-agent: File "/usr/lib/python2.7/site-packages/neutron/cmd/eventlet/plugins/ovs_neutron_agent.py", line 20, in main
May 30 07:10:24 localhost neutron-openvswitch-agent: agent_main.main()
May 30 07:10:24 localhost neutron-openvswitch-agent: File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/main.py", line 46, in main
May 30 07:10:24 localhost neutron-openvswitch-agent: mod = importutils.import_module(mod_name)
May 30 07:10:24 localhost neutron-openvswitch-agent: File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 73, in import_module
May 30 07:10:24 localhost neutron-openvswitch-agent: __import__(import_str)
May 30 07:10:24 localhost neutron-openvswitch-agent: File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/main.py", line 18, in <module>
May 30 07:10:24 localhost neutron-openvswitch-agent: from ryu.base import app_manager
May 30 07:10:24 localhost neutron-openvswitch-agent: File "/usr/lib/python2.7/site-packages/ryu/base/app_manager.py", line 34, in <module>
May 30 07:10:24 localhost neutron-openvswitch-agent: from ryu import utils
May 30 07:10:24 localhost neutron-openvswitch-agent: File "/usr/lib/python2.7/site-packages/ryu/utils.py", line 23, in <module>
May 30 07:10:24 localhost neutron-openvswitch-agent: from pip import req as pip_req
May 30 07:10:24 localhost neutron-openvswitch-agent: ImportError: No module named pip
May 30 07:10:25 localhost systemd: neutron-openvswitch-agent.service: main process exited, code=exited, status=1/FAILURE
May 30 07:10:25 localhost systemd: Unit neutron-openvswitch-agent.service entered failed state.
May 30 07:10:25 localhost systemd: neutron-openvswitch-agent.service failed.

http://logs.openstack.org/54/468754/3/check-tripleo/gate-tripleo-ci-centos-7-ovb-ha-oooq/2fb2a0f/logs/overcloud-novacompute-0/var/log/messages.txt.gz#_May_30_07_10_25

Tags: ci
Revision history for this message
Alfredo Moralejo (amoralej) wrote :

This has been caused by new build of python-ryu-4.13-1.el7, which imports pip library that is not available in servers. Preparing a new build of python-ryu with downstream patch to remove the imports, which are only used for tests, not in actual runtime.

Revision history for this message
Alfredo Moralejo (amoralej) wrote :

A new package python-ryu-4.13-2.el7 is being built in CBS and will be push to pike-testing repo as soon as it's ready.

Revision history for this message
Alan Pevec (apevec) wrote :

python-ryu-4.13-2.el7 is available in the Pike deps repo and does not exhibit reported trace:
>>> from ryu import utils
>>> dir(utils)
['LOG', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '_find_loaded_module', '_likely_same', 'binary_str', 'chop_py_suffix', 'hex_array', 'import_module', 'importlib', 'load_source', 'logging', 'os', 'parse_requirements', 'round_up', 'six', 'sys']
>>>

tags: removed: alert
Changed in tripleo:
status: In Progress → Fix Released
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.