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

Bug 1985957: Backport ovnkube-trace requires ip package to be installed to 4.8 #656

Commits on Aug 12, 2021

  1. Check /sys/class/net for ifindex when ip command is not available ins…

    …ide Pod
    
    Signed-off-by: Robert Bost <rbost@redhat.com>
    bostrt authored and creydr committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    60c98e1 View commit details
    Browse the repository at this point in the history
  2. ovnkube-trace: Refactor get linkIndex from /sys interface

    iproute is not guaranteed to be present in a pod. Simply always
    retrieve the required linkIndex from the standard /sys interfaces
    which will be present on all Linux pods. This is a refactor of an
    earlier commit.
    
    Also, for the ovnkube pod check, remove an else condition which was
    never hit because tryJSON was always set to true.
    
    Fixes #2307
    
    Signed-off-by: Andreas Karis <ak.karis@gmail.com>
    andreaskaris authored and creydr committed Aug 12, 2021
    Configuration menu
    Copy the full SHA
    a5273b5 View commit details
    Browse the repository at this point in the history