Skip to content

Conversation

github-actions[bot]
Copy link

This PR contains a snapshot of yoga from upstream.

ralonsoh and others added 12 commits December 11, 2022 01:01
During the OVN DB inconsistency check, a OVN LSP could not be present
in the Neutron DB. In this case, continue processing other LSPs and
let other ``DBInconsistenciesPeriodics`` methods to resolve this
issue.

Closes-Bug: #1999517

Conflicts:
    neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_maintenance.py

Change-Id: Ifb8bdccf6819f7f8af1abd3b82ccb1cd2e4c2fb8
(cherry picked from commit dfe6947)
In newer versions (Zed+), [1] enforces to explicitly load the
configuration options by calling ``register_common_config_options``
method. In older releases, those options are loaded when the
module ``common_config`` is loaded.

[1]https://review.opendev.org/c/openstack/neutron/+/837392

Related-Bug: #1979072
Change-Id: Iad4ac8cb00a11d2f6646966d37e6f9b160f8ecf4
To be able to filter on the address scope of the ports in the
ovn-bgp-agent we add the address scope of the subnet pool to
each LSP port in the northbound. Northd writes it to the
southbound so the ovn-bgp-agent has access to it. The
ovn-bgp-agent talks directly to the southbound to announce
the networks via BGP that match the configured address scope.

Change-Id: Ieb4cab11068747bd79868c6eb1778aab91447c30
Closes-Bug: #1996741
(cherry picked from commit 2272b9b)
Bulk port create without mac address fails as when Neutron calls
oslo_utils.netutils.get_ipv6_addr_by_EUI64, as the mac field of the port
is an ATTR_NOT_SPECIFIED Sentinel() object.
With some reshuffling of the code to fill the mac field this can be
fixed.

Conflicts:
  neutron/plugins/ml2/plugin.py

Closes-Bug: #1995732
Related-Bug: #1954763

Change-Id: Id594003681f4755d8fd1af3b98e281c3109420f6
(cherry picked from commit f7dd779)
The previous `getattr(old, 'nb_cfg', False)` would evaluate to `False`
if the `old` row either did not contain a `nb_cfg` value or if the value
was 0.

As 0 is the value set on startup of the ovn-controller this causes the
neutron-api to ignore any event a ovn-controller directly sends after
startup. In turn this causes us to miss the information that the agent
is synchronized, causing the agent to appear as down, until something
bumps the `nb_cfg` value globally.

Closes-Bug: #1997982

Change-Id: Icec8fee93e64b871999f38674e305238e9705fd4
(cherry picked from commit 4cc611d)
In Linuxbridge and OVS PortFixture, when port is created, in the fake
vm's namespace it needs to have correct mac address configured.
It seems that for some reason it's not properly configured sometimes and
that may cause failure of e.g. DHCP tests.
So this patch adds retries for 10 seconds to ensure that MAC address is
configured to the one which should be.

Closes-bug: #2000150
Change-Id: I8c6d226e626812c3ccf0a2681be68a5b080b3463
(cherry picked from commit 370d8bc)
@github-actions github-actions bot requested a review from a team as a code owner December 26, 2022 08:23
@github-actions github-actions bot added automated Automated action performed by GitHub Actions synchronisation labels Dec 26, 2022
mnasiadka
mnasiadka previously approved these changes Dec 28, 2022
@mnasiadka mnasiadka merged commit 0615e11 into stackhpc/yoga Dec 28, 2022
@mnasiadka mnasiadka deleted the upstream/yoga-2022-12-26 branch December 28, 2022 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated Automated action performed by GitHub Actions synchronisation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants