kiranchavala opened a new issue, #12840: URL: https://github.com/apache/cloudstack/issues/12840
### problem https://cloudstack.apache.org/api/apidocs-4.22/apis/createVMFromBackup.html ### versions ACS 4.22 ### The steps to reproduce the bug 1. Launch a cks cluster with 2 worker node with default system template 2. CKS cluster in running state 3. Navigate to the instance > worker node > Assign a backup offering to the worker node 4. Create a back up for the worker node 5. Try to create vm from backup https://cloudstack.apache.org/api/apidocs-4.22/apis/createVMFromBackup.html Error thrown by cloudstack saying that systemvm template cannot be used to launch a vm <img width="1623" height="849" alt="Image" src="https://github.com/user-attachments/assets/c958ea3c-53f7-440d-8580-f7f67e797eb1" /> 4. CKS cluster goes into alert state Second Scenario 1. Launch a cks cluster with 2 worker node with default system template 2. CKS cluster in running state 3. Launch a vm external vm with cks ubuntu template https://download.cloudstack.org/testing/custom_templates/ubuntu/22.04/ 4. Add the external node to the cks cluster 5. External node added successfully > Cks cluster in running state 6. Create a back up for the external worker node 7. Try to create vm from the external node backup https://cloudstack.apache.org/api/apidocs-4.22/apis/createVMFromBackup.html 8. Back up vm created since its a ubuntu template 9. Try to re add the external backup vm 10. CKS cluster struck in the importing state <img width="1569" height="326" alt="Image" src="https://github.com/user-attachments/assets/d2f21d02-e953-4a0d-a904-574034c4a837" /> <img width="1683" height="248" alt="Image" src="https://github.com/user-attachments/assets/d6f19498-c72e-413e-b629-034ecbcf93ac" /> ... ### What to do about it? Cloudstack should not allow to create vm from backup for vm's which are part of cks cluster https://cloudstack.apache.org/api/apidocs-4.22/apis/createVMFromBackup.html Currently creating a backup and restoring a back for cks node is working fine An exception message should be thrown Similar to the pr https://github.com/apache/cloudstack/pull/12800 -- 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]
