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

CAPOCI pod crash on exception #275

Closed
joekr opened this issue May 31, 2023 · 0 comments · Fixed by #277
Closed

CAPOCI pod crash on exception #275

joekr opened this issue May 31, 2023 · 0 comments · Fixed by #277
Labels
bug Something isn't working

Comments

@joekr
Copy link
Member

joekr commented May 31, 2023

What happened:

When launching N number of machines one failed to transition to "running". During reconciliation the user gets the following error:

I0530 19:49:43.692219       1 controller.go:117] \"Observed a panic in reconciler: runtime error: index out of range [0] with length 0\" controller=\"ocimachine\" controllerGroup=\"infrastructure.cluster.x-k8s.io\" controllerKind=\"OCIMachine\" oCIMachine=\"oke/e22aa77b592240e4a2f6c237be1138c7-control-plane-685ld\" namespace=\"oke\" name=\"e22aa77b592240e4a2f6c237be1138c7-control-plane-685ld\" reconcileID=6da26e6a-9868-4a6c-bae1-65ac31401dff"
panic: runtime error: index out of range [0] with length 0 [recovered]"

What you expected to happen:
We would expect it not to fail. At the very least it should return a failure message like Instance status %q is unexpected

How to reproduce it (as minimally and precisely as possible):
Currently working on this.

Anything else we need to know?:

Environment:

  • CAPOCI version: 0.6.0
  • Cluster-API version (use clusterctl version): 1.2.7
  • Kubernetes version (use kubectl version):
  • Docker version (use docker info):
  • OS (e.g. from /etc/os-release):
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

Successfully merging a pull request may close this issue.

1 participant