-
Notifications
You must be signed in to change notification settings - Fork 231
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
Can't use nodetool commands using the "run_erl" command after commit e5d458e #853
Comments
Workaround: set an overlay for copying start_clean.boot (/usr/lib/erlang/bin/start_clean.boot on my system) in {{output_dir}}/bin. |
Sorry I'm only seeing this now. The fix should be to have the script look for the boot file in the release directory. If that isn't possible for some reason (I haven't looked at the issue but I'd assume this would work fine) we can go back to copying that file to top level Also makes clear that the shelltests github workflow needs 19.3 added to the OTPs it runs against since those tests would have caught this issue. |
@loxybjorn can you give an example of what you are doing? I'm not sure how nodetool and run_erl can be used together? So now I'm confused as I went to dig into this. |
Probably he meant that nodetool is not able to communicate with nodes started via run_erl (it is the problem I found in #862) |
I'm using rebar3 to generate a release and the resulting "application" script has at least a bunch of options which calls nodetool with the "ping" argument. |
@beorn247 does |
Well since erl can't find the "start_clean" boot file anything generated from the "extended_bin" and which tries to start erl with the start_clean boot file fails. I'm pretty sure it's e5d458e which causes this issue. |
I think escripts (nodetool) should be using What version of Erlang are you using? |
OTP 19.3 |
Aaaah, it all makes sense now. And now I realize you put that in your original post! My bad. So yes, this is a change in OTP20 or 21. We have been moving to only supporting the versions of OTP that Ericsson supports, which at this point is only back to 22. There may still be a solution, but I'd rather not put |
Yes a solution using |
I don't know that you can set a boot script for |
Commit e5d458e stops relx from copying start_clean.boot to the top level bin directory and I (using OTP 19.3) can't get any nodetool commands via the "run_erl" command to work since escript can't find start_clean.boot.
Have I missed something or did the commit in question not consider older OTP releases?
The text was updated successfully, but these errors were encountered: