-
Notifications
You must be signed in to change notification settings - Fork 37
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
Failed to trigger SwitchController DBus method when bluechi-agent tries reconnecting to bluechi-controller #966
Comments
This is similar with #950. However, it takes too long time than failure case of #950 issue until the first connection is failed. Also if i don't trigger SwitchController until the first connection is failed, after the first "Registering as ..." message appears in, triggering SwitchController is successful, but if i triggered SwitchController before the first connection is failed, after the first "Registering as ..." message appears in, triggering SwitchController is also failed with timeout. |
I tested this after applying PR - #961, but got the same result.
|
I was able to reproduce this issue and I think it is related to #950 - the TCP mechanism for retransmitting the TCP SYN packages keeps the "connection alive" so we have to forcefully terminate it in cases such as switching the controller. So it should be solved by #961, but the current solution there doesn't fix the problem yet. We are working on it - unfortunately, its a bit more tricky than initially anticipated. |
Describe the bug
I have an issue where calling SwitchController DBus method on bluechi-agent fails with a timeout when bluechi-agent tries reconnecting to bluechi-controller after bluechi-agent disconnects to bluechi-controller by network disconnection of node that bluechi-controller is running.
To Reproduce
There are two host 192.168.16.101, 192.168.16.102 that are running bluechi-controller.
There is a host 192.168.16.103 that is running bluechi-agent.
Three hosts are connected to the same local network.
Expected behavior
Under the above conditions, if we trigger SwitchController on host 192.168.16.103 to switch the controller to 192.168.16.102, the SwitchController trigger should succeed.
The text was updated successfully, but these errors were encountered: