forked from openstack/neutron
-
Notifications
You must be signed in to change notification settings - Fork 2
Synchronise yoga with upstream #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)
… into stable/yoga
…igured" into stable/yoga
mnasiadka
previously approved these changes
Dec 28, 2022
mnasiadka
approved these changes
Dec 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains a snapshot of yoga from upstream.