Open kevin-cooper-1 opened 1 month ago
Very interesting! We will look more into this when I am back from PTO.
Thank you so much for raising this bug report, and I really appreciate all the detail you have included to help us figure this one out!
I may have a neat fix for this. Going to test it internally, then get a PR up and merged in if the fix succeeds. Thank you again for your detailed bug report!
Thank you!
Bug Report Template
Describe the bug
I believe there is an issue in lines 181-186 of
batch_session.py
. Currently, the code just appends all the hosts that return from the worker thread when attempting a RTR connection. However, in the logs provided below, RTR connections fail when the host isn't online. Since the connectionssucceed
and connection details aren't return, it isn't possible to verify whether follow up commands are actually capable of being run.To Reproduce
Attempt to initiate an RTR connection to an endpoint that the web UI claims is "offline"
Logs
Expected behavior
The RTR api should indicate/return the endpoints that were successfully connected to. Currently it claims that all three completed successfully, so attempts to execute RTR scripts/commands fail without any visible reason (when debug logging isn't on).
Environment
Operating System Version
Python Version
Python 3.10.6
Poetry Version
N/A
Python Package Versions
Additional context