-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
problem
https://cloudstack.apache.org/api/apidocs-4.22/apis/createVMFromBackup.html
versions
ACS 4.22
The steps to reproduce the bug
-
Launch a cks cluster with 2 worker node with default system template
-
CKS cluster in running state
-
Navigate to the instance > worker node > Assign a backup offering to the worker node
-
Create a back up for the worker node
-
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
- CKS cluster goes into alert state
Second Scenario
-
Launch a cks cluster with 2 worker node with default system template
-
CKS cluster in running state
-
Launch a vm external vm with cks ubuntu template
https://download.cloudstack.org/testing/custom_templates/ubuntu/22.04/
-
Add the external node to the cks cluster
-
External node added successfully > Cks cluster in running state
-
Create a back up for the external worker node
-
Try to create vm from the external node backup
https://cloudstack.apache.org/api/apidocs-4.22/apis/createVMFromBackup.html
-
Back up vm created since its a ubuntu template
-
Try to re add the external backup vm
-
CKS cluster struck in the importing state
...
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
Or
Don't allow the addition of external vm to the cks cluster if the vm is created from a backup
Metadata
Metadata
Assignees
Labels
Type
Projects
Status