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 1.0.1 #2139

Merged
merged 9 commits into from
Apr 30, 2021
Merged

Release 1.0.1 #2139

merged 9 commits into from
Apr 30, 2021

Commits on Apr 29, 2021

  1. Fix typo in build_tag workflow (antrea-io#2071)

    When dispatching the build workflow to the
    vmware-tanzu/antrea-build-infra repository (to build the multi-arch
    Antrea docker image), the docker-tag parameter was wrong (empty string
    instead of the Github tag).
    antoninbas committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    cc634bb View commit details
    Browse the repository at this point in the history
  2. [Windows] Fix timeout value for EnableHostInterface (antrea-io#2081)

    The second parameter to wait.PollImmediate (the timeout) is a
    time.Duration value. When using 5 as the parameter value, it is
    interpreted as 5ns, and not 5s. This means that EnableHostInterface
    basically never does any retry.
    antoninbas committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    a846acc View commit details
    Browse the repository at this point in the history
  3. Fix Antrea-native Policy with multiple AppliedTo (antrea-io#2084)

    A Policy rule may have multiple AppliedToGroups, not all of which select
    some workloads on the Nodes that the Policy applies to. It's by design
    that an AppliedToGroup won't be sent to a Node if it doesn't select any
    workload on it, so agents shouldn't require all AppliedToGroups to be
    received before it can realize a rule. What's more, it may happen that
    none of its AppliedToGroups is sent to a Node when the rule itself is
    being evaluated on the Node if it's sent to the Node because other rules
    of its parent Policy apply to it.
    
    This patch fixes the logic by making the controller install a rule when
    any of its AppliedToGroups can be populated and all of its AddressGroups
    can be populated, and uninstall it when none of its AppliedToGroups can
    be populated.
    tnqn authored and antoninbas committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    3a61e6a View commit details
    Browse the repository at this point in the history
  4. Fix incorrect delta counts in flow records (antrea-io#2089)

    IsPresent field of connection should be updated before having
    IsConnectionDying check otherwise IsConnectionDying will always
    return true, which makes existing connections cannot be updated and
    octetDeltaCount always return 0.
    
    This commit also changes the delta count of first record from zero
    to its total delta count, modifies throughput calculation of first
    record in logstash config and changes names of thoughput diagram
    from 'throughput' to 'cumulative bytes'.
    zyiou authored and antoninbas committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    8e3845e View commit details
    Browse the repository at this point in the history
  5. Fix NetworkPolicy Ingress rule stats miscalculation (antrea-io#2078)

    Packets to the tunnel or gateway port will go directly to
    ConntrackCommitTable and bypass the IngressMetricsTable, which causing these
    packets uncounted when applying by certain Networkpolicy with ingress rules.
    
    Fixed by forwarding these packets to IngressMetricsTable.
    ceclinux authored and antoninbas committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    5f0571e View commit details
    Browse the repository at this point in the history
  6. Extends the Endpoints support from 500 to 800, extra ones will be dro…

    …pped in AntreaProxy (antrea-io#2101)
    
    For antrea-io#2092
    
    Due to the message size and the implementation of Service in AntreaProxy,
    the maximum number of Endpoints that AntreaProxy can support now is 800.
    If the the number of Endpoints in given Service exceeds 800, the extra
    Endpoints will be dropped and a warning will be logged.
    
    In AntreaProxy, OVS group is the key part of Service implementation. For
    now, Antrea is using Openflow 1.3 to communicate with OVS. In previous
    design, every bucket of a OVS group has five actions. Two actions for loading
    Endpoint IP and port to registers and resubmit action must be preserved.The
    other two actions for loading values to register can be moved to flows (in
    current patch, they are moved to table 41), and then one message can hold
    more bucket items. As a result, the maximum Endpoint has changed from 511
    to 800. Unfortunately, to ensure AntreaProxy running correctly, the extra
    Endpoints will be dropped.
    hongliangl authored and antoninbas committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    88d506b View commit details
    Browse the repository at this point in the history
  7. Fix OVS "flow" replay for groups (antrea-io#2134)

    The Group objects were not reset correctly when attempting to replay
    them, leading to confusing error log messages and invalid datapath
    state. We fix the implementation of Reset() for groups and we ensure
    that the method is called during replay.
    
    We also update the TestOVSFlowReplay e2e test to make sure it is more
    comprehensive: instead of just checking Pod-to-Pod connectivity after a
    replay, we ensure that the number of OVS flows / groups is the same
    before and after a restart / replay. We confirmed that the updated test
    fails when the patch is not applied.
    
    Fixes antrea-io#2127
    antoninbas committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    647ddd4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    27de731 View commit details
    Browse the repository at this point in the history
  9. Set VERSION to v1.0.1

    antoninbas committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    3604831 View commit details
    Browse the repository at this point in the history