Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

ggr-ui keeps polling selenoid nodes which are removed from quota xml files #15

Closed
vgrigoruk opened this issue May 23, 2018 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@vgrigoruk
Copy link

  1. Remove 1 server address from quota.xml
  2. Reload ggr-ui config via docker kill -s HUP ggr-ui-container-id
  3. Load http://your-ggr-ui:8888/status
  • Expected: instant response with /status response aggregated from currently running selenoid instances.
  • Actual: ggr-ui responds after some time (few seconds), as it is trying to poll /status endpoint for non-existing selenoid instance.

GGR-UI logs:

2018/05/23 13:16:29 [STATUS] [Failed to fetch status from http://10.0.185.224:4444: Get http://10.0.185.224:4444/status: dial tcp 10.0.185.224:4444: i/o timeout] [10.0.160.134]

Relates to #5

@vgrigoruk
Copy link
Author

vgrigoruk commented May 23, 2018

it seems like logic for loading/merging quota xml should be different for ggr-ui, comparing to ggr (in case when servers are deleted from quota)

@vania-pooh vania-pooh added the bug Something isn't working label May 24, 2018
@vania-pooh vania-pooh added this to the 1.1.0 milestone May 24, 2018
aandryashin added a commit that referenced this issue May 24, 2018
Completely replacing hosts on quota reload (fixes #15)
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants