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

Bug #1669243 reported by zhangjialong on 2017-03-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Triaged
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) on 2017-03-02
Changed in ironic:
assignee: nobody → zhangjialong (zhangjl)
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

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
Changed in ironic:
status: New → Confirmed

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

Changed in ironic:
assignee: nobody → Galyna Zholtkevych (gzholtkevych)

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

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

Changed in ironic:
status: Confirmed → In Progress

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

Vladyslav Drok (vdrok) on 2017-04-03
Changed in ironic:
importance: Undecided → Wishlist
Ruby Loo (rloo) wrote :

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

Vladyslav Drok (vdrok) wrote :

Not in progress anymore.

Changed in ironic:
assignee: Galyna Zholtkevych (gzholtkevych) → nobody
status: In Progress → Triaged
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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers