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

Example Java jmap and stack fails #1469

Closed
ThommyH opened this issue Jun 21, 2024 · 3 comments
Closed

Example Java jmap and stack fails #1469

ThommyH opened this issue Jun 21, 2024 · 3 comments

Comments

@ThommyH
Copy link

ThommyH commented Jun 21, 2024

Describe the bug
Running the example from https://docs.robusta.dev/master/tutorials/application-troubleshooting-java.html with a fresh installation doesnt work.

To Reproduce
Install robusta with helm connect tot slack. Follow https://docs.robusta.dev/master/tutorials/application-troubleshooting-java.html

kubectl apply -f https://raw.githubusercontent.com/robusta-dev/java_toolkit/416d62ba6a6c6cb2e5270c4cf793d340b708b9ea/java_test_pod/test_pod_config.yaml --namespace=test
robusta playbooks trigger java_process_inspector name=test-java-pod namespace=test

Click on jmap in slack.

Receiving error in slack:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/robusta_playbooks/java_pod_troubleshooting.py", line 127, in run_jdk_command_on_pid
    jdk_output = run_java_toolkit_command(jdk_cmd, pod, custom_annotations=params.custom_annotations)
TypeError: run_java_toolkit_command() missing 1 required positional argument: 'override_jtk_image'

Expected behavior
Should work

Copy link

Hi 👋, thanks for opening an issue! Please note, it may take some time for us to respond, but we'll get back to you as soon as we can!

  • 💬 Slack Community: Join Robusta team and other contributors on Slack here.
  • 📖 Docs: Find our documentation here.
  • 🎥 YouTube Channel: Watch our videos here.

@ThommyH
Copy link
Author

ThommyH commented Jun 25, 2024

resolved in 0.14.0-alpha-1

@ThommyH ThommyH closed this as completed Jun 25, 2024
@aantn
Copy link
Collaborator

aantn commented Jun 25, 2024

Wonderful, happy to hear it!

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