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

[RFE] Add an option to recreate volumes in quadlet

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.5
    • podman
    • No
    • Low
    • rhel-container-tools
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

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

      • Trying to create a podman pod(using quadlet) which has an attached volume. Please check the comments for the kube and yaml files
      • However, when there is any change to the volume specifications(for example "ro" changed to "rw"), the volumes are not modified when the service is restarted
      • Manually deleting and recreating the volume still works and it was communicated in the earlier JIRA that it is an expected behavior from podman
      • Customer is however using --replace option with quadlet and is expecting the volumes to be recreated. However, if this has been made purposely to retain the contents of volume, we are now looking for additional ways to recreate the volumes

      I can suggest two options but leaving it to you guys to decide 

      • Re create volumes when using --replace option
      • Or introduce a new flag to force replace everything included in the quadlet yaml definition

       

              yblum@redhat.com Ygal Blum
              rhn-support-vraghave Vignesh Raghavendran
              Container Runtime Eng Bot Container Runtime Eng Bot
              Container Runtime Bugs Bot Container Runtime Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: