Bug 2181557 - SSH secrets attached to multiple VMs created via the UI are deleted if the original VM is deleted
Summary: SSH secrets attached to multiple VMs created via the UI are deleted if the or...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.14.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.14.0
Assignee: Phillip Bailey
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-24 14:09 UTC by Phillip Bailey
Modified: 2023-08-02 05:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-02 05:28:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Phillip Bailey 2023-03-24 14:09:23 UTC
Description of problem:

If an SSH secret that is attached to an existing VM is added to a new VM created using the catalog or InstanceType flows as an existing secret and the VM to which that secret was originally attached is deleted, the secret will be deleted and removed from the newly created VM.

How reproducible: 100%


Steps to Reproduce:
1. Create a VM via the catalog or InstanceTypes flows. Customize the VM in the process and add a new SSH secret
2. Create another VM via the catalog or InstanceTypes flow. Customize the VM in the process and add the secret from step 1 as an existing secret.
3. Delete the original VM.
4. Check the SSH secret on the VM created in step 2.

Actual results: 
There is no secret.


Expected results:
The secret still exists and is still attached to the VM.

Comment 1 Guohua Ouyang 2023-08-02 05:28:57 UTC
Close the issue as we use new mechanism for the secret used by VMs.


Note You need to log in before you can comment on or make changes to this bug.