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

When updating enableMemoryOptimization from true to false, the spod pods will not restart automatically

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 4.14.0
    • None
    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When updating enableMemoryOptimization from true to false, the spod pods will not restart automatically

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

      4.14.0-0.nightly-2023-05-23-103225 + Security-profiles-operator.v0.7.1 

      How reproducible:

      Always

      Steps to Reproduce:

       

      1. Install Security Profiles Operator
      2. Patch to enable the enableMemoryOptimization:
      $ oc patch spod/spod  --type merge -p '{"spec":{"enableLogEnricher":true,"enableMemoryOptimization":true}}'
      securityprofilesoperatordaemon.security-profiles-operator.x-k8s.io/spod patched
      3. Wait until all spods are running, patch the enableMemoryOptimization to false:
      $ oc patch spod/spod  --type merge -p '{"spec":{"enableMemoryOptimization":false}}'
      securityprofilesoperatordaemon.security-profiles-operator.x-k8s.io/spod patched
      

      Actual results:

      The spod pods will not restart automatically.

      Expected results:

      The spod pods should restart automatically.

      Additional info:

       

              wenshen@redhat.com Vincent Shen
              xiyuan@redhat.com Xiaojie Yuan
              Xiaojie Yuan Xiaojie Yuan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: