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

Add virtctl vmexport flag "--delete-vme" to the user guide

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Storage Platform
    • None
    • Quality / Stability / Reliability
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • CNV Storage 273, CNV Storage 274, CNV Storage 275
    • None

      The enhancement that was tracked in this card: https://issues.redhat.com/browse/CNV-37843

      Introduced a new flag for virtctl vmexport: "--delete-vme" 

      From rh-ee-alromero's fix PR description: 

      Before this PR:

      The virtctl vmexport download command always deleted the vmexport resources after exiting. This behavior wasn't ideal since we could be potentially deleting resources created in advance. This behavior could be improved.

      After this PR:

      Now the command will delete vmexport resources by default when the download command creates them itself. However, the resources will be retained if they were created in advance.

      A new, -delete-vme flag has been included to allow deleting the vmexport everytime the download exits. -keep-vme does the opposite, so we can retain the vmexport resource even when the command creates it.

      Fixes # #11080

              rh-ee-alromero Alvaro Romero
              jpeimer@redhat.com Jenia Peimer
              Jose Manuel Castano Jose Manuel Castano
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: