Skip to content

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Mar 6, 2023

This PR contains a snapshot of yoga from upstream.

cubeek and others added 11 commits February 22, 2023 15:08
The validation is intended mostly for tests and don't make much sense
when running the migration in production because likely there are
already running workloads. This patch changes the default to False so
migration validation must be explicitly asked for.

Change-Id: I5470f61a5e0b55bf682526208c3f57dc0ca6ffd5
Signed-off-by: Jakub Libosvar <libosvar@redhat.com>
(cherry picked from commit 0baf884)
osprofiler was integrated to Neutron a while ago[1] but the options
for this library have not been added to neutron.conf properly.

This ensures the options are rendered by oslo-config-generator.

[1] 9a43f58

Change-Id: Ice1b3f701ac244e17d855484263199f8a0b8310b
(cherry picked from commit 289ae97)
This patch uses existing DHCP option 255 (server-ip-address)
provided by Ironic and applies it as next-server for the purpose
of provisioning a baremetal server with OVN DHCP.

Related-Bug: #2007167
Change-Id: I59038639a8411c11c5fb8b366d9c858ef3db4f70
(cherry picked from commit dbfc18d)
If someone removes the port with device owner router_ha_interface,
then we can get unexpected router behavior like doubling
arp response packets. This patch prohibits removing such a port.

Closes-Bug: #2008270
Change-Id: Ief031801c1a3e3dd64e6cbf65e27f04f2bef9cba
(cherry picked from commit e68e416)
This patch adds an extra checking to ensure the
"reside-on-redirect-chassis" is set to true for the logical
router port associated to vlan provider network despite having
the "ovn_distributed_floating_ip" enabled or not. This is needed
as there is an OVN bug [1] making it not work as expected.

Note setting this to true has implications as the traffic will be
centrallized (but not tunneled) through the node with the gateway
port.

The expected behavior of this flag, once [1] is fixed is:
- reside-on-redirect-chassis flag to False: means traffic goes
  tunneled to the controller with the gateway port. Means it requires
  extra MTU reduction to work.
- reside-on-redirect-chassis flag to True: means traffic is not
  tunneled to the controller with the gateway port, but the traffic is
  centralized through the controller with the gateway port. Thus it
  does not require extra MTU reduction.
- reside-on-redirect-chassis to False, but with ovn-chassis-mac-mappings
  configured: means the traffic is fully distributed and it is not being
  tunneled, nor sent, through the controller with the gateway port. This
  is the preferred option as it does not require MTU reduction and it
  avoids the extra hop. However it is not working as expected, therefore
  the fallback to set reside-on-redirect-chassis to True.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2162756

Closes-Bug: #2003455
Change-Id: I662cb30c842e54bb9f7dabac5519283aa7c7f8d0
(cherry picked from commit acb809e)
This should not happen in the real world but its safer to check
if a port MAC column is not empty before trying to access it.

Trivial-Fix

Change-Id: Ie3c5151a8f7c6a240a5f3240d4e7fb58ea43e9c1
(cherry picked from commit 5100538)
@github-actions github-actions bot requested a review from a team as a code owner March 6, 2023 08:23
@github-actions github-actions bot added automated Automated action performed by GitHub Actions synchronisation labels Mar 6, 2023
@markgoddard markgoddard merged commit 0ee646a into stackhpc/yoga Mar 6, 2023
@markgoddard markgoddard deleted the upstream/yoga-2023-03-06 branch March 6, 2023 09:46
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.

7 participants