Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAPVCD does not reconcile VMs that have been manually powered off/deleted in VCD #303

Open
jaymzmac opened this issue Oct 18, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@jaymzmac
Copy link

jaymzmac commented Oct 18, 2022

Describe the bug

If a tenant accidently powers off / deletes a VM from Cloud Director, I would expect CAPVCD to try and reconcile this by powering on the VM if it still exists, or by creating a new VM if it has been deleted.

However, we observed that no attempt was made whatsoever to reconcile the VMs.

CAPVCD sees that the node is unavailable, but there are no logs in the controller or in Cloud Director indicating that it it trying to fix the state:

jamesm@LAPTOP-MK0G58QB:~/tce-config-files$ kubectl get machinedeployment demo-work-pool-1
NAME               CLUSTER   REPLICAS   READY   UPDATED   UNAVAILABLE   PHASE       AGE   VERSION
demo-work-pool-1   demo      2          1       2         1             ScalingUp   24h   v1.21.14+vmware.2

Reproduction steps

  1. Deploy a CAPVCD workload cluster.
  2. Power off one of the worker nodes in the cluster from the Cloud Director UI
  3. Observe that the worker node is left powered off until it is manually powered on again.

Expected behavior

  1. Deploy a CAPVCD workload cluster.
  2. Power off one of the worker nodes in the cluster from the Cloud Director UI
  3. CAPVCD detects that the node is powered off and powers it on without manual intervention. Same behaviour if the node is deleted manually.

Additional context

No response

@jaymzmac jaymzmac added the bug Something isn't working label Oct 18, 2022
@arunmk
Copy link
Collaborator

arunmk commented Nov 28, 2022

This issue will be fixed in the next release of CAPVCD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants