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

[2170740] Deleting vm with --cascade=orphan is not working properly

XMLWordPrintable

    • Important
    • None

      Description of problem:
      By default, deleting a running vm results in the deletion of the vm and the associated vmi.
      When `--cascade=orphan` is used, it should result in the deletion of the vm, but the associated vmi should be left running.

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

      How reproducible:
      100%

      Steps to Reproduce:
      1. Create a vm and start it
      2. Delete the vm with `kubectl delete vm <vm_name> --cascade=orphan`
      3.

      Actual results:
      The vmi disappears

      Expected results:
      The vmi should not be deleted

      Additional info:

              ffossemo@redhat.com Federico Fossemo
              ffossemo@redhat.com Federico Fossemo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: