No module named tinyrpc.server

asked 2017-02-14 09:10:55 -0500

Rafael Almeida gravatar image

updated 2017-02-15 17:43:21 -0500

Hi, kolla/centos-binary-neutron-openvswitch-agent:master error with kolla-ansible 4.0.0.0b3

kolla/centos-binary-neutron-openvswitch-agent:master   "kolla_start"       12 minutes ago      Restarting (1) 5 minutes ago                       neutron_openvswitch_agent


INFO:__main__:Setting permission for /var/log/kolla/neutron/neutron-l3-agent.log
INFO:__main__:Setting permission for /var/log/kolla/neutron/neutron-metadata-agent.log
Running command: 'neutron-openvswitch-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini'
Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.
Traceback (most recent call last):
  File "/usr/bin/neutron-openvswitch-agent", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/neutron/cmd/eventlet/plugins/ovs_neutron_agent.py", line 20, in main
    agent_main.main()
  File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/main.py", line 46, in main
    mod = importutils.import_module(mod_name)
  File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 73, in import_module
    __import__(import_str)
  File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/main.py", line 18, in <module>
    from ryu.base import app_manager
  File "/usr/lib/python2.7/site-packages/ryu/base/app_manager.py", line 35, in <module>
    from ryu.app import wsgi
  File "/usr/lib/python2.7/site-packages/ryu/app/wsgi.py", line 23, in <module>
    from tinyrpc.server import RPCServer
ImportError: No module named tinyrpc.server
edit retag flag offensive close merge delete

Comments

Nothing changed in Docker images that can make this issue. Maybe is a packager (rdo) issue. Also can't see such issue in master gates ATM, http://logs.openstack.org/99/433299/2...

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-02-15 17:40:33 -0500 )edit

will try to reproduce such issue

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-02-15 17:40:48 -0500 )edit

Similar problem deploying Packstack:

Error: Package: python2-ryu-4.9-2.el7.noarch (centos-openstack-newton)
           Requires: python-tinyrpc

Centos doesn't have a package named python-tinyrpc. Has Ryu added this requirement, and tinyrpc is not widely available?

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-20 18:41:36 -0500 )edit

(I successfully deployed an all-in-one Packstack yesterday. The tinyrpc error message appears today when I try to provision a compute node. Same error when running yum update on my all-in-one)

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-20 18:43:36 -0500 )edit