← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1934420] [NEW] [OVN]ControllerAgent cannot be changed to ControllerGatewayAgent dynamically

 

Public bug reported:

I have 3 nodes. NodeA, NodeB, NodeC.

I execute cmd 'ovs-vsctl set open_vswitch . external-ids:ovn-cms-options
=enable-chassis-as-gw' in NodeA and NodeV, as gateway Node.

show agent list by executing the command 'openstack network agent list':

NodeA is 'OVN Controller Gatewaty agent'
NodeB is 'OVN Controller Gatewaty agent'
NodeC is 'OVN Controller agent'

the result is the same as I expected.

next I execute cmd 'ovs-vsctl set open_vswitch . external-ids:ovn-cms-
options=enable-chassis-as-gw' in NodeC,

show agent list by executing the command 'openstack network agent list':

NodeA is 'OVN Controller Gatewaty agent'
NodeB is 'OVN Controller Gatewaty agent'
NodeC is 'OVN Controller agent'

The NodeC is still 'OVN Controller agent', not 'OVN Controller Gatewaty
agent', The command has been executed many times and the result is still
unchanged.

But as long as I execute the command to restart the neutron service, the
result will be correct. NodeC is 'OVN Controller Gatewaty agent'.

Similarly, the 'OVN Controller Gatewaty agent' cannot be turned into
'OVN Controller agent' without restarting the neutron service.

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ovn

** Tags added: ovn

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

Title:
  [OVN]ControllerAgent cannot be changed to ControllerGatewayAgent
  dynamically

Status in neutron:
  New

Bug description:
  I have 3 nodes. NodeA, NodeB, NodeC.

  I execute cmd 'ovs-vsctl set open_vswitch . external-ids:ovn-cms-
  options=enable-chassis-as-gw' in NodeA and NodeV, as gateway Node.

  show agent list by executing the command 'openstack network agent
  list':

  NodeA is 'OVN Controller Gatewaty agent'
  NodeB is 'OVN Controller Gatewaty agent'
  NodeC is 'OVN Controller agent'

  the result is the same as I expected.

  next I execute cmd 'ovs-vsctl set open_vswitch . external-ids:ovn-cms-
  options=enable-chassis-as-gw' in NodeC,

  show agent list by executing the command 'openstack network agent
  list':

  NodeA is 'OVN Controller Gatewaty agent'
  NodeB is 'OVN Controller Gatewaty agent'
  NodeC is 'OVN Controller agent'

  The NodeC is still 'OVN Controller agent', not 'OVN Controller
  Gatewaty agent', The command has been executed many times and the
  result is still unchanged.

  But as long as I execute the command to restart the neutron service,
  the result will be correct. NodeC is 'OVN Controller Gatewaty agent'.

  Similarly, the 'OVN Controller Gatewaty agent' cannot be turned into
  'OVN Controller agent' without restarting the neutron service.

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


Follow ups