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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/1.6] CRI: Fix no CNI info for pod sandbox on restart #7848

Merged
merged 1 commit into from Dec 20, 2022

Commits on Dec 20, 2022

  1. CRI: Fix no CNI info for pod sandbox on restart

    Due to when we were updating the pod sandboxes underlying container
    object, the pointer to the sandbox would have the right info, but
    the on-disk representation of the data was behind. This would cause
    the data returned from loading any sandboxes after a restart to have
    no CNI result or IP information for the pod.
    
    This change does an additional update to the on-disk container info
    right after we invoke the CNI plugin so the metadata for the CNI result
    and other networking information is properly flushed to disk.
    
    Signed-off-by: Danny Canter <danny@dcantah.dev>
    (cherry picked from commit 3ee6dd5)
    Signed-off-by: Danny Canter <danny@dcantah.dev>
    dcantah committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    f16447e View commit details
    Browse the repository at this point in the history