yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #88298
[Bug 1947334] Re: [OVN] Migration to OVN does not create the OVN QoS DB registers
Reviewed: https://review.opendev.org/c/openstack/neutron/+/813052
Committed: https://opendev.org/openstack/neutron/commit/cde5657a504f6658cb1c9c98235c120030f86130
Submitter: "Zuul (22348)"
Branch: master
commit cde5657a504f6658cb1c9c98235c120030f86130
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date: Thu Oct 7 16:20:21 2021 +0000
[OVN] Sync QoS policies
The tool "neutron-ovn-db-sync-util" now syncs the Neutron QoS policies
with the OVN NB database. The tools reads the port and the floaiting IP
QoS policies and creates the corresponding OVN QoS rules.
The ovsdbapp library is bumped to version 1.15.0. This version updates
the "QoSAddCommand" to allow register updates. If the OVN NB QoS
register to be created is present in the DB and all parameters match,
no transaction is commited to the DB.
Depends-On: https://review.opendev.org/c/openstack/ovsdbapp/+/822138
Closes-Bug: #1947334
Change-Id: Ib597b62017b56b41009dd4d7359e169f424272b0
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1947334
Title:
[OVN] Migration to OVN does not create the OVN QoS DB registers
Status in neutron:
Fix Released
Bug description:
After the OVN migration, the information about QoS in the neutron DB is correct:
(overcloud) [stack@undercloud-0 ~]$ openstack network show 569b37f1-3dd4-402e-9244-d7fad1ec4804 -c qos_policy_id -f value
85d22adf-fc02-4c6d-b17a-36183d206558
(overcloud) [stack@undercloud-0 ~]$ openstack network qos policy show 85d22adf-fc02-4c6d-b17a-36183d206558 -c rules -f value
[{'max_kbps': 1000, 'max_burst_kbps': 800, 'direction': 'egress', 'id': 'fd1fffa5-b3ae-4b24-ba81-dfce2cccbe17', 'qos_policy_id': '85d22adf-fc02-4c6d-b17a-36183d206558', 'type': 'bandwidth_limit'}, {'dscp_mark': 40, 'id': '49e3e48b-b9e1-4332-9756-603134ee25fa', 'qos_policy_id': '85d22adf-fc02-4c6d-b17a-36183d206558', 'type': 'dscp_marking'}]
Wowever there is no QoS information in the OVN NBDB:
[root@controller-0 ~]# ovn-nbctl find logical_switch name=neutron-569b37f1-3dd4-402e-9244-d7fad1ec4804
_uuid : 10c127dd-639b-455d-94e9-7de881abef9e
acls : []
dns_records : [8c29e850-26bd-4be9-8fe5-e87e84912ef9]
external_ids : {"neutron:mtu"="1442", "neutron:network_name"=tobiko.openstack.stacks._qos.QosNetworkStackFixture-network-76zr72iw3bn5, "neutron:revision_number"="6"}
forwarding_groups : []
load_balancer : []
name : neutron-569b37f1-3dd4-402e-9244-d7fad1ec4804
other_config : {mcast_flood_unregistered="false", mcast_snoop="true", vlan-passthru="false"}
ports : [031d8606-2855-4404-89a8-539ec6bf31a7, 144619e6-8ec6-43d5-8e26-f0d0fab2676f, 488e8f77-64b0-40b5-82e8-dc3d79eab851, 4c3a538f-69cf-4241-ab9b-bb1c56e7f513, 6205219c-1593-42b2-a28c-bc856d6978b2, 8a518aac-ab99-486b-9ddc-4b82accb9cfd, 8fe8118c-cf6e-40cc-89bf-4b831f5ba770, a3ff89e4-4f5f-420d-8f86-6890d5f8e157, a8eef773-b7d1-411e-8308-c6434bc5b92d]
qos_rules : []
[root@controller-0 ~]# ovn-nbctl list qos
# the output is empty
Bugzilla reference: https://bugzilla.redhat.com/show_bug.cgi?id=2010672
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1947334/+subscriptions
References