-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Milestone
Description
ISSUE TYPE
- Improvement Request
COMPONENT NAME
CKS
CLOUDSTACK VERSION
4.14.0
CONFIGURATION
OS / ENVIRONMENT
N/A
SUMMARY
When additional VMs are added to the k8s cluster network, cluster deletion fails with a message, Unable to delete cluster network. k8s cluster remains in destroying state. It gets removed once non-cluster VMs are migrated from the cluster network. Instead of failing during deletion itself, service can intimate user before deletion that the network is being used by other VMs and they must be migrated before deleting.
STEPS TO REPRODUCE
1. Create a k8s cluster without passing an existing network.
2. Create and add a new VM to this network outside of CKS
3. Delete k8s cluster
EXPECTED RESULTS
Service should throw an error before deleting k8s cluster that cluster network is in use by VMs outside k8s cluster. So these VMs can be migrated.
ACTUAL RESULTS
Service tries to delete the k8s cluster. Node VMs are deleted. But cannot delete the network. Error is thrown at this time. Cluster shows up in destroying state until VMs are migrated from the network.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels