nova.cmd.rpc_zmq_receiver:main is missing

Bug #1279739 reported by yong sheng gong
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Mark McLoughlin
devstack
Fix Released
Undecided
Elena Ezhova
oslo.messaging
Invalid
Undecided
Unassigned

Bug Description

I am trying to run devstack with zeromq, but the zeromq failed.

al/bin/nova-rpc-zmq-receiver & echo $! >/opt/stack/status/stack/zeromq.pid; fg || echo "zeromq failed to start" | tee "/opt/stack/status/stack/zeromq.failure"
[1] 25102
cd /opt/stack/nova && /usr/local/bin/nova-rpc-zmq-receiver
Traceback (most recent call last):
  File "/usr/local/bin/nova-rpc-zmq-receiver", line 6, in <module>
    from nova.cmd.rpc_zmq_receiver import main
ImportError: No module named rpc_zmq_receiver
zeromq failed to start

I found at https://github.com/openstack/nova/blob/master/setup.cfg:
nova-rpc-zmq-receiver = nova.cmd.rpc_zmq_receiver:main

but at https://github.com/openstack/nova/tree/master/nova/cmd:
we have no rpc_zmq_receiver module at all.

Revision history for this message
Joe Gordon (jogo) wrote :

nova.cmd.rpc_zmq_receiver went away in https://review.openstack.org/#/c/39929/, the switch to oslo.messaging

Changed in nova:
status: New → Confirmed
Changed in oslo.messaging:
status: New → Confirmed
Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

The project-specific receiver command has been replaced with oslo-messaging-zmq-receiver. I think you will need to update devstack to call that program instead, but I'm not 100% sure of how the zmq stuff actually uses that command.

Revision history for this message
Mark McLoughlin (markmc) wrote :

Adding devstack since that's what needs to be updated

Changed in nova:
importance: Undecided → Low
Changed in oslo.messaging:
status: Confirmed → Invalid
Changed in devstack:
status: New → Confirmed
Revision history for this message
Mark McLoughlin (markmc) wrote :
Changed in nova:
assignee: nobody → Mark McLoughlin (markmc)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/83744
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4cd9ce0e2d207635eddc4455376cf8f59c943936
Submitter: Jenkins
Branch: master

commit 4cd9ce0e2d207635eddc4455376cf8f59c943936
Author: Mark McLoughlin <email address hidden>
Date: Fri Mar 28 13:32:26 2014 +0000

    Remove zmq-receiver from setup.cfg

    In commit 1a91aac we removed the zmq-receiver script (in favor of
    oslo-messaging-zmq-receiver) but forgot to remove the entry from
    setup.cfg.

    Closes-Bug: #1279739
    Change-Id: Icd08a5b28daee7234abd24ba502c56cc00abcb8c

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → icehouse-rc1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-rc1 → 2014.1
Elena Ezhova (eezhova)
Changed in devstack:
assignee: nobody → Elena Ezhova (eezhova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/101136

Changed in devstack:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/101136
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=2d451967be1aa9f8154d14325a6a673b2833b281
Submitter: Jenkins
Branch: master

commit 2d451967be1aa9f8154d14325a6a673b2833b281
Author: Elena Ezhova <email address hidden>
Date: Thu Jun 19 12:49:32 2014 +0400

    Use oslo-messaging-zmq-receiver to start zeromq receiver

    The project-specific receiver command nova-rpc-zmq-receiver
    has been replaced with oslo-messaging-zmq-receiver.

    We need to update devstack code accordingly.

    Change-Id: I7696c649fa818ecb523b698ea4a23f70da60147d
    Closes-Bug: 1279739

Changed in devstack:
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.