Skip to content

Easy map endpoint -> SN number #1006

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

Closed
carpawell opened this issue Mar 28, 2025 · 3 comments · Fixed by #1011
Closed

Easy map endpoint -> SN number #1006

carpawell opened this issue Mar 28, 2025 · 3 comments · Fixed by #1011
Labels
enhancement Improving existing functionality I3 Minimal impact S4 Routine U4 Nothing urgent

Comments

@carpawell
Copy link
Member

Is your feature request related to a problem? Please describe.

I feel like it used to be simple but currently, I can not find a way to figure out which exact node is localhost:35137. An endpoint isn't node's cofig value but is an internal thing. Also, there is no "env_details" file with endpoints and so on. Am I missing smth?

Describe the solution you'd like

Either put SN's enpoint to config file (preferable) or provide some "summary" file with env description.

Describe alternatives you've considered

-

Additional context

I looked at search allure report: #997 (comment)

@carpawell carpawell added feature Completely new functionality I2 Regular impact labels Mar 28, 2025
@roman-khimov roman-khimov added enhancement Improving existing functionality U4 Nothing urgent S4 Routine I3 Minimal impact and removed I2 Regular impact feature Completely new functionality labels Mar 28, 2025
@carpawell
Copy link
Member Author

carpawell commented Mar 28, 2025

Ok found neofs_env step -> Deploy -> Deploy SN -> ./neofs-cli --config /home/carpawell/NSPCC/git/neofs-testcases/test-run-2025-03-27-18-06-19-964110/env_files/neofs-env-2025-03-27-18-06-20/sn_1_kiijlcxwfk/sn_1_cli_config_ndoimyecit.yml control healthcheck --endpoint 'localhost:37819' and see that it is "sn_1" and its --endpoint is localhost:37819

There could be an easier way IMO.

@evgeniiz321
Copy link
Contributor

There is already such file:

Image

Is it enough?

@carpawell
Copy link
Member Author

carpawell commented Mar 30, 2025

So is it as a step's output only? I have found it, yes, but i think it used to be a file. Either in the project's root, or in downloaded UI files. Also, iiuc you mean to look at every SN nodes, while i think it was in a single file some time ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving existing functionality I3 Minimal impact S4 Routine U4 Nothing urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants