[RFE] Ironic doesn't support zmq with oslo.messaging

Bug #1669243 reported by zhangjialong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Won't Fix
Wishlist
Unassigned

Bug Description

[Describe]
I deploied ironic using devstack with zmq as rpc_backend, but my ironic cannot work as expected.
Ironic node-create return 500 error.

[Step to reproduce]
1.Modify the local.conf according to [1]
2.run the ./stack
3.Then the error occured

[Version of Ironic]
master

[Ironic Config File]
http://paste.openstack.org/show/601038/

[Ironic API LOG]
http://paste.openstack.org/show/601039/

[1]: https://docs.openstack.org/developer/oslo.messaging/zmq_driver.html

zhangjialong (zhangjl)
Changed in ironic:
assignee: nobody → zhangjialong (zhangjl)
Revision history for this message
zhangjialong (zhangjl) wrote :

I changed my devstack to using rabbitmq. After deploying, i changed the rpc_backend to zmq, then, most of ironic api were broken. And most of them return the 500 error:

ironic node-delete
ironic node-update
ironic node-validate
ironic node-vif-attach
ironic node-vif-detach

summary: - Ironic cannot work with zmq using oslo.messaing
+ Ironic doesn't support zmq with oslo.messaging
Revision history for this message
zhangjialong (zhangjl) wrote : Re: Ironic doesn't support zmq with oslo.messaging

To fix this problem , one available choice is change the rpc usage like nova[1].
While, according to the discusstion in irc, ironic make heavy use of topic. Maybe, it`s better to not to change it.

While, i left my patch for anyone who also use ironic with zmq.

Changed in ironic:
assignee: zhangjialong (zhangjl) → nobody
Revision history for this message
zhangjialong (zhangjl) wrote :
Changed in ironic:
status: New → Confirmed
Revision history for this message
Galyna Zholtkevych (gzholtkevych) wrote :

Checked and met the same error. Thank you for addressing this

Changed in ironic:
assignee: nobody → Galyna Zholtkevych (gzholtkevych)
Revision history for this message
Galyna Zholtkevych (gzholtkevych) wrote :

The reason of failures is the wrong topic (hostname should be passed to server parameter in rpc context, but not to the topic)
So then to resolve this bug RPC API version will need to be bumped (adding new parameter server to be passed to context)

tags: added: rfe
summary: - Ironic doesn't support zmq with oslo.messaging
+ [RFE] Ironic doesn't support zmq with oslo.messaging
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

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

Changed in ironic:
status: Confirmed → In Progress
Revision history for this message
Galyna Zholtkevych (gzholtkevych) wrote :

Investigating this more, I am not sure about bumping, IMO we could proceed without it

Vladyslav Drok (vdrok)
Changed in ironic:
importance: Undecided → Wishlist
Revision history for this message
Ruby Loo (rloo) wrote :

Galyna, if this needs an RPC bump, please ping me. I'd like to get the rolling upgrades in first :)

Revision history for this message
Vladyslav Drok (vdrok) wrote :

Not in progress anymore.

Changed in ironic:
assignee: Galyna Zholtkevych (gzholtkevych) → nobody
status: In Progress → Triaged
Revision history for this message
Ruby Loo (rloo) wrote :

Thanks for submitting this. We discussed this in today's ironic meeting [1]. There are enough questions that we would like to see a spec describing the problem and the proposed change.

[1] http://eavesdrop.openstack.org/meetings/ironic/2017/ironic.2017-12-04-17.00.log.html#l-239

tags: added: needs-spec
Changed in ironic:
status: Triaged → Won't Fix
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.