-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add hosts command does not check if the ip/port is actually in use by nebula process #3529
Comments
You mean the added address is not sure whether it is the real address? |
I can't check this In fact, this is not a bug |
What' the result of |
Yes. In general, I can come up with 2 situations:
I'm not sure if this is a bug and I was curious if we can make the execution response more sensible. |
|
|
Update: |
add hosts + storage host and ip just regist the storage node |
why add hosts with a graphd ip/port it is unnecessary |
This is a misoperation made by users and it could cause problems that are hard to trace |
Case closed, it would be hard to prevent misusage |
Please check the FAQ documentation before raising an issue
Describe the bug (required)
Add hosts
command does not check if the ip/port is actually in use by nebula process.For example if I have the Nebula service listening on these ports
and execute
add hosts 127.0.0.1:29562
which adds the ip/port of graph service, the execution is succesful.Your Environments (required)
Neubla master branch
How To Reproduce(required)
Steps to reproduce the behavior:
add hosts 127.0.0.1:12334
(no process is using this port)Execution succeeded
Expected behavior
An error should be returned.
Additional context
The text was updated successfully, but these errors were encountered: