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

[release-4.7] Bug 1929066: Fix port pools #455

Commits on Feb 16, 2021

  1. Fix number of ports requested on pool pre-population

    In order to reduce the load when requesting a number of ports
    fpr the pre-population the number of ports to be requested
    is divided by 2. However, that division can result in a
    float number which does not allow the pre-population to finalize.
    This commit fixes the issue by retriving the integer part of the
    division.
    
    Closes-bug: 1915214
    Change-Id: I72d5f4e606d51b2e24703031c3d7fecaa0153c23
    MaysaMacedo authored and openshift-cherrypick-robot committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    0c69b85 View commit details
    Browse the repository at this point in the history
  2. Speed pools population by relying on KuryrPort CR

    When populating the pool the Network and Subnet needs
    to be retrived for all the active Ports not in use,
    this operation is costly and takes a while to finishes
    causing the controller to be on CrashLoop. This commit
    fixes the issue by gathering the Network and Subnet info
    from a CR that might already exist with the needed Network.
    
    Change-Id: If47b38042c354f05894ab04e2bd47139b95c5f31
    MaysaMacedo authored and openshift-cherrypick-robot committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    15a3c84 View commit details
    Browse the repository at this point in the history