Skip to content
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

Metrics scraping blocking HTTP heath check #172

Open
kvaps opened this issue Aug 17, 2020 · 3 comments
Open

Metrics scraping blocking HTTP heath check #172

kvaps opened this issue Aug 17, 2020 · 3 comments

Comments

@kvaps
Copy link

kvaps commented Aug 17, 2020

Hi, when I enable /metrics scraping then /healh is stopping working on plain listener, eg.:

# curl 'http://localhost:3370/health'
<stuck>
# curl 'http://localhost:3370/metrics'
<stuck>
# curl --cacert /tls/ca.crt --cert /tls/tls.crt --key /tls/tls.key 'https://localhost:3371/health';
<ok>

and after a while:

# curl --cacert /tls/ca.crt --cert /tls/tls.crt --key /tls/tls.key 'https://localhost:3371/health'; echo
Services not running: NetComService
# curl 'http://localhost:3370/health'; echo
Services not running: NetComService

but linstor is still working:

# linstor c v
linstor controller 1.8.0; GIT-hash: e56b6c2a80b6d000921a998e3ba4cd1102fbdd39
@kvaps kvaps changed the title Metrics scraping blocks HTTP heath check Metrics scraping blocking HTTP heath check Aug 17, 2020
@rp-
Copy link
Contributor

rp- commented Aug 18, 2020

so the first /health is already stuck?
is there high load on linstor? any other action at that time?

@kvaps
Copy link
Author

kvaps commented Aug 18, 2020

No other load, I just enabled /metrics scraping by three vmagents each 10 seconds, I'll try to reduce this number.

@kvaps
Copy link
Author

kvaps commented Aug 18, 2020

And now all the nodes become offline:

╭───────────────────────────────────────────────────────╮
┊ Node  ┊ NodeType  ┊ Addresses               ┊ State   ┊
╞═══════════════════════════════════════════════════════╡
┊ m1c4  ┊ SATELLITE ┊ 10.28.36.164:3367 (SSL) ┊ OFFLINE ┊
┊ m1c5  ┊ SATELLITE ┊ 10.28.36.165:3367 (SSL) ┊ OFFLINE ┊
┊ m1c6  ┊ SATELLITE ┊ 10.28.36.166:3367 (SSL) ┊ OFFLINE ┊
┊ m1c7  ┊ SATELLITE ┊ 10.28.36.167:3367 (SSL) ┊ OFFLINE ┊
┊ m1c8  ┊ SATELLITE ┊ 10.28.36.168:3367 (SSL) ┊ OFFLINE ┊
┊ m1c9  ┊ SATELLITE ┊ 10.28.36.169:3367 (SSL) ┊ OFFLINE ┊
┊ m1c10 ┊ SATELLITE ┊ 10.28.36.170:3367 (SSL) ┊ OFFLINE ┊
┊ m1c12 ┊ SATELLITE ┊ 10.28.36.172:3367 (SSL) ┊ OFFLINE ┊
┊ pve1  ┊ SATELLITE ┊ 10.28.36.159:3367 (SSL) ┊ OFFLINE ┊
┊ pve2  ┊ SATELLITE ┊ 10.28.36.160:3367 (SSL) ┊ OFFLINE ┊
┊ pve3  ┊ SATELLITE ┊ 10.28.36.161:3367 (SSL) ┊ OFFLINE ┊
╰───────────────────────────────────────────────────────╯

controller.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants