Skip to content

Validate and don't allow the api restoreVirtualMachine for cks clusters #12837

Description

@kiranchavala

problem

https://cloudstack.apache.org/api/apidocs-4.22/apis/restoreVirtualMachine.html

versions

ACS 4.22

The steps to reproduce the bug

  1. Launch a cks cluster with 2 worker node

  2. CKS cluster in running state

  3. Navigate to the instance > worker node > Restore virtual Machine > select a differnt template

Image Image
  1. CKS cluster goes into alert state

...

What to do about it?

Cloudstack should not allow a user to reinstall a vm which is part of a cks cluster.

A exception message should be thrown

Similar to the pr

#12800

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions