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

Pods assigned with Multus whereabouts IP get stuck in ContainerCreating state as the multus is unable to clear stale IPPool and overlappingranges

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 4.18.z
    • Networking / multus
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Pods assigned with Multus whereabouts IP get stuck in ContainerCreating state after node reboot.

      CmdAdd (shim): CNI request failed with status 400 -- code = Unknown desc = failed to create pod network sandbox k8s_test_containerl_test_ns_da4c363a-a39d-4780-b4a2-6df7d83e9b31_0(faa5e97c075900007547a0093e7db9f299e6aadb1b4f08da0274129b226d0780): error adding pod test_ns_test_containerl to CNI network "multus-cni-network": plugin type="multus-shim" name="multus-cni-network" failed (add): CmdAdd (shim): CNI request failed with status 400: 'ContainerID:"faa5e97c075900007547a0093e7db9f299e6aadb1b4f08da0274129b226d0780" Netns:"/var/run/netns/6196a7b9-fa21-424d-99f3-c2e8a171781f" IfName:"eth0" Args:"IgnoreUnknown=1;K8S_POD_NAMESPACE=test_ns;K8S_POD_NAME=test_containerl;K8S_POD_INFRA_CONTAINER_ID=faa5e97c075900007547a0093e7db9f299e6aadb1b4f08da0274129b226d0780;K8S_POD_UID=da4c363a-a39d-4780-b4a2-6df7d83e9b31" Path:"" ERRORED: error configuring pod [test_ns/test_containerl] networking: [test_ns/test_containerl/da4c363a-a39d-4780-b4a2-6df7d83e9b31:test-nad]: error adding container to network "test-nad": plugin type="macvlan" failed (add): error at storage engine: Could not allocate IP in range: ip: 192.168.0.1 / - 192.168.0.62 / range: 192.168.0.0/26 / excludeRanges: [192.168.0.1/32 192.168.0.2/32 192.168.0.3/32 192.168.0.4/32 192.168.0.5/32 192.168.0.11 192.168.0.12]

       

       

      Actual results:

      It can be seen that multus using whereabout is unable to clear stale entries in the IPPool and overlappingrangeipreservations

      Expected results:

      It should free have free the unused IPool and overlapping range. We need to clear them manually.

              pliurh Peng Liu
              rhn-support-nbhatt Neeraj Bhatt
              Weibin Liang Weibin Liang
              None
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: