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

[2150364] Deletion of VM deletes referenced secret

XMLWordPrintable

    • Important
    • None

      Description of problem: The Edit Authorized SSH Key adds an owner reference to an existing secret, and the existing secret is deleted durng the VM deletion.

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

      How reproducible:
      100%

      Steps to Reproduce:
      1. Quick create VirtualMachine but not start after creation
      2. Edit Authorized SSH Key in Scripts tab of the previously created VM
      3. Attach a previously created existing secret.
      4. Delete VM

      Actual results:
      Step 3 sets the owner reference of the secret to the VM, and step 4 deletes the secret.

      Expected results:
      Only secrets created by the Edit Authorized SSH Key dialog are deleted during VM deletion.

      Additional info:

              upalatuc@redhat.com Ugo Palatucci
              dholler@redhat.com Dominik Holler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: