Uploaded image for project: 'Cloud Infrastructure Security & Compliance'
  1. Cloud Infrastructure Security & Compliance
  2. CMP-3645

SPO does not delete all directories when it is undeployed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • Low

      Description of problem:

          The SPO does not delete directories, when it is undeployed.

       

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

      1.3.1
      

      How reproducible:

      Undeploy SPO and then run "ls -al /var/lib/kubelet/seccomp/operator/" on a node and you will see that the namespaces directories which where created by SPO are not deleted.

      Steps to Reproduce:

          1. Undeploy SPO
          2. ls -al /var/lib/kubelet/seccomp/operator/    

      Actual results:

      [root@worker1 core]# ls -al /var/lib/kubelet/seccomp/operator/
      total 8
      drwxr--r--.  4 65535 65535   74 Nov 19 09:26 .
      drwxr-xr-x. 34 root  root  4096 Nov 14 09:05 ..
      -rw-r--r--.  1 root  root    33 Nov 19 09:25 kubelet-config.json
      drwxr-xr-x.  2 65535 65535    6 Nov 19 09:10 my-namespace
      drwxr-xr-x.  2 65535 65535    6 Nov 19 09:27 my-namespace2
      

      Expected results:

      [root@worker1 core]# ls -al /var/lib/kubelet/seccomp/operator/
      total 8
      drwxr--r--.  4 65535 65535   74 Nov 19 09:26 .
      drwxr-xr-x. 34 root  root  4096 Nov 14 09:05 ..
      -rw-r--r--.  1 root  root    33 Nov 19 09:25 kubelet-config.json
          

      Additional info:

      This problem was seen on a s390x system during SPO development for s390x.

              wenshen@redhat.com Vincent Shen
              ksmolin@redhat.com Klaus Smolin
              Xiaojie Yuan Xiaojie Yuan
              Maria Simon Marcos Maria Simon Marcos
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: