Skip to content
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

Fix gateway datapath disrupt on update #301

Commits on Jun 24, 2024

  1. Fix gateway datapath disrupt on update

    Reimplementing the vswitchd reload using separate start and stop scripts
    so that it can be executed partially between consecutives instances of
    the pod. To avoid disruptions, it runs ovs save-flows command on the
    stop-vswitchd script, saving the resulting backup on a mounted folder
    from the host and then loading that backup on the start script. For this
    to succeed, the script needs to set the flow-restore-wait flag from ovs
    to true while loading the flows.
    
    Note that ovs save-flows command needs to have ovsdb-server running, so
    a semaphore like mechanism was added to ensure the ovsdb-server
    container is never deleted before ovs-vswitchd.
    
    Closes-Issue: OSPRH-6326
    elvgarrui authored and ralonsoh committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    303cbcd View commit details
    Browse the repository at this point in the history