Uploaded image for project: 'Openshift sandboxed containers'
  1. Openshift sandboxed containers
  2. KATA-537

IPv6 errors after exiting crictl

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 4.8
    • 4.7
    • crio
    • None
    • Kata Sprint #196, Kata Sprint #197
    • 0
    • 0

      1. cat pod-config.json
        {
        "metadata": { "name": "alpine-sandbox", "namespace": "default", "attempt": 1, "uid": "hdishd83djaidwnduwk28bcsb" }

        ,
        "log_directory": "/tmp",
        "linux": {
        }
        }

      1. cat container-pod.json
        {
        "metadata": { "name": "alpine" }

        ,
        "image":

        { "image": "alpine" }

        ,
        "command": [
        "sleep", "3600"
        ],
        "log_path":"alpine.0.log",
        "linux": {
        "security_context":

        Unknown macro: { "capabilities"}

        }
        }

      1. crictl runp --runtime=kata pod-config.json
        a38230720451583ade7c0b84fa7d08663e3417b52ad2ffadca9b553fb36d82d3
      1. crictl create a38230720451583ade7c0b84fa7d08663e3417b52ad2ffadca9b553fb36d82d3 container-pod.json pod-config.json
        30e947cd0a85eab9634cef2975acd18d3e98367eeac1826506cea9d6d0bb78
      1. crictl start 30e947cd0a85eab9634cef2975acd18d3e98367eeac1826506cea9d6d0bb78
      1. crictl stop 30e947cd0a85eab9634cef2975acd18d3e98367eeac1826506cea9d6d0bb78
      1. crictl rm 30e947cd0a85eab9634cef2975acd18d3e98367eeac1826506cea9d6d0bb78
      1. crictl stopp a382307204515
        FATA[0000] stopping the pod sandbox "a382307204515": rpc error: code = Unknown desc = failed to destroy network for pod sandbox k8s_ubi8-sandbox_default_hdishd83djaidwnduwk28bcsb_1(a38230720451583ade7c0b84fa7d08663e3417b52ad2ffadca9b553fb36d82d3): running [/usr/sbin/ip6tables -t nat -D POSTROUTING -s 1100:200::5/24 -j CNI-7860ea922d1a46225b9c13c1 -m comment --comment name: "crio" id: "a38230720451583ade7c0b84fa7d08663e3417b52ad2ffadca9b553fb36d82d3" --wait]: exit status 1: iptables: Bad rule (does a matching rule exist in that chain?).

      cri-o-1.20.0-0.rhaos4.7.git845747f.el8.40.x86_64
      cri-tools-1.20.0-1.el8.x86_64

            pehunt@redhat.com Peter Hunt
            qcai@redhat.com Qian Cai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: