Skip to content

Calico fails on OpenShift 4.22 due to CNI version mismatch #4969

Description

@mgencur

OpenShift uses Multus CNI which has been bumped to use CNI 1.1.0 in cluster-network-operator PR. Multus has a strict version compatibility check in generator.go which requires the primary CNI delegate (Calico) to use at least CNI 0.4.0. The current version is hardcoded as 0.3.1 in node.go.

This results in the following error in kube-multus Pod:

[error] failed to create the configuration manager for the primary CNI plugin: 
failed to load the primary CNI configuration as a multus delegate with error 
'delegate cni version is 0.3.1 while top level cni version is 1.1.0'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions