Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-26633

[RFE] [podman5.1] Persist podman update changes

    • podman-5.1.0-1.el10
    • 1
    • rhel-sst-container-tools
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • RUN 252
    • None

      This is a follow up of https://issues.redhat.com/browse/RHEL-19138.

      When a container is updated to change memory, cpu, etc, the changes are reverted when the container or host is rebooted.

      Reproducer steps below,

       

      # podman run -itd --name memory-test ubi8
      81506ac128048e0c8323020e34d61a166f31320f3b918e81eb76f7a12fb8e3ca
      # podman stats memory-test
      ID            NAME         CPU %       MEM USAGE / LIMIT  MEM %       NET IO          BLOCK IO    PIDS        CPU TIME    AVG CPU %
      81506ac12804  memory-test  2.65%       462.8kB / 3.915GB  0.01%       1.056kB / 472B  0B / 0B     1           80.494ms    2.65%
       
      # podman update --memory 1G memory-test 
      81506ac128048e0c8323020e34d61a166f31320f3b918e81eb76f7a12fb8e3ca
      
      #  podman stats memory-test
      ID            NAME         CPU %       MEM USAGE / LIMIT  MEM %       NET IO          BLOCK IO    PIDS        CPU TIME    AVG CPU %
      81506ac12804  memory-test  0.52%       462.8kB / 1.074GB  0.04%       1.196kB / 612B  0B / 0B     1           80.494ms    0.52%
      
      # podman restart memory-test 
      memory-test
      
      # podman ps -a
      CONTAINER ID  IMAGE                                   COMMAND     CREATED         STATUS        PORTS       NAMES
      81506ac12804  registry.access.redhat.com/ubi8:latest  /bin/bash   28 seconds ago  Up 2 seconds              memory-test
      
      #  podman stats memory-test
      ID            NAME         CPU %       MEM USAGE / LIMIT  MEM %       NET IO          BLOCK IO    PIDS        CPU TIME    AVG CPU %
      81506ac12804  memory-test  1.41%       503.8kB / 3.915GB  0.01%       1.126kB / 542B  0B / 0B     1           76.127ms    1.41%
      

       Is there a way to make these changes persistent ?

              rhn-support-jnovy Jindrich Novy
              rhn-support-vraghave Vignesh Raghavendran
              Container Runtime Eng Bot Container Runtime Eng Bot
              Yiqiao Pu Yiqiao Pu
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: