← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1992352] [NEW] [OVN] POST requests stucks when rabbitmq is not available

 

Public bug reported:

As some of the operations relies on Messaging Callbacks[1][2], these
requests get's stuck when messaging driver like rabbitmq is not
available, For OVN without any other agent running, there is no consumer
for these messages so these operations should skip messaging callbacks.

To reproduce:-
- Setup Devstack with OVN using https://github.com/openstack/neutron/blob/master/devstack/ovn-local.conf.sample
- Comment transport_url(or modify port 5672 -> 5673) in neutron.conf and restart neutron services with sudo systemctl restart devstack@q*
- Try operations like, openstack network delete, openstack router add/remove subnet <router> <subnet> etc.

# In neutron logs can see too many oslo.messaging Errors for Access
Denied(transport_url commented) or Connection Refused(transport_url
updated to non listening port). oslo_messaging connection requests are
also not needed for such cases so that can also be fixed.

Actual Result:-
These operations get's stuck

Expected Result:-
- These operations should succeed as there are no consumers for those callbacks.


[1] https://github.com/openstack/neutron/blob/master/neutron/api/rpc/agentnotifiers/l3_rpc_agent_api.py#L44-L126
[2] https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/rpc.py#L478-L510

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1992352

Title:
  [OVN] POST requests stucks when rabbitmq is not available

Status in neutron:
  New

Bug description:
  As some of the operations relies on Messaging Callbacks[1][2], these
  requests get's stuck when messaging driver like rabbitmq is not
  available, For OVN without any other agent running, there is no
  consumer for these messages so these operations should skip messaging
  callbacks.

  To reproduce:-
  - Setup Devstack with OVN using https://github.com/openstack/neutron/blob/master/devstack/ovn-local.conf.sample
  - Comment transport_url(or modify port 5672 -> 5673) in neutron.conf and restart neutron services with sudo systemctl restart devstack@q*
  - Try operations like, openstack network delete, openstack router add/remove subnet <router> <subnet> etc.

  # In neutron logs can see too many oslo.messaging Errors for Access
  Denied(transport_url commented) or Connection Refused(transport_url
  updated to non listening port). oslo_messaging connection requests are
  also not needed for such cases so that can also be fixed.

  Actual Result:-
  These operations get's stuck

  Expected Result:-
  - These operations should succeed as there are no consumers for those callbacks.

  
  [1] https://github.com/openstack/neutron/blob/master/neutron/api/rpc/agentnotifiers/l3_rpc_agent_api.py#L44-L126
  [2] https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/rpc.py#L478-L510

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1992352/+subscriptions



Follow ups