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

RCA for auto namespace deletion which is affecting production release

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • None
    • 4.12
    • None
    • Critical
    • No
    • 3
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Issue: Multiple namespaces are got deleted automatically and this is the 4th occurrence, customer wants to find the RCA who is deleting this namespace. below are the namespaces which is got deleted mainly  
      
      "open-cluster-management-agent"
      "open-cluster-management-agent-addon"
      "openshift-local-storage"
      "openshift-nmstate"
      "openshift-sriov-network-operator"
      "openshift-storage"
      
       As per customer the events happened at 16th May 04:42:20
      
      Its happened multiple times and each time cu is reinstalling the cluster it seems
      
      
      - We do have auditlog from 2024-05-13T11:13 to 2024-05-16T04:43:32, if customer finding is true ( ie, namespace is got auto deleted at 16th May 04:42:20 ) then the event should be present in the available audit logs.
      - But the auditlog is only having delete/deletecollection[1] events with ".userAgent" kube-controller-manager that too only namespace open-cluster-management-agent,open-cluster-management-agent-addon.
      - The other concerned namespaces openshift-local-storage,openshift-nmstate,openshift-sriov-network-operator,openshift-storage not having any delete verbs either from kube-controller-manager.
      

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

      ACM 2.8.1
      MCE 2.3.1
      OCP 4.12

      How reproducible:

       N?A   

      Steps to Reproduce:

      N/A

      Actual results:

      No audit logs for delete events. (Only delete logs by namespace-controller)

      Expected results:

      Audit log  must capture the user/SA name who deleted those projects  

      Additional info:

          

              jchaloup@redhat.com Jan Chaloupka
              rhn-support-mdeore Mayur Deore
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: