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

hubble-relay: fix panic during server shutdown #29705

Conversation

mhofstetter
Copy link
Member

Currently, stopping the Hubble Relay server panics when trying to stop the metrics server in case the metrics listen address isn't configured (and therefore the metrics server not set).

Therefore, this commit adds a check whether metrics server needs to be stopped.

Currently, stopping the Hubble Relay server panics when trying to
stop the metrics server in case the metrics listen address isn't
configured (and therefore the metrics server not set).

Therefore, this commit adds a check whether metrics server needs
to be stopped.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter added kind/bug This is a bug in the Cilium logic. release-note/misc This PR makes changes that have no direct user impact. sig/hubble Impacts hubble server or relay labels Dec 7, 2023
@mhofstetter mhofstetter requested a review from a team as a code owner December 7, 2023 15:44
@mhofstetter mhofstetter changed the title hubble-relay: optional shutdown of metrics server hubble-relay: fix panic during server shutdown Dec 7, 2023
@mhofstetter
Copy link
Member Author

/test

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Dec 8, 2023
@aanm aanm added this pull request to the merge queue Dec 8, 2023
Merged via the queue into cilium:main with commit 332bc00 Dec 8, 2023
62 checks passed
@mhofstetter mhofstetter deleted the pr/mhofstetter/hubble-relay-metricsserver-shutdown branch December 8, 2023 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This is a bug in the Cilium logic. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact. sig/hubble Impacts hubble server or relay
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants