Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-75702

[DOC] SWAP is disabled after node reboot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.21
    • CNV Documentation
    • None
    • Quality / Stability / Reliability
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None

      Description of problem:

      The MachineConfig example in the documentation [1] does not make swap persistent, after the node reboot it is not active.
      
      
      sh-5.1# swapon -s
      
      sh-5.1# free -h
                     total        used        free      shared  buff/cache   available
      Mem:            23Gi       7.1Gi        10Gi       111Mi       6.7Gi        16Gi
      Swap:             0B          0B          0B
       

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

      4.21, 4.20

      How reproducible:

      100%

      Steps to Reproduce:

      1. activate swap on the cluster
      2. reboot node
      3.
      

      Actual results:

      swap not active after reboot

      Expected results:

      swap active after reboot

      Additional info:

       

       

      [1] https://docs.redhat.com/en/documentation/openshift_container_platform/4.20/html-single/virtualization/index#virt-using-wasp-agent-to-configure-higher-vm-workload-density_virt-configuring-higher-vm-workload-density

              aspauldi Audrey Spaulding
              dshchedr@redhat.com Denys Shchedrivyi
              Denys Shchedrivyi Denys Shchedrivyi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: