Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-6917

MultinetworkPolicy: unknown service runtime.v1alpha2.RuntimeService

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.13
    • Networking / multus
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Bug Fix
    • Done

      Description of problem:

      During end2end test (see report [1]) multus-networkpolicy pods don't translate MultiNetworkPolicies to IPTables. Logs contains many entries like:
      
      E0131 00:13:56.492610       1 pod.go:348] failed to get pod(openshift-monitoring/prometheus-adapter-7b6bb56874-k52ht) network namespace: cannot get containerStatus: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService
      
      
       

      Version-Release number of selected component (if applicable):

      4.13

      How reproducible:

      Some clusters have 100% chance to reproduce the issue, see additional info

      Steps to Reproduce:

      1. Enable MultiNetworkPolicy [2]
      2. deploy attached scenario [3]
      oc apply -f simple-v4-ingress.yml
      3. Find logs of any pod in multus-networkpolicy daemonset

      Actual results:

      No error like:
      failed to get pod(openshift-monitoring/prometheus-adapter-7b6bb56874-k52ht) network namespace: cannot get containerStatus: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService 

      Expected results:

      errors present

      Additional info:

      Clusters where this issue can be reproduced has CRI-O version `1.26.1-6.rhaos4.13.git159cc9c.el8`. On clusters with 1.25.1-2.rhaos4.12.gitafa0c57.el8 version the problem is not present.

       

      [1] https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_release/35816/rehearse-35816-periodic-ci-openshift-release-master-nightly-4.13-e2e-telco5g-cnftests/1620169162447917056/artifacts/e2e-telco5g-cnftests/telco5g-cnf-tests/artifacts/test_results.html

      [2] https://docs.openshift.com/container-platform/4.8/networking/multiple_networks/configuring-multi-network-policy.html#nw-multi-network-policy-enable_configuring-multi-network-policy  

      [3] simple-v4-ingress.yml

            apanatto@redhat.com Andrea Panattoni
            apanatto@redhat.com Andrea Panattoni
            Weibin Liang Weibin Liang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: