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

[BUG] ScaleIn Instance without specifying lifeCycleActions causing panic #8754

Closed
ian-hui opened this issue Jan 6, 2025 · 1 comment · Fixed by #8762
Closed

[BUG] ScaleIn Instance without specifying lifeCycleActions causing panic #8754

ian-hui opened this issue Jan 6, 2025 · 1 comment · Fixed by #8762
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@ian-hui
Copy link
Contributor

ian-hui commented Jan 6, 2025

Describe the Bug

Background:

  1. I used opsRequest to scale in a component by specifying an instance to offline using OnlineToOfflineInstance.
  2. I did not specify any lifecycle in the componentDefinition.

Problem:
A nil pointer panic occurred, causing Kubeblocks to enter a crashLoop.
image

the code which causing panic
image

Note: In the trace path, it appears that a lifecycle action was triggered by kbagent, but as illustrated above, I did not specify any lifecycle in the componentDefinition.

@ian-hui ian-hui added the kind/bug Something isn't working label Jan 6, 2025
@shanshanying shanshanying assigned leon-inf and unassigned shanshanying Jan 7, 2025
@shanshanying
Copy link
Contributor

@leon-inf PTAL

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

Successfully merging a pull request may close this issue.

4 participants