Dragonflow publisher service not working.
This is what written in the application log:
python /opt/stack/dragonflow/dragonflow/controller/df_publisher_service.py --config-file /etc/neutron/neutron.conf
XXXXX@XXXXX:~/devstack$ python /opt/stack/dragonflow/dragonflow/controller/df_publisher_service.py --config-file /etc/neutron/neutron.conf
2016-03-09 09:02:12.480 INFO neutron.common.config [-] Logging enabled!
2016-03-09 09:02:12.481 INFO neutron.common.config [-] /opt/stack/dragonflow/dragonflow/controller/df_publisher_service.py version 8.0.0.0b4.dev42
2016-03-09 09:02:12.481 DEBUG neutron.common.config [-] command line: /opt/stack/dragonflow/dragonflow/controller/df_publisher_service.py --config-file /etc/neutron/neutron.conf from (pid=4512) setup_logging /opt/stack/neutron/neutron/common/config.py:255
2016-03-09 09:02:14.409 DEBUG dragonflow.db.pubsub_drivers.zmq_pubsub_driver [-] about to bind to network socket: tcp://*:8866 from (pid=4512) _connect /opt/stack/dragonflow/dragonflow/db/pubsub_drivers/zmq_pubsub_driver.py:110
2016-03-09 09:02:14.409 DEBUG dragonflow.db.pubsub_drivers.zmq_pubsub_driver [-] about to bind to IPC socket: /var/run/zmq_pubsub/zmq-publisher-socket from (pid=4512) connect /opt/stack/dragonflow/dragonflow/db/pubsub_drivers/zmq_pubsub_driver.py:188
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/eventlet/greenpool.py", line 82, in _spawn_n_impl
func(*args, **kwargs)
File "/opt/stack/dragonflow/dragonflow/db/pubsub_drivers/zmq_pubsub_driver.py", line 159, in run
self.sub_socket = self.connect()
File "/opt/stack/dragonflow/dragonflow/db/pubsub_drivers/zmq_pubsub_driver.py", line 189, in connect
inproc_server.bind('ipc://%s' % ipc_socket)
File "zmq/backend/cython/socket.pyx", line 487, in zmq.backend.cython.socket.Socket.bind (zmq/backend/cython/socket.c:5156)
File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:7535)
raise ZMQError(errno)
ZMQError: No such file or directory
After additional research I found the following problem - zmq socket files does not exists:
/var/run/ zmq_pubsub/ zmq-publisher- socket
In addition, the following directory is missing : /var/run/zmq_pubsub
All other files in /var/run/ have recent date (same as time when my computer was rebooted).
I suppose, Linux deletes all files int hsi directory on reboot as a result the /var/run/zmq_pubsub
directory is missing.