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

FailedCreatePodSandBox when events are checked with

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Undefined Undefined
    • None
    • 4.17.0
    • None
    • No
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Event.locator is prefixed with namespace in newer releases. This incorrectly creates a situation the IFACE warning is counted, when it should not be.

      ./openshift-tests run-monitor --monitor legacy-networking-invariant -v=10 2>&1

      ```
      {
      "level": "Warning",
      "locator": "namespace/e2e-test-tuning-s25b4 node/mac-3733-worker-0 pod/testpod hmsg/8292965709",
      "message": "interesting/true reason/FailedCreatePodSandBox Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_testpod_e2e-test-tuning-s25b4_4c65b92d-a7fb-49d4-b444-63d434e36449_0(1964bfb45240512bb975628dea2eb7905aff9dde534ec813aff4f241c4e46d4e): error adding pod e2e-test-tuning-s25b4_testpod to CNI network \"multus-cni-network\": plugin type=\"multus-shim\" name=\"multus-cni-network\" failed (add): CmdAdd (shim): CNI request failed with status 400: '\u0026

      {ContainerID:1964bfb45240512bb975628dea2eb7905aff9dde534ec813aff4f241c4e46d4e Netns:/var/run/netns/6de32cbf-4f25-47e3-b430-20430e8830ea IfName:eth0 Args:IgnoreUnknown=1;K8S_POD_NAMESPACE=e2e-test-tuning-s25b4;K8S_POD_NAME=testpod;K8S_POD_INFRA_CONTAINER_ID=1964bfb45240512bb975628dea2eb7905aff9dde534ec813aff4f241c4e46d4e;K8S_POD_UID=4c65b92d-a7fb-49d4-b444-63d434e36449 Path: StdinData:[123 34 98 105 110 68 105 114 34 58 34 47 118 97 114 47 108 105 98 47 99 110 105 47 98 105 110 34 44 34 99 104 114 111 111 116 68 105 114 34 58 34 47 104 111 115 116 114 111 111 116 34 44 34 99 108 117 115 116 101 114 78 101 116 119 111 114 107 34 58 34 47 104 111 115 116 47 114 117 110 47 109 117 108 116 117 115 47 99 110 105 47 110 101 116 46 100 47 49 48 45 111 118 110 45 107 117 98 101 114 110 101 116 101 115 46 99 111 110 102 34 44 34 99 110 105 67 111 110 102 105 103 68 105 114 34 58 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 34 44 34 99 110 105 86 101 114 115 105 111 110 34 58 34 48 46 51 46 49 34 44 34 100 97 101 109 111 110 83 111 99 107 101 116 68 105 114 34 58 34 47 114 117 110 47 109 117 108 116 117 115 47 115 111 99 107 101 116 34 44 34 103 108 111 98 97 108 78 97 109 101 115 112 97 99 101 115 34 58 34 100 101 102 97 117 108 116 44 111 112 101 110 115 104 105 102 116 45 109 117 108 116 117 115 44 111 112 101 110 115 104 105 102 116 45 115 114 105 111 118 45 110 101 116 119 111 114 107 45 111 112 101 114 97 116 111 114 34 44 34 108 111 103 76 101 118 101 108 34 58 34 118 101 114 98 111 115 101 34 44 34 108 111 103 84 111 83 116 100 101 114 114 34 58 116 114 117 101 44 34 109 117 108 116 117 115 65 117 116 111 99 111 110 102 105 103 68 105 114 34 58 34 47 104 111 115 116 47 114 117 110 47 109 117 108 116 117 115 47 99 110 105 47 110 101 116 46 100 34 44 34 109 117 108 116 117 115 67 111 110 102 105 103 70 105 108 101 34 58 34 97 117 116 111 34 44 34 110 97 109 101 34 58 34 109 117 108 116 117 115 45 99 110 105 45 110 101 116 119 111 114 107 34 44 34 110 97 109 101 115 112 97 99 101 73 115 111 108 97 116 105 111 110 34 58 116 114 117 101 44 34 112 101 114 78 111 100 101 67 101 114 116 105 102 105 99 97 116 101 34 58 123 34 98 111 111 116 115 116 114 97 112 75 117 98 101 99 111 110 102 105 103 34 58 34 47 118 97 114 47 108 105 98 47 107 117 98 101 108 101 116 47 107 117 98 101 99 111 110 102 105 103 34 44 34 99 101 114 116 68 105 114 34 58 34 47 101 116 99 47 99 110 105 47 109 117 108 116 117 115 47 99 101 114 116 115 34 44 34 99 101 114 116 68 117 114 97 116 105 111 110 34 58 34 50 52 104 34 44 34 101 110 97 98 108 101 100 34 58 116 114 117 101 125 44 34 115 111 99 107 101 116 68 105 114 34 58 34 47 104 111 115 116 47 114 117 110 47 109 117 108 116 117 115 47 115 111 99 107 101 116 34 44 34 116 121 112 101 34 58 34 109 117 108 116 117 115 45 115 104 105 109 34 125]}

      ContainerID:\"1964bfb45240512bb975628dea2eb7905aff9dde534ec813aff4f241c4e46d4e\" Netns:\"/var/run/netns/6de32cbf-4f25-47e3-b430-20430e8830ea\" IfName:\"eth0\" Args:\"IgnoreUnknown=1;K8S_POD_NAMESPACE=e2e-test-tuning-s25b4;K8S_POD_NAME=testpod;K8S_POD_INFRA_CONTAINER_ID=1964bfb45240512bb975628dea2eb7905aff9dde534ec813aff4f241c4e46d4e;K8S_POD_UID=4c65b92d-a7fb-49d4-b444-63d434e36449\" Path:\"\" ERRORED: error configuring pod [e2e-test-tuning-s25b4/testpod] networking: [e2e-test-tuning-s25b4/testpod/4c65b92d-a7fb-49d4-b444-63d434e36449:tuningnadwithdisallowedsysctls]: error adding container to network \"tuningnadwithdisallowedsysctls\": plugin type=\"tuning\" failed (add): Sysctl net.ipv4.conf.IFNAME.arp_filter is not allowed. Only the following sysctls are allowed: [^net.ipv4.conf.IFNAME.accept_redirects$ ^net.ipv4.conf.IFNAME.accept_source_route$ ^net.ipv4.conf.IFNAME.arp_accept$ ^net.ipv4.conf.IFNAME.arp_notify$ ^net.ipv4.conf.IFNAME.disable_policy$ ^net.ipv4.conf.IFNAME.secure_redirects$ ^net.ipv4.conf.IFNAME.send_redirects$ ^net.ipv6.conf.IFNAME.accept_ra$ ^net.ipv6.conf.IFNAME.accept_redirects$ ^net.ipv6.conf.IFNAME.accept_source_route$ ^net.ipv6.conf.IFNAME.arp_accept$ ^net.ipv6.conf.IFNAME.arp_notify$ ^net.ipv6.neigh.IFNAME.base_reachable_time_ms$ ^net.ipv6.neigh.IFNAME.retrans_time_ms$]\n'",
      "tempSource": "KubeEvent",
      "display": true,
      "tempStructuredLocator": {
      "type": "Kind",
      "keys":

      { "hmsg": "8292965709", "namespace": "e2e-test-tuning-s25b4", "node": "mac-3733-worker-0", "pod": "testpod" }

      },
      "tempStructuredMessage": {
      "reason": "FailedCreatePodSandBox",
      "cause": "",
      "humanMessage": "Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_testpod_e2e-test-tuning-s25b4_4c65b92d-a7fb-49d4-b444-63d434e36449_0(1964bfb45240512bb975628dea2eb7905aff9dde534ec813aff4f241c4e46d4e): error adding pod e2e-test-tuning-s25b4_testpod to CNI network \"multus-cni-network\": plugin type=\"multus-shim\" name=\"multus-cni-network\" failed (add): CmdAdd (shim): CNI request failed with status 400: '\u0026

      {ContainerID:1964bfb45240512bb975628dea2eb7905aff9dde534ec813aff4f241c4e46d4e Netns:/var/run/netns/6de32cbf-4f25-47e3-b430-20430e8830ea IfName:eth0 Args:IgnoreUnknown=1;K8S_POD_NAMESPACE=e2e-test-tuning-s25b4;K8S_POD_NAME=testpod;K8S_POD_INFRA_CONTAINER_ID=1964bfb45240512bb975628dea2eb7905aff9dde534ec813aff4f241c4e46d4e;K8S_POD_UID=4c65b92d-a7fb-49d4-b444-63d434e36449 Path: StdinData:[123 34 98 105 110 68 105 114 34 58 34 47 118 97 114 47 108 105 98 47 99 110 105 47 98 105 110 34 44 34 99 104 114 111 111 116 68 105 114 34 58 34 47 104 111 115 116 114 111 111 116 34 44 34 99 108 117 115 116 101 114 78 101 116 119 111 114 107 34 58 34 47 104 111 115 116 47 114 117 110 47 109 117 108 116 117 115 47 99 110 105 47 110 101 116 46 100 47 49 48 45 111 118 110 45 107 117 98 101 114 110 101 116 101 115 46 99 111 110 102 34 44 34 99 110 105 67 111 110 102 105 103 68 105 114 34 58 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 34 44 34 99 110 105 86 101 114 115 105 111 110 34 58 34 48 46 51 46 49 34 44 34 100 97 101 109 111 110 83 111 99 107 101 116 68 105 114 34 58 34 47 114 117 110 47 109 117 108 116 117 115 47 115 111 99 107 101 116 34 44 34 103 108 111 98 97 108 78 97 109 101 115 112 97 99 101 115 34 58 34 100 101 102 97 117 108 116 44 111 112 101 110 115 104 105 102 116 45 109 117 108 116 117 115 44 111 112 101 110 115 104 105 102 116 45 115 114 105 111 118 45 110 101 116 119 111 114 107 45 111 112 101 114 97 116 111 114 34 44 34 108 111 103 76 101 118 101 108 34 58 34 118 101 114 98 111 115 101 34 44 34 108 111 103 84 111 83 116 100 101 114 114 34 58 116 114 117 101 44 34 109 117 108 116 117 115 65 117 116 111 99 111 110 102 105 103 68 105 114 34 58 34 47 104 111 115 116 47 114 117 110 47 109 117 108 116 117 115 47 99 110 105 47 110 101 116 46 100 34 44 34 109 117 108 116 117 115 67 111 110 102 105 103 70 105 108 101 34 58 34 97 117 116 111 34 44 34 110 97 109 101 34 58 34 109 117 108 116 117 115 45 99 110 105 45 110 101 116 119 111 114 107 34 44 34 110 97 109 101 115 112 97 99 101 73 115 111 108 97 116 105 111 110 34 58 116 114 117 101 44 34 112 101 114 78 111 100 101 67 101 114 116 105 102 105 99 97 116 101 34 58 123 34 98 111 111 116 115 116 114 97 112 75 117 98 101 99 111 110 102 105 103 34 58 34 47 118 97 114 47 108 105 98 47 107 117 98 101 108 101 116 47 107 117 98 101 99 111 110 102 105 103 34 44 34 99 101 114 116 68 105 114 34 58 34 47 101 116 99 47 99 110 105 47 109 117 108 116 117 115 47 99 101 114 116 115 34 44 34 99 101 114 116 68 117 114 97 116 105 111 110 34 58 34 50 52 104 34 44 34 101 110 97 98 108 101 100 34 58 116 114 117 101 125 44 34 115 111 99 107 101 116 68 105 114 34 58 34 47 104 111 115 116 47 114 117 110 47 109 117 108 116 117 115 47 115 111 99 107 101 116 34 44 34 116 121 112 101 34 58 34 109 117 108 116 117 115 45 115 104 105 109 34 125]}

      ContainerID:\"1964bfb45240512bb975628dea2eb7905aff9dde534ec813aff4f241c4e46d4e\" Netns:\"/var/run/netns/6de32cbf-4f25-47e3-b430-20430e8830ea\" IfName:\"eth0\" Args:\"IgnoreUnknown=1;K8S_POD_NAMESPACE=e2e-test-tuning-s25b4;K8S_POD_NAME=testpod;K8S_POD_INFRA_CONTAINER_ID=1964bfb45240512bb975628dea2eb7905aff9dde534ec813aff4f241c4e46d4e;K8S_POD_UID=4c65b92d-a7fb-49d4-b444-63d434e36449\" Path:\"\" ERRORED: error configuring pod [e2e-test-tuning-s25b4/testpod] networking: [e2e-test-tuning-s25b4/testpod/4c65b92d-a7fb-49d4-b444-63d434e36449:tuningnadwithdisallowedsysctls]: error adding container to network \"tuningnadwithdisallowedsysctls\": plugin type=\"tuning\" failed (add): Sysctl net.ipv4.conf.IFNAME.arp_filter is not allowed. Only the following sysctls are allowed: [^net.ipv4.conf.IFNAME.accept_redirects$ ^net.ipv4.conf.IFNAME.accept_source_route$ ^net.ipv4.conf.IFNAME.arp_accept$ ^net.ipv4.conf.IFNAME.arp_notify$ ^net.ipv4.conf.IFNAME.disable_policy$ ^net.ipv4.conf.IFNAME.secure_redirects$ ^net.ipv4.conf.IFNAME.send_redirects$ ^net.ipv6.conf.IFNAME.accept_ra$ ^net.ipv6.conf.IFNAME.accept_redirects$ ^net.ipv6.conf.IFNAME.accept_source_route$ ^net.ipv6.conf.IFNAME.arp_accept$ ^net.ipv6.conf.IFNAME.arp_notify$ ^net.ipv6.neigh.IFNAME.base_reachable_time_ms$ ^net.ipv6.neigh.IFNAME.retrans_time_ms$]\n'",
      "annotations":

      { "interesting": "true", "reason": "FailedCreatePodSandBox" }

      },
      "from": "2024-01-21T20:06:12Z",
      "to": "2024-01-21T20:06:13Z"
      },
      ```

      It's reproducible - it requires many runs. It's due to timing between tests.

              cbade_cs Chandra Sekhar
              pbastide_rh Paul Bastide
              Paul Bastide Paul Bastide
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: