Skip to content

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

@kiranchavala

Description

@kiranchavala

problem

https://cloudstack.apache.org/api/apidocs-4.22/apis/recoverVirtualMachine.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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions