zmq failed to start after server reboot

Bug #1554941 reported by Yuli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DragonFlow
Invalid
Low
Omer Anson

Bug Description

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

Revision history for this message
Yuli (stremovsky) wrote :

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.

Revision history for this message
Yuli (stremovsky) wrote :

Please check the following script: /opt/stack/dragonflow/devstack/df-ext-services.sh

You can probably add required commands their to recreate needed directory.

Omer Anson (omer-anson)
Changed in dragonflow:
assignee: nobody → Omer Anson (omer-anson)
Yuli (stremovsky)
description: updated
Yuli (stremovsky)
Changed in dragonflow:
importance: Undecided → Low
Revision history for this message
Yuli (stremovsky) wrote :

Any progress on this bug ?

Revision history for this message
Yuli (stremovsky) wrote :

We are closing all bugs related to rejoin-stack as invalid.

Best regards,
Yuli

Changed in dragonflow:
status: New → Invalid
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.