weizhouapache opened a new issue, #12895:
URL: https://github.com/apache/cloudstack/issues/12895

   ### problem
   
   As title.
   
   Steps to reproduce the issue:
   
   - Create a VM
   
   - Edit the VM and enable “Delete Protection”
   
   - Delete the VM, got an error as expected:
   - 
   <img width="723" height="243" alt="Image" 
src="https://github.com/user-attachments/assets/22e65cb3-d64b-427a-982c-4bbdb178bd1f";
 />
   
   - Disable the account → the VM is stopped, and Delete Protection remains 
enabled
   
   - Delete the account → the VM is expunged
   
   **Expected behavior: The VM should not be deleted when Delete Protection is 
enabled.
   
   The same issue also occurs when cleaning up a domain.**
   
   ### versions
   
   ACS 4.22
    (4.20.2 is also impacted)
   
   ### The steps to reproduce the bug
   
   1.
   2.
   3.
   ...
   
   
   ### What to do about it?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to