CI: Openvswitch agent fails because can't import tinyrpc.server module

Bug #1655919 reported by Sagi (Sergey) Shnaidman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Alfredo Moralejo

Bug Description

TripleO Job logs:

http://logs.openstack.org/18/419018/4/check/gate-tripleo-ci-centos-7-ovb-nonha-oooq-nv/7a08339

neutron logs: http://logs.openstack.org/18/419018/4/check/gate-tripleo-ci-centos-7-ovb-nonha-oooq-nv/7a08339/logs/undercloud/var/log/neutron/

messages log: http://logs.openstack.org/18/419018/4/check/gate-tripleo-ci-centos-7-ovb-nonha-oooq-nv/7a08339/logs/undercloud/var/log/messages

Openvswitch service fails with traceback:

Jan 12 01:15:14 undercloud neutron-openvswitch-agent: Option "notification_driver" from group "DEFAULT" is deprecated. Use option "driver" from group "oslo_messaging_notifications".
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: Could not load neutron.openstack.common.notifier.rpc_notifier
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: Traceback (most recent call last):
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: File "/usr/bin/neutron-openvswitch-agent", line 10, in <module>
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: sys.exit(main())
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: File "/usr/lib/python2.7/site-packages/neutron/cmd/eventlet/plugins/ovs_neutron_agent.py", line 20, in main
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: agent_main.main()
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/main.py", line 46, in main
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: mod = importutils.import_module(mod_name)
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 73, in import_module
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: __import__(import_str)
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/main.py", line 18, in <module>
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: from ryu.base import app_manager
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: File "/usr/lib/python2.7/site-packages/ryu/base/app_manager.py", line 35, in <module>
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: from ryu.app import wsgi
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: File "/usr/lib/python2.7/site-packages/ryu/app/wsgi.py", line 23, in <module>
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: from tinyrpc.server import RPCServer
Jan 12 01:15:14 undercloud neutron-openvswitch-agent: ImportError: No module named tinyrpc.server
Jan 12 01:15:15 undercloud ironic-inspector: 2017-01-12 01:15:15.076 4421 DEBUG futurist.periodics [-] Submitting periodic callback 'ironic_inspector.main.periodic_update' _process_scheduled /usr/lib/python2.7/site-packages/futurist/periodics.py:623
Jan 12 01:15:15 undercloud systemd: neutron-openvswitch-agent.service: main process exited, code=exited, status=1/FAILURE
Jan 12 01:15:15 undercloud systemd: Unit neutron-openvswitch-agent.service entered failed state.
Jan 12 01:15:15 undercloud systemd: neutron-openvswitch-agent.service failed.

Tags: ci
tags: added: alert
summary: - Openvswitch agent fails because can't import tinyrpc.server module
+ CI: Openvswitch agent fails because can't import tinyrpc.server module
tags: added: ci
Changed in tripleo:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Alfredo Moralejo (amoralej) wrote :

ryu >= 4.9 has included tinyrpc as new requirement which is not available in RDO yet. I'm preparing it.

no longer affects: neutron
Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :

new ryu package requires new library tinyrpc, new package is in progress

Changed in tripleo:
milestone: none → ocata-3
assignee: nobody → Alfredo Moralejo (amoralej)
Revision history for this message
Alfredo Moralejo (amoralej) wrote :

Following new packages have been included in RDO ocata repo:

python-ryu-4.9-2
python-tinyrpc-0.5-2

They should fix the issue. I'm currently testing it.

Changed in tripleo:
status: Triaged → In Progress
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.