Public bug reported:

When QoS floating IP is used, the OVN QoS rules do not apply to distributed 
floating IP ("enable_distributed_floating_ip=True"). The condition applied in 
[1]:
  is_chassis_resident(chassisredirect_lrp_xxx)

is valid for non distributed floating IP deployments. The
chassisredirect lrp is present in the chassis where the floating IP NAT
is done.

But in distributed floating IP deployments, the NAT is done locally in the 
compute node that hosts the private IP port; that means the match condition 
should be:
  is_chassis_resident(private_port)


[1]https://github.com/openstack/neutron/blob/4a021306ad53c588dd9f8269124e7b0d49a2c752/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/extensions/qos.py#L104-L106

** Affects: neutron
     Importance: Undecided
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

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

Title:
  [OVN] QoS rules do not apply to distributed floating IP traffic

Status in neutron:
  New

Bug description:
  When QoS floating IP is used, the OVN QoS rules do not apply to distributed 
floating IP ("enable_distributed_floating_ip=True"). The condition applied in 
[1]:
    is_chassis_resident(chassisredirect_lrp_xxx)

  is valid for non distributed floating IP deployments. The
  chassisredirect lrp is present in the chassis where the floating IP
  NAT is done.

  But in distributed floating IP deployments, the NAT is done locally in the 
compute node that hosts the private IP port; that means the match condition 
should be:
    is_chassis_resident(private_port)

  
  
[1]https://github.com/openstack/neutron/blob/4a021306ad53c588dd9f8269124e7b0d49a2c752/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/extensions/qos.py#L104-L106

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to