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

JVMChaos: injection return but java process is failed #4362

Open
GitHaoLi opened this issue Mar 7, 2024 · 2 comments
Open

JVMChaos: injection return but java process is failed #4362

GitHaoLi opened this issue Mar 7, 2024 · 2 comments

Comments

@GitHaoLi
Copy link

GitHaoLi commented Mar 7, 2024

What version of Kubernetes are you using?
v1.24

What version of Chaos Mesh are you using?
2.6.1

What did you do? / Minimal Reproducible Example
JVMChaos is Inject , but java process is failed

WX20240307-092951@2x

What did you expect to see?
JVM return

java process logs

WX20240307-092905@2x

chaos-daemon logs

WX20240306-175729@2x

@STRRL
Copy link
Member

STRRL commented Mar 19, 2024

image

I am not sure why Chaos Mesh use the port 0 here, it should be 9277 by default.

ref: https://chaos-mesh.org/docs/simulate-jvm-application-chaos/

The default value 9277 is set by mnutating webhook, but the webhook does work in your issue. please make sure the webhook part is working properly.

const DefaultJVMAgentPort int32 = 9277

@GitHaoLi
Copy link
Author

@STRRL
Yes I delete webhook , but I will try set port 9091 for jvm chaos

controller error log is :
WX20240320-111858@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants